G_OFFGAN
5.1
Analog Instruction
5.1.1
OFFGAN instruction
G(P)_OFFGAN
Structured ladder
G_OFFGAN
EN
ENO
Un*
s
Input argument
EN:
Un*:
s:
Output argument
ENO:
Setting
data
s
Function
This instruction converts the mode of analog modules. (normal mode to offset/gain setting mode,
offset/gain setting mode to normal mode)
5.1 Analog Instruction
5-2
5.1.1 OFFGAN instruction
ST
ENO:=
G_OFFGAN
Executing condition
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/O number in
three digits)
Mode switching
0: To normal mode
1: To offset/gain setting mode
Execution result
Internal device
R, ZR
*1
Bit
Word
−
P: Executing condition
instructions.
G_OFFGAN
GP_OFFGAN
(EN, Un*, s);
:Bit
:ANY16
:ANY16
:Bit
J
\
U
\G
Bit
Word
*1: Local devices and file registers per program cannot be used as setting data.
G_OFFGAN
:
indicates any of the following
Zn
Constant
Others
−