Mitsubishi Electric MELSEC-Q/L Programming Manual page 862

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

Advertisement

• When 0 is specified in n3 as the number of data to be read, no processing is performed.
• The number of data to be read changes depending on the target CPU module.
CPU module
High Performance model QCPU
Process CPU
• An instruction which has been executed will result in non-processing if it fails to access the target module because the
module is faulty or busy in processing.
Read of data from the CPU shared memory can also be performed using the intelligent function module
devices.
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
The head of the CPU shared memory address (n2) which performs reading
is outside the CPU shared memory range.
The address of the CPU shared memory (n2) which performs reading + the
number of read points (n3) is outside the CPU shared memory range.
The read data storage device number (D) plus the number of read points
(n3) is outside the specified device range.
When the head of the CPU shared memory address (n2) which performs
reading is an invalid value. (4097 to 9999)
Program example
• The following program stores data of 10 points from address 800H of the CPU shared memory of CPU No. 2. into the area
starting from D0 when X0 is turned ON.
[Ladder Mode]
9 MULTIPLE CPU DEDICATED INSTRUCTIONS
860
9.2 Reading from the CPU Shared Memory of Another CPU
Number of read points
1 to 4096
Q00J/
QnH
Q00/
Q01
[List Mode]
Step
Instruction
QnPH
QnPRH
QnU
Device
LCPU

Advertisement

Table of Contents
loading

Table of Contents