EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Writing Data to Standard ROM

Mitsubishi Electric MELSEC-Q/L
1084 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...
7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
801
7
Writing data to standard ROM
SP.DEVST
*1 Local devices cannot be used.
*2 The file register specified for each program cannot be used.
Processing details
Writes device data for the number of points specified at n2 of the device (S) 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).
When the SP.DEVST instruction is used, the device data storage file needs to be set. Refer to the User's Manual (Function
Description/Program Fundamentals) of the CPU module used.
Since the completion device ((D)+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.
When this instruction is completed in error, the error completion device ((D)+1) turns ON/OFF at the same timing with the
completion device ((D)+0).This device is used as an error completion flag of this instruction.
SM721 turns ON during execution of this instruction. When SM721 has already turned ON, this instruction cannot be
executed. (If an attempt is made, no processing is performed.)
When an error is detected at execution of this instruction, the completion device ((D)+0), error completion device ((D)+1)
and SM721 do not turn ON.
n1: Write offset of the device data storage file (specified in units of 16-bit words) (BIN 32-bit)
(S): Head device number written to the standard ROM (device name)
n2: The number of write points (BIN 16-bit)
(D): (D)+0: Completion device (bit)
(D)+1: Error completion device (bit)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
n1  
(S) 
n2  
(D) (Other
than T, ST,
C)
*1

*2

Universal
LCPU
Basic
High
performance
Process
Redundant
SP.DEVST
SP.DEVST n2Sn1 D
Command
Number of
n2 points
Head device
number S
Write offset n1
Standard ROM
Device data
storage file
Write offset of device
data storage file
Write
offset
16-bit
+0
+1
+2

Table of Contents

Related product manuals