2-15
IM 04L51B01-17EN
Commands and Responses
2
2
If the scan interval is 50 ms or less, the number of
installed modules and the number of channels must
be within their limits.
3
The shortest scan interval of the module must be
shorter than the scan interval of the scan group.
SModeAI
AI Module
Sets the mode and A/D integration time or noise rejection
mode of an AI module (excluding current input type AI
modules).
Syntax
SModeAI,p1,p2,p3,p4
p1
Unit number
p2
Module number
p3
Mode (see “Description.”)
p4
A/D integration time or noise rejection
mode
A/D integration time: Auto, 50Hz, 60Hz,
Common
Noise rejection mode (high-speed AI
type): Off, 50Hz, 60Hz, Common
Query
SModeAI[,p1[,p2]]?
Example For the module installed in the main unit,
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 electro-magnetic relay type (Type suffix code: -T1)
analog input module is in use (set up).
• Channel mode (p3) options vary depending on the
module.
Module type Mode (p3)
Universal type (-U2)
Current input type (-C1)
2CH, 10CH
Electromagnetic relay type
(-T1)
Low withstand voltage
relay type (-L1)
10CH
4-wire RTD type (-R1) 2CH, 6CH
High-speed AI type (-H0) 4CH
• Scan interval, p3, and p4 can be set in the following
combinations.
Universal, current input, electromagnetic relay, or low
withstand voltage relay type
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
* “No” for low withstand voltage relay type analog input
modules.
4-wire RTD type
Scan
interval
Mode
(p3)
Integration time (p4)
Auto 50Hz 60Hz Common
100ms 2CH Yes Yes Yes No
6CH Yes No No No
200ms 2CH Yes Yes Yes No
6CH Yes No No No
500ms — Yes Yes Yes No
1s — Yes Yes Yes Yes
2s — Yes Yes Yes Yes
5s — Yes Yes Yes Yes
High-speed AI type (noise rejection mode)
Scan interval Noise rejection mode (p4)
Auto 50Hz 60Hz Common
1ms, 2ms, 5ms, 10ms
Yes No No No
20ms Yes Yes Yes No
50ms Yes Yes Yes No
100ms No No No Yes
200ms No No No Yes
500ms No No No Yes
1s No No No Yes
2s No No No Yes
5s No No No Yes
SModeAICurrent
Current Input Type AI Module
Sets the mode and A/D integration time of an current input
type AI module.
Syntax
SModeDICurrent,p1,p2,p3,p4
p1
Unit number
p2
Module number
p3
Mode
2CH
2 channel mode
10CH
10 channel mode
p4
AD integration time (Auto, 50Hz, 60Hz,
Common)
Query
SModeAICurrent[,p1[,p2]]?
Example For the module installed in the main unit,
whose module number is 2, set the mode to
10CH and the AD integration time to Auto.
SModeAICurrent,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.
• There are limitations on the allowable combinations of
scan interval and p3 and p4. See the explanation for
the SModeAI command.
2.4 Setting Commands