Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
7-436
SP.DEVST
7.18.14  
Writing Data to Standard ROM (SP.DEVST)
SP.DEVST
*1:Devices assigned as local devices can not be used.
Function
(1) Writes device data for the number of points specified at n2 of the device 
 to the write 
offset, which is specified for n1, of the device data storage file in the standard ROM.
n1 is the offset from the head of device data storage file and specified by word offset (in units 
of 16-bit words).
 
(2) Since the device data write position completion device (
+0) in the standard ROM 
automatically turns ON at execution of the END instruction, which detects the completion of 
this instruction, and turns OFF with the END instruction of next scan, it is used as an 
execution completion flag of this instruction.
(3) When this instruction is completed in error, the error completion device (
+1) turns ON/
OFF at the same timing with the completion device (
+0). This device is used as an error 
completion flag of this instruction.
n1: Write offset of the device data storage file (specified in units of 16-bit words) (BIN 32-bit)
: Head device number written to the standard ROM (device name)
n2: The number of write points (BIN 16-bit)
:
+0 : FCompletion device (bit)
 
 +1 : FError completion device (bit)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
K,H
Other
Bit
Word
Bit
Word
n1
––
––
––
––
––
––
––
n2
––
––
––
*1
––
*1
––
––
––
Universal
Basic
Process
High
performance
Redundant
SP.DEVST
SP.DEVST
n2
S
n1
D
Command
S
D
D
D
S
D
S
Number of 
n2 points
Head device 
number
Write offset n1
Standard ROM
Device data 
storage file
Write offset of device 
data stofage file
Write 
offset
+0
+1
+2
S
16-bit
D
D
D