210
Appendix 5.2 G(P).OFFGAN
(1) Setting data
(2) Functions
This instruction switches the operation mode of the A/D converter module.
• Normal mode → offset/gain setting mode (Offset/gain setting mode flag (XA) is ON)
• Offset/gain setting mode → normal mode (Offset/gain setting mode flag (XA) is OFF)
● When the mode is switched from the offset/gain setting mode to the normal mode, Module READY (X0) turns from OFF
to ON.
Note that if a program includes the initial settings to be executed at ON of Module READY (X0), this instruction performs
the initial setting process.
● When the mode is switched from the offset/gain setting mode to the normal mode, the A/D converter module operates
under the previous operating condition.
(3) Errors
The instruction has no errors.
Setting
data
Internal device
R, ZR
J\
U\G Zn
Constant
K, H, $
Others
Bit Word Bit Word
⎯ ⎯
Device Description Setting range Data type
Un Start I/O number of module
0 to FE
H
BIN 16 bits
Mode change
0: changed to the normal mode
1: changed to the offset/gain setting mode
When a value other than above is set, the mode is changed to the offset/gain setting
mode.
0, 1 BIN 16 bits
Command
G.OFFGAN
Command
Un
GP.OFFGAN
Un
S
G.OFFGAN
GP.OFFGAN
S
S
S