Reading data from the data memory
S(P).DEVLD
RnPCPU
RnCPU RnENCPU
(Process)
These instructions read data from the device data storage file in data memory.
Ladder
(s)
FBD/LD
EN
ENO
s
d
n
■Execution condition
Instruction
S.DEVLD
SP.DEVLD
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Read offset of device data storage file (specified in units of
16-bit words)
(d)
Device for storing the data that has been read
(n)
Number of read points
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.
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
(d)
(n)
7 APPLICATION INSTRUCTIONS
594
7.6 Reading/Writing Data Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
(n)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=S_DEVLD(EN,s,n,d);
ENO:=SP_DEVLD(EN,s,n,d);
Range
0 to 524287
1 to 65535
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
32-bit unsigned binary
ANY32
Word
ANY16
16-bit unsigned binary
ANY16
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
*1
Others
$