![Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual Download Page 421](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f-fx5/melsec-iq-f-fx5_programming-manual_239114421.webp)
8 APPLICATION INSTRUCTION
8.6 Reading/writing Data Instructions
419
8
Writing data to the data memory
SP.DEVST
This instruction writes the specified number of points of data to 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.
*2 T, ST, C cannot be used.
Ladder diagram
Structured text
ENO:=SP_DEVST(EN,s1,s2,n,d);
FBD/LD
Operand
Description
Range
Data type
Data type (label)
(s1)
Write offset of device data storage file (specified in units
of 16-bit words)
0 to 63
32-bit unsigned binary
ANY32
(s2)
Start device to which data is to be written
Word
ANY16
(n)
Number of write points
1 to 64
16-bit unsigned binary
ANY16
(d)
(d): Completion device, (d)+1: Error completion device
Bit
ANYBIT_ARRAY
(Number of elements: 2)
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
$
(s1)
(s2)
(n)
(d)
(s1)
(s2)
(n)
(d)
EN
ENO
d
s1
s2
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: ......