![background image](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f-fx5/melsec-iq-f-fx5_programming-manual_239114419.webp)
8 APPLICATION INSTRUCTION
8.6 Reading/writing Data Instructions
417
8
Reading data from the data memory
S(P).DEVLD
Reads data from the device data storage file in data memory.
Setting data
■
Descriptions, ranges, and data types
*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
*1 S cannot be used.
Ladder diagram
Structured text
ENO:=S_DEVLD(EN,s,d,n);
ENO:=SP_DEVLD(EN,s,d,n);
FBD/LD
Operand
Description
Range
Data type
Data type (label)
(s)
Read offset of device data storage file (specified in units of
16-bit words)
0 to 63
32-bit unsigned binary
ANY32
(d)
Head device for storing the data that has been read
Word
ANY16
(n)
Number of read points
1 to 64
16-bit unsigned binary
ANY16
EN
Execution condition
Bit
BOOL
ENO
Execution result
Bit
BOOL
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
X, Y, M, L, SM,
F, B, SB, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K,H
E
$
(s)
(d)
(n)
(s)
(d)
(n)
EN
ENO
s
d
n
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......