2-39
IM 04L51B01-17EN
Commands and Responses
2
If p7=DO Relay (DO channel)
number
If p7=SW Internal switch number
(001 to 100)
Query
SAlarmCom[,p1[,p2]]?
Example Set a high limit alarm (H) on alarm number 2
of communication channel 025. Set the alarm
value to 85.0%. When an alarm occurs, output
to the relay (DO channel) at number 0105.
SAlarmCom,025,2,On,H,850,On,
DO,0105
Description
• You cannot set this on a “Off” communication channel.
• If p3=Off, you cannot set p4 or subsequent
parameters.
• If p7=Off, you cannot set p8.
• You cannot set DO channels or internal switches whose
output type is set to Manual as output destination
numbers.
SAlmHysCom
Alarm Hysteresis (/MC)
Sets the alarm hysteresis for a communication channel.
Syntax
SAlmHysCom,p1,p2,p3
p1
Channel number
p2
Alarm number (1 to 4)
p3
Hysteresis
Alarm Type Hysteresis Range
H, L 0 to 100000
Query
SAlmHysCom[,p1[,p2]]?
Example Set a hysteresis on alarm 3 of communication
channel 025.
SAlmHysCom,025,3,10
Description
• Hysteresis specified for delay high and low limit
alarms (TH and TL) does not apply.
SAlmDlyCom
Alarm Delay Time (/MC)
Sets the alarm delay time for a communication channel.
Syntax
SAlmDlyCom,p1,p2,p3,p4
p1
Channel number
p2
Hour (0 to 24)
p3
Minute (0 to 59)
P4
Second (0 to 59)
Query
SAlmDlyCom[,p1]?
Example Set the communication channel 025 alarm
delay time to 2 minutes 30 seconds.
SAlmDlyCom,025,0,2,30
Description
• Set the delay time so that it is an integer multiple of
the scan interval (SScan command).
STagCom
Tag (/MC)
Sets the tag of a communication channel.
Syntax
STagCom,p1,p2,p3
p1
Channel number
p2
Tag (up to 32 characters, UTF-8)
p3
Tag number (up to 16 characters, ASCII)
Query
STagCom[,p1]?
Example Set the communication channel 025 tag to
“SYSTEM1” and the tag number to “TI002.”
STagCom,025,’SYSTEM1’,’TI002’
SColorCom
Channel Color (/MC)
Sets the color of a communication channel.
Syntax
SColorCom,p1,p2,p3,p4
p1
Channel number
p2
R value of RGB display colors (0 to 255)
p3
G value of RGB display colors (0 to 255)
P4
B value of RGB display colors (0 to 255)
Query
SColorCom[,p1]?
Example Set the communication channel 025 display
color to red.
SColorCom,025,255,0,0
Description
• For details on RGB values, see “Description” of the
SColorIO command.
SZoneCom
Waveform Display Zone (/MC)
Sets the waveform display zone of a communication
channel.
Syntax
SZoneCom,p1,p2,p3
p1
Channel number
p2
Zone lower limit [%] (0 to 95)
p3
Zone upper limit [%] (5 to 100)
Query
SZoneCom[,p1]?
Example Set the waveform zone of communication
channel 025 waveform to 0% to 30%.
SZoneCom,025,0,30
SScaleCom
Scale Display (/MC) [GX/GP]
Sets the scale display of a communication channel.
Syntax
SScaleCom,p1,p2,p3
p1
Channel number
p2
Scale display position (Off, 1 to 10)
p3
Number of scale divisions (4 to 12, C10)
Query
SScaleCom[,p1]?
Example Display the communication channel 025 scale
at display position 1. Display four equally
spaced main scale marks.
SScaleCom,025,1,4
2.4 Setting Commands