4 setting commands, Setting commands -9, 12 app – Yokogawa Touch Screen GP20 User Manual
Page 23: Sscan scan interval, Sscangroup scan group, Smodeai ai module, Smodedi di module

2-9
IM 04L51B01-17EN
Commands and Responses
1
2
App
2.4 Setting Commands
SScan
Scan Interval
Sets the scan interval.
Syntax SScan,p1,p2
p1 Scan group (1)
p2 Scan interval (100ms, 200ms, 500ms, 1s,
2s, 5s)
Query
SScan[,p1]?
Example Set the scan interval to 1 second.
SScan,1,1s
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.
SScanGroup
Scan Group
Registers a measurement channel in scan group 1.
Syntax SScanGroup,p1,p2,p3
p1 Unit number (0)
p2 Module number (0 to 9)
p3 Scan group (1)
1
Scan group 1
Query
SScanGroup[,p1[,p2]]?
Example Set the module whose module number is 2 in
scan group 1.
SScanGroup,0,2,1
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.
SModeAI
AI Module
Sets the mode and A/D integration time of an AI module.
Syntax SModeAI,p1,p2,p3,p4
p1 Unit number (0)
p2 Module number (0 to 9)
p3 Mode
2CH
2 channel mode
10CH 10 channel mode
p4 AD integration time (Auto, 50Hz, 60Hz,
Common)
Query
SModeAI[,p1[,p2]]?
Example For the module whose module number is 2, set
the mode to 10CH and the AD integration time
to Auto.
SModeAI,0,2,10CH,Auto
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.
• Scan intervals shorter than 1 s cannot be specified
if an electromagnetic relay scanner type (Type suffix
code: -T1) analog input module is in use (set up).
• Fixed to 10ch mode if an electromagnetic relay
scanner type analog input module is in use.
• You can set the parameters in the following
combinations.
Scan
Interval
Mode
(p3)
Integration time (p4)
Auto
50Hz
60Hz
Common
100ms
2CH
Yes
Yes
Yes
No
10CH
Yes
No
No
No
200ms
2CH
Yes
Yes
Yes
No
10CH
Yes
No
No
No
500ms
—
Yes
Yes
Yes
No
1s
—
Yes
Yes
Yes
Yes
2s
—
Yes
Yes
Yes
Yes
5s
—
Yes
Yes
Yes
Yes
SModeDI
DI Module
Sets the mode of a DI module.
Syntax SModeDI,p1,p2,p3
p1 Unit number (0)
p2 Module number (0 to 9)
p3 Mode (Normal, Remote)
Normal DI input
Remote Remote control input
Query
SModeDI[,p1[,p2]]?
Example Set the module whose module number is 2 as
a remote control input module.
SModeDI,0,2,Remote
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.
• Only one module can be set to remote. If different
modules are set to remote numerous times, the last
module will be the remote module.
SScaleOver
Detection of Values That Exceed the
Scale
Sets how to detect measurement over-range.
Syntax SSclOver,p1
/P1 How to detect values that exceed the
scale
FREE Assume scale over-range when the
measurement range is exceeded.
OVER Assume scale over-range when
±105% of the scale is exceeded.
Query
SSclOver?
Example Assume scale over-range when the
measurement range is exceeded.
SSclOver,FREE