8.5 Writing Data to Standard ROM
8-33
8
QCPU
INS
T
R
UCTIONS
SP
_DEVS
T
SP_DEVST
8.5
Writing Data to Standard ROM
SP_DEVST
*1 :Local devices and file registers per program cannot be used as setting data.
F
unct
i
on
(1) Writes n points of device data specified for
to the write offset specified for
of the device
data storage file in the standard ROM.
is the offset from the start of device data storage file and specified by word offset (in unit
that increments by 1 for each 16 bits).
SP_DEVST
indicates the following instruction.
SP_DEVST
Input argument,
EN:
Executing condition
:Bit
s1:
Write offset of the device data storage file
(Specified in unit of 16 bits per one point)
:ANY32
s2:
Start number of the device to be written to the standard ROM :ANY16
n:
Number of device points to be written
:ANY16
Output argument,
ENO:
Execution result
:Bit
d:
Array to be turned ON at the execution completion
• d[0]: Completion
• d[1]: Error completion
:Array of bit (0..1)
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K,H
Others
Bit
Word
Bit
Word
−
−
−
−
−
−
−
n:
−
−
−
U
*1
−
U
*1
−
−
−
U
n
i
versa
l
UD
Hi
g
h
Performance
Structured ladder
SP_DEVST
EN
EN
O
s1
d
n
s2
ST
SP_DEVST
(EN, s1, s2, n, d);
EN
O
:=
s1
s2
d
s2
s1
s1
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......