App index, Sa sets an alarm – Yokogawa Value Series FX1000 User Manual
Page 97

3-15
IM 04L21B01-17EN
Commands
1
2
3
4
5
6
App
Index
SA
Sets an alarm
When Not Using Alarms
Syntax
SA p1,p2,p3<terminator>
p1 Measurement or computation channel
number
p2 Alarm number (1 to 4)
p3 Alarm on or off (OFF)
Query
SA[p1[,p2]]?
Example Turn off alarm number 1 of channel 010.
SA010,1,OFF
Description You can specify computation channels (including
in queries) on models with the /M1, /PM1, or
/PWR1 math option.
When Using Alarms
Syntax
SA p1,p2,p3,p4,p5,p6,p7,p8,p9
<terminator>
p1 Measurement or computation channel
number
p2 Alarm number (1 to 4)
p3 Alarm on or off (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
(This parameter is case-sensitive.)
p5 Alarm value (when using a channel that is
set to Log scale—/LG1 option—this is the
mantissa of the alarm value)
p6 Relay setting
ON
Relay setting on
OFF
Relay setting off
p7 Relay number when p6 is set to ON
A space when p6 is set to OFF
p8 Alarm detection (ON, OFF)
p9 Exponent of the alarm value (when using
a channel that is set to Log scale—/LG1
option)
Query
SA[p1[,p2]]?
Example Set a high limit alarm (alarm value = 1000) on
alarm number 1 of channel 002, and activate
relay I01 when an alarm occurs.
SA002,1,ON,H,1000,ON,I01
Description • For a channel whose input range is set to
SKIP (using the SR command), p3 cannot be
set to ON.
• For a channel whose computation channel
is set to OFF (using the SO command), p3
cannot be set to ON.
• All alarm settings on a channel are set to OFF
when:
• Its input type is changed (VOLT, TC, etc.).
• Its measuring range is changed.
• Its span value or scaling value is changed
(this includes changing the decimal place).
• The channel is a computation channel,
and the channel is turned on or off, or an
expression or a span value is changed.
• The h and l settings of p4 are valid only when
the measuring range is set to differential
computation between channels.
• If p4 is set to R or r, set the interval for the
high/low limit on the rate-of-change alarm
using the WO command.
• If p4 is set to T or t, set the alarm delay time
using the BD command.
• Set the p5 alarm to a value within the following
ranges based on the p4 alarm type or the
target channel.
• For upper, lower, delay upper and delay
lower alarms
DC voltage, thermocouple, or RTD input:
A value within the measurable range
Contact input:
0 or 1
Scaling (1-5V, scaling, and square root):
–5 to 105% of the span (and between
–30000 and 30000)
• Difference high limit and difference low limit
alarms
A value within the measurable range
• High limit on rate-of-change and low limit on
rate-of-change alarms
A value that consists of at least one non-
zero digit. For example, 0.0001 for the 2 V
range.
The maximum value must be within the
measurable range (and between –30000
and 30000). For example, 3.0000 for the
2 V range.
For contact input, you can only specify “1.”
• Computation channels
–9999999 to 99999999 (excluding the
decimal point; set using an integer)
• When using a channel that is set to Log
scale (/LG1 option):
The alarm types that you can select from
are H (high limit alarm), L (low limit alarm),
T (delay high limit alarm), and t (delay
low limit alarm). Set the alarm value by
specifying the mantissa (p5) and exponent
(p9).
Set the mantissa of the alarm value (p5) to
a value between 100 and 999 (excluding
the decimal point; set using an integer).
“100” means “1.00.”
The alarm hysteresis is fixed to 0.
3.4 Setting Commands