Salmhysio alarm hysteresis, Salmdlyio alarm delay time, Stagio tag – Yokogawa Touch Screen GP20 User Manual
Page 30: Scolorio channel color

2-16
IM 04L51B01-17EN
p7 Output (Off)
Output Alarms
Syntax SAlarmIO,p1,p2,p3,p4,p5,p6,p7,p8
p1 Channel number
p2 Alarm number (1 to 4)
p3 Alarm on or off (On)
P4 Alarm type (H, L, DH, DL, RH, RL, TH, TL)
p5 Value
p6 Detection (Off, On)
p7 Output
DO
Output to a relay (DO
channel)
SW
Output to an internal switch
p8 Number
If p7=DO
R e l a y ( D O c h a n n e l )
number
If p7=SW
Internal switch number
(001 to 100)
Query
SAlarmIO[,p1[,p2]]?
Example Set a high limit alarm (H) on alarm number 2 of
channel 0001. Set the alarm value to 1.8000V.
Use the alarm detection function. When an
alarm occurs, output to the relay (DO channel)
at number 0205.
SAlarmIO,0001,2,On,H,18000,On,DO,
0205
Description
• You cannot set this on a “Skip” channel.
• If p3=Off, you cannot set p4 or subsequent
parameters.
• If p7=Off, you cannot set p8.
• For the alarm values of p5, use the values in the
following table.
Channel
Type
Input
Type
Calculation
Type
Alarm Type
H, L,
TH, TL
RH, RL DH, DL
AI channel
Volt,
GS,
TC,
RTD
Off
(1)
(3)
Delta
(1)
(3)
(5)
Scale
(2)
Sqrt
(2)
(4)
DI
Off
0, 1
1
Delta
(1)
(3)
(5)
Scale
(2)
(4)
DI channel
DI
Same as the DI input of AI channels
(1)
Within the measurement range
(2)
–5% to 105% of the scale but within –999999 to
999999 excluding the decimal point
(3)
1 digit to (measurement upper limit – measurement
lower limit)
(4)
1 digit to (scale upper limit – scale lower limit) but
within 1 to 999999 excluding the decimal point
(5)
Within the difference measurement range
• You cannot set DO channels or internal switches
whose output type is set to Manual as output
destination numbers.
SAlmHysIO
Alarm Hysteresis
Sets the alarm hysteresis for AI and DI channels.
Syntax SAlmHysIO,p1,p2,p3
p1 Channel number
p2 Alarm number (1 to 4)
p3 Hysteresis
Alarm Type
Hysteresis Range
H, L, DH, DL 0.0% to 5.0% of the span
or scale width
Query
SAlmHysIO[,p1[,p2]]?
Example Set a 0.5% hysteresis on alarm 3 of channel
0002.
SAlmHysIO,0002,3,5
Description
• Hysteresis specified for delay high and low limit
alarms (TH and TL) and high and low limits on rate-of-
change alarms (RH and RL) do not apply.
SAlmDlyIO
Alarm Delay Time
Sets the alarm delay time for an AI or DI channel.
Syntax SAlmDlyIO,p1,p2,p3,p4
p1 Channel number
p2 Hour (0 to 24)
p3 Minute (0 to 59)
P4 Second (0 to 59)
Query
SAlmDlyIO[,p1]?
Example Set the channel 0001 alarm delay time to 2
minutes 30 seconds.
SAlmDlyIO,0001,0,2,30
Description
• Set the delay time so that it is an integer multiple of
the scan interval (
command).
STagIO
Tag
Sets a tag to an AI, DI, or DO channel.
Syntax STagIO,p1,p2,p3
p1 Channel number
p2 Tag (up to 32 characters, UTF-8)
p3 Tag number (up to 16 characters, ASCII)
Query
STagIO[,p1]?
Example Set the channel 0001 tag to “SYSTEM1” and
the tag number to “TI002.”
STagIO,0001,’SYSTEM1’,’TI002’
SColorIO
Channel Color
Sets the color an AI, DI, or DO channel.
Syntax SColorIO,p1,p2,p3,p4
p1 Channel number
p2 R value of RGB display colors (0 to 255,
see “Description.”)
p3 G value of RGB display colors (0 to 255,
see “Description.”)
P4 B value of RGB display colors (0 to 255,
see “Description.”)
Query
SColorIO[,p1]?
Example Set the channel 0001 display color to red.
SColorIO,0001,255,0,0
2.4 Setting Commands