Mitsubishi MELSEC Q Series Programming Manual page 895

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

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 QnUCPU User's Manual
(Function Explanation, Program Fundamentals) or Qn(H)/QnPH/QnPRHCPU
User's Manual (Function Explanation, Program Fundamentals).
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.
(1) When the specified data is outside the following range.
• The head address of the CPU shared memory (n2) from which read will be performed is
outside the CPU shared memory range.
• The address of the CPU shared memory (n2) from which data is read plus 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.
(2) The CPU module does not exist in the position specified by the CPU module head I/O
number.
(3) When the head of read CPU shared memory address (n2) is an invalid value.
(4097 to 9999)
Program Example
(1) The following program stores data of 10 points from address 800
memory of CPU No. 2. into the area starting from D0 when X0 is turned ON.
[Ladder Mode]
Remark
The n1 is specified by the first 3 digits of the hexadecimal 4digits which represent
the head I/O number of the slot mounted to the CPU module.
The QCPU provides automatic interlocks for the FROM and TO instructions.
CPU Slot
Head I/O number
3E00
n1
3E0
FROM(P),DFRO(P)
of the CPU shared
H
[List Mode]
Step
Instruction
Slot 0
Slot 1
3E10
3E20
3E1
3E2
9
7
7
7
(Error code: 4101)
7
7
7
(Error code: 2110)
7
(Error code: 4101)
Device
Slot 2
3E30
3E3
9-17

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents