Sa setting the alarm – Yokogawa Data Acquisition with PID Control CX2000 User Manual
Page 158

6-29
IM 04L31A01-17E
6
Command
Example
Set the computation channel to 31, the
computation to ON, the computing equation to
the sum of channel 01 and 02, span lower limit to
–10.0000, span upper limit to 16.0000, and the
unit to V.
SO31,ON,01+02,-100000,160000,4,V
Description • This command can be used on models with
the computation function option /M1.
• This command cannot be specified while
measurement/computation is in progress or
while a report is being created.
• For a description of the computing equations,
see the
user's manual IM 04L31A01-01E or
IM 04L31A01-03E
.
• For parameters p4 and p5, enter a value using
7 digits or less ,excluding the decimal, for
negative numbers and 8 digits or less for
positive numbers.
• For parameters p4, p5, and p6, either set all
three parameters or omit all three parameters.
SA
Setting the alarm
When not using the alarm
Syntax
SA p1,p2,p3
p1
Channel number (01 to 20, 31 to 60) (01 to
06, 31 to 42 on the CX1000)
p2
Alarm number (1 to 4)
p3
Turn ON/OFF alarm (OFF)
Query
SA[ p1[,p2]]?
Example
Turn Off alarm number 1 of channel 10.
SA10,1,OFF
Description Computation channels (31 to 60) can only be
specified on models with the computation
function option /M1.
When using the alarm
Syntax
SA p1,p2,p3,p4,p5,p6,p7,p8
p1: Channel number (01 to 20, 31 to 60) (01 to
06, 31 to 42 on the CX1000)
p2: Alarm number (1 to 4)
p3: Turn ON/OFF alarm (ON)
p4: Alarm type
H High limit alarm
L Low limit alarm
h Difference high limit alarm
l Difference low limit alarm
R High limit on rate-of-change alarm
r Low limit on rate-of-change alarm
T Delay high limit alarm
t Delay low limit alarm
Characters are case-sensitive.)
p5: Alarm value
p6: Relay setting
ON
Relay setting ON
OFF Relay setting OFF
When p6 is ON
p7: Relay number (I01 to I06, I11 to I16, I21 to
I26, I31 to I36, DO001 to DO006, DO101 to
DO106, DO201 to DO206, RO001 to
RO012, SW001 to SW036)
p8: Display and recording ON/OFF
When p6 is OFF
p7: Display and recording ON/OFF
Query
SA[ p1[,p2]]?
Example
Set an upper limit alarm (alarm value = 1000) in
alarm number 1 of channel 02, and activate relay
number 1 when an alarm occurs.
SA02,1,ON,H,1000,ON,I01
Description • When the input range setting (SR command)
is set to SKIP, p3 cannot be turned ON.
• When the computation channel setting (SO
command) is turned OFF, p3 cannot be
turned ON.
• The alarm settings are all turned OFF for the
following cases.
• When the input type is changed (VOLT, TC,
etc).
• When the measurement range is changed.
• When the span and scale values are
changed during scale display (including
changing of the decimal position).)
• When the computation channel is turned
ON/OFF or when the computing equation or
the span value is changed on the
computation channel.
• The h and l settings of p4 are valid only when
the measurement range is set to computation
between channels.
• If p4 is set to R or r, set the interval for the
high/low limit on the rate-of-change using the
XA command.
• If p4 is set to T or t, set the alarm delay time
for the delay high/low limit alarm using the BD
command.
• For the range of alarm values of p5, see the
table in section 6.3.
• Set the alarm value of a computation channel
within the range of the span.
• For the alarm value of p5, enter a value using
5 digits or less, excluding the decimal. For
computation channels, enter a value using 8
digits or less, excluding the decimal.
• An error occurs if a number of a relay that is
not installed is specified in p7. For the
procedures of setting the relay numbers, see
the
user's manual IM 04L31A01-01E or IM
04L31A01-03E
.
• Computation channels (31 to 60) can only be
specified on models with the computation
function option /M1.
6.5 Setting Commands (Measurement)