EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Writing Data to the Data Memory

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
596
7 APPLICATION INSTRUCTIONS
7.6 Reading/Writing Data Instructions
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.
Execution condition
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
Ladder ST
ENO:=SP_DEVST(EN,s1,s2,n,d);
FBD/LD
Instruction Execution condition
SP.DEVST
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 524287 32-bit unsigned binary ANY32
(s2) Start device to which data is to be written Word ANY16
*1
(n) Number of write points 1 to 65535 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,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s1)  
(s2)  
(n)  
(d)  
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s1) (s2) (n) (d)
EN ENO
ds1
s2
n

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals