Sa sets an alarm – Yokogawa Button Operated MV2000 User Manual
Page 86
4-12
4.4 Setting Commands (Setting)
IM MV1000-17E
SA
Sets an alarm
To turn an alarm off
Syntax
SA p1,p2,p3
p1 Measurement, computation, or external
input channel number
p2 Alarm number (1 to 4)
p3 Alarm ON/OFF state (OFF)
Query
SA[ p1[,p2]]?
Example Turn off alarm number 1 on channel 010.
SA010,1,OFF
Description You can specify a computation channel (or make
a query) on models with the /M1 math option.
You can specify an external input channel (or
make a query) on models with the /MC1 external
input channel option.
To turn an alarm on
Syntax
SA p1,p2,p3,p4,p5,p6,p7,p8
p1 Measurement, computation, or external
input channel number
p2 Alarm number (1 to 4)
p3 Alarm ON/OFF state (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
(The character is case-sensitive.)
p5 Alarm value
p6 Relay setting
ON
Relay ON
OFF
Relay OFF
p7 Relay number when p6 is ON
Empty when p6 is OFF
p8 Alarm detection ON/OFF
Query
SA[ p1[,p2]]?
Example Set alarm number 1 on channel 002 to high limit
alarm (alarm value = 1000), and activate relay
I01 when an alarm occurs.
SA002,1,ON,H,1000,ON,I01
Description • Parameter p3 cannot be set to ON if the input
range (SR command) is set to SKIP.
• Parameter p3 cannot be set to ON for a
computation channel if computation is OFF
(SO command).
• Parameter p3 cannot be set to ON for an
external input channel if the channel is OFF
(ER command).
• All alarm settings of a channel are turned OFF
if
• The input type is changed (VOLT, TC, etc).
• The input range is changed.
• The span and scaling values are changed
during scaling display (includes changing
the decimal place.)
• The computation channel is turned ON/
OFF or the calculation expression or the
span value is changed on a computation
channel.
• If you set p4 to h or l, they are valid only when
the measurement range is set to differential
computation between channels.
• If you set p4 to R or r, set the interval for the
high/low limit on the rate-of-change with the
XA command.
• If you set p4 to T or t, set the alarm delay with
the BD command.
• Set the p5 alarm value in the following range
according to the p4 alarm type or the target
channel.
• High limit, low limit, delay high limit, or
delay low limit alarm
• DC voltage, thermocouple, or RTD input
A value in the measurable range
• Contact input
0 or 1
• Scaling (1-5V, scaling, or square root)
–5 to 105% of span (but, in the range of
–30000 to 30000)
• Difference high limit or difference low limit
alarm
A value in the measurable range
• High limit on rate-of-change or low limit on
rate-of-change alarm
A value greater than equal to the value
with the least significant digit set to 1. For
example, the alarm value is 0.0001 for the
2V range.
The maximum alarm value that you can
specify is the maximum value in the
measurable range (but, in the range of
–30000 to 30000). For example, the it is
3.0000 for the 2V range. You can only set
the alarm value to 1 for a contact input.
• Computation channel
–9999999 to 99999999 (excluding the
decimal point. Set using an integer.)
• External input channel
–30000 to 30000
• An error will occur if p7 is set to a number of a
relay that is not installed.
• You can specify a computation channel (or
make a query) on models with the /M1 math
option.
• For computation channels and external input
channels, you can specify only the following
alarm types: H (high limit alarm), L (low limit
alarm), T (delay high limit alarm), and t (delay
low limit alarm).
• For computation channels, the alarm
hysteresis is fixed to zero. Use the XA
command to set the alarm hysteresis.