418
8 APPLICATION INSTRUCTION
8.6 Reading/writing Data Instructions
Processing details
• These instructions read device data by the number of points specified by (n) from the read offset specified by (s) in the
device data storage file in data memory, and store it in the device specified by (d). (s) indicates the offset from the start of
the device data storage file and can be specified by word offsets (incremented by 1 every 16 bits).
• Use the SP.DEVST instruction to write device data to the device data storage file. (
Operation error
Error code
(SD0/SD8067)
Description
2820H
• The value specified by (s), and (s)+(n) are out of range of the device data storage file.
• The device range specified by (d) exceeds the corresponding device range.
2822H
Device that cannot be specified is specified.
3405H
The value stored in a device specified by (n) is 0.
+0
+2
+1
(n)
(s)
(d)
Data memory
Device data
storage file
Read offset of the device data storage file
16 bits
Read offset
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: ......