Sl sets an event/action, So sets the computational expression, Sk sets the computational constants – Yokogawa DA100 User Manual
Page 57

IM DA100-11E
6-5
Commands
6
6.1 Setting Command
SL
Sets an event/action.
Mode
Operation mode
Release of event/action setting
Setting
SLp1, p2
p1 event/action box number (01 to 30)
p2 NONE
Event action setting by an alarm
Setting
SLp1, p2, p3, p4, p5
p1 Event action box number (01 to 30)
p2 Event (ALARM)
p3 Action mode (EDGE, LEVL)
p4 Action
ALARM_ACK
Acknowledgement of
alarm status.
ALARM_RST
Alarm reset
TIMER_RST
Timer reset
MATH
Computation start/stop/
reset/clear/group reset
REPORT
Report start/stop
FLAG
Set flag to 1
p5 Auxiliary action information (for
p3=EDGE)
•
For p4=MATH
START
Computation starts.
STOP
Computation stops.
RESET
Computed data are reset.
CLEAR
Computed data are cleared.
RST_G01 to RST_G07
Computed data in the specified
group are clear.
•
For p4=REPORT
START
Report starts.
STOP
Report stops.
•
For p4=FLAG
F01 to F16:Specified flag number is set to 1.
p5 Auxiliary action information (for
p3=EDGE)
•
For p4=FLAG
F01 to F16:Specified flag number is set to 1.
Event function setting by a remote, relay, timer, or
match time event
Setting
SLp1, p2, p3, p4, p5, p6
p1 Event action box number (01 to 30)
p2 Event (REMOTE, RELAY, TIMER,
MATCH_TIME)
p3 Auxiliary event information
•
For p2=REMOTE, contact number (1 to 12)
•
For p2=RELAY, the base unit + relay
number
•
For p2=TIMER, timer number (1 to 6)
•
For p2=MATCH_TIME, match time
number (1 to 3)
p4 Action mode (EDGE, LEVL)
p5 Action
ALARM_RST
Alarm reset
TIMER_RST
Timer reset
MATH
Computation start/stop/
reset/clear/group reset
REPORT
Report start/stop
FLAG
Set flag to 1
p6 Auxiliary action information
•
For p5=MATH
START
Computation starts.
STOP
Computation stops.
RESET
Computed data are reset.
CLEAR
Computed data are cleared.
RST_G01 to RST_G07
Computed data in the specified
group are clear.
•
For p5=REPORT
START
Report starts.
STOP
Report stops.
•
For p5=FLAG
F01 to F16:Specified flag number is set to 1.
Example
Set an event action to start coputation when an
alarm occurs in event action box 02.
SL02, ALARM, EDGE, MATH, START
Comments
• With an action as the start (event), another
action (action) can be executed automatically.
• Thirty types of event actions can be set.
• If the action mode is EDGE, the set action
continues even if the event action is over.
• If the action mode is set to LEVL , the set action
continues from the first event occurrence to the
next event occurrence.
• If the avtion mode is set to LEVL , the start/
stop/clear & start computation are disable.
• If the action is set to MATH, the edge and level
action cannot be set simultaneously.
• For details on an event/action, see the separate
manual (IMDP10001-61E).
SO
Sets the computational expression.
Mode
Operation mode
Setting
SOp1, p2, p3, p4, p5, p6
p1
Channel for computation:
Stand-alone model: A01 to A30
Expandable model: A01 to A60
p2
Computation on/off (on/off)
p3
Computational expression
(up to 40 characters)
p4
Span left value (-9999999 to 99999999)
p5
Span right value (-9999999 to 99999999)
p6
Position of decimal point for span (0 to 4)
Example
Set the sum of channel numbers 001 and 002 to
channel A01 for computation. Set -10.0000 to
15.0000 for the span.
SOA01, ON, 001+002, -100000, 150000, 4
Comments
• This command only works with the optional
computation function or if a pulse module is
installed.
• For details on operators, see the Appendix at
the end of this manual.
• If you wish to omit either p4, p5, or p6, omit
them all together.
• If pulse modules are installed and there is no
computation function, TLOG.PSOM will be the
only valid operator.
SK
Sets the computational constants.
Mode
Operation mode
Setting
SKp1, p2
p1
Computational constant number:
Stand-alone model : K01 to K30
Expandable model : K01 to K60
p2
Constants
Example
Set 300 to a computational constant K10.
SKK10, 300
Comments
• This command is effective only with the
optional computation functions.
• Constant setting ranges are -1.0000E35 to
-1.0000E-35, 0, 1.0000E-35 to 1.0000E35.