Справочник Пользователя для Mitsubishi Electronics MELSEC Q series MELSEC L series

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