Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5-28
5.1 Analog Instruction
5.1.3 OGSTOR instruction
G_OGSTOR
5.1.3 OGSTOR instruction
G_OGSTOR
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction restores the user range settings offset/gain values stored in the programmable
controller CPU to the analog modules.
G(P)_OGSTOR
P: Executing condition
:
indicates any of the following
instructions.
G_OGSTOR GP_OGSTOR
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:
Variable that stores control data :Array of ANY16 [0..35]
Output argument ENO:
Execution result :Bit
d:
Variable that turns ON upon completion of the instruction
d[1] also turns ON at the time of error completion.
:Array of bit [0..1]
Setting
data
*1
Internal device
R, ZR
J\
U\G
Zn
Constant
Others
Bit Word Bit Word

Structured ladder/FBD
ST
G_OGSTOR
EN ENO
d
Un*
s
G_OGSTOR
(EN, Un*, s, d);ENO:=
s
d