Mitsubishi Electric MELSEC-Q/L Programming Manual page 855

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

■DTO
• Writes device data of words (S) to (n32) to the CPU shared memory address specified by n2 of the host CPU module or
later address.
Host CPU
Device memory
S
n3 2
• When a constant is specified to (S), writes the same data (value specified to (S)) to the area of (n32) words from the
specified CPU shared memory.
Constant
S
5
(When "5" is designated
Writes the same
for
S
)
data to the area
of (n3 2) words
• No processing is performed when the number of write points is 0.
• The number of data that can be written varies depending on the target CPU module.
CPU module
Basic model QCPU
Universal model QCPU
Writing data to CPU shared memory can be performed using the intelligent function module device.
For intelligent function module device, refer to the User's Manual (Function Explanation, Program
Fundamentals) for the CPU module used.
Operation error
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
Error details
code
2110
No CPU module is installed at the position specified for the head I/O number
of the CPU module.
4101
When the number of write points (n3) is outside the specified range of the
setting data.
When the CPU shared memory address (n2) of the write destination host
CPU + the number of write points (n3) exceeds the CPU shared memory
range.
When the head number of the devices (S) where the data to be written is
stored + the number of write points (n3) exceeds the device range.
When the head of CPU shared memory address (n2) of the write destination
host CPU is outside the allowable range.
4111
When the head of CPU shared memory address (n2) of the write destination
host CPU is an invalid value.
4112
When the I/O number specified in (n1) is other than that of the host CPU
(Exclude the case of when the multiple CPU high speed transmission area of
other CPU is used.)
CPU shared memory
of host CPU (n1)
n2
Writes the
data of (n3 2)
words
CPU shared memory
of host CPU (n1)
n2
5
5
5
5
(n3 2)
words
Number of write points
1 to 160
1 to 7168
Q00J/
QnH
QnPH
Q00/
Q01
9 MULTIPLE CPU DEDICATED INSTRUCTIONS
9.1 Writing to the CPU Shared Memory of Host CPU
QnPRH
QnU
LCPU
853
9

Advertisement

Table of Contents
loading

Table of Contents