2.4 Setting Commands
SRangeCom
Measurement Range (/MC)
Sets the measurement range of a communication
channel.
Unused Channels
Syntax
SRangeCom,p1,p2
p1 Channel number
p2 Enable or disable (Off)
Used Channels
Syntax
SRangeCom,p1,p2,p3,p4,p5,p6
p1 Channel number
p2 Enable or disable (On)
p3 Decimal Place (0 to 5)
P4 Span lower limit (-9999999 to 99999999)
p5 Span upper limit (-9999999 to 99999999)
p6 Unit (up to 6 characters, UTF-8)
Query
SRangeCom[,p1]?
Example Measure 0.00 to 100.00% on communication
channel 025.
SRangeCom,025,On,2,0,10000,'%'
Description
•
You cannot use this command to configure settings
while recording is in progress.
•
You cannot use this command to configure settings
while computation is in progress.
•
If p2=Off, you cannot set p3 or subsequent
parameters.
•
You cannot set the span upper and lower limits to the
same value.
SValueCom
Preset Operation (/MC)
Sets the preset operation of a communication channel.
Syntax
SValueCom,p1,p2,p3
p1
Channel number
p2
Value at power-on (Preset, Last)
Preset value (–9.999999E+29 to –1E–30,
p3
0, 1E–30 to 9.999999E+29)
Query
SValueCom[,p1]?
Example At power-on, replace the communication
channel 025 value with the preset value of 0.5.
SValueCom,025,Preset,0.5
2-38
SWDCom
Watchdog Timer (/MC)
Sets the watchdog timer of a communication channel.
Channels That Do Not Use Watchdog Timers
Syntax
SWDCom,p1,p2
p1 Channel number
p2 Watchdog timer usage (Off)
Channels That Use Watchdog Timers
Syntax
SWDCom,p1,p2,p3,p4
p1 Channel number
p2 Watchdog timer usage (On)
p3 Watchdog timer (1 to 120) [s]
p4 Value at timer expired (Preset, Last)
Query
SWDCom[,p1]?
Example Set the watchdog timer of communication
channel 025 to 60 seconds. Replace the
communication channel 025 value with its
preset value at watchdog timer expiration.
SWDCom,025,On,60,Preset
Description
•
If p2=Off, you cannot set p3 or subsequent
parameters.
SAlarmCom
Alarm (/MC)
Sets the alarm of a communication channel.
No Alarm Setting
Syntax
SAlarmCom,p1,p2,p3
p1 Channel number
p2 Alarm number (1 to 4)
p3 Alarm on or off (Off)
Do Not Output Alarms
Syntax
SAlarmCom,p1,p2,p3,p4,p5,p6,p7
p1 Channel number
p2 Alarm number (1 to 4)
p3 Alarm on or off (On)
P4 Alarm type (H, L, TH, TL)
p5 Alarm value (within the span range)
p6 Detection (Off, On)
p7 Output (Off)
Output Alarms
Syntax
SAlarmCom,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, TH, TL)
p5 Alarm value (within the span range)
p6 Detection (Off, On)
p7 Output (Off)
DO
SW
p8 Number
Output to a relay (DO
channel)
Output to an internal
switch
IM 04L51B01-17EN