Reading The User Range Setting Values - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

21.2

Reading the User Range Setting Values

G(P).OGLOAD
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions read the offset/gain setting values of the user range settings of an analog module into the CPU module.
Ladder
(U)
(s)
(d)
FBD/LD
EN
ENO
U
d
s
■Execution condition
Instruction
G.OGLOAD
GP.OGLOAD
Setting data
■Description, range, data type
Operand
Description
(U)
Start I/O number (first three digits in four-digit hexadecimal
representation) of a module
(s)
Start device where the control data is stored
(d)
Device to be turned on one scan when instruction
processing completes.
If the instruction is completed with an error, (d)+1 is also
turned on.
EN
Execution condition
ENO
Execution result
*1 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
*2 When specifying setting data by using a label, use an array with two or more elements.
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(U)
(s)
*2
(d)
*1 FD cannot be used.
*2 FX and FY cannot be used.
*3 T, ST, C, and FD cannot be used.
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
*1
*3
ST
ENO:=G_OGLOAD(EN,U,s,d);
ENO:=GP_OGLOAD(EN,U,s,d);
Range
Data type
00H to FEH
• 16-bit unsigned
binary
• 16-bit signed binary
Predefined devices
Device name
Predefined devices
Bit
Bit
Bit
Double word Indirect
specification
Z
LT, LST,
LZ
LC
 
 
 
21 A/D CONVERSION INSTRUCTIONS
21.2 Reading the User Range Setting Values
21
Data type (label)
ANY16
*1
ANY16
*2
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL
Constant
Others
(U)
K, H
E
$
1727

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents