Mitsubishi MELSEC Q Series Programming Manual page 888

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

Advertisement

TO(P), DTO(P)
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
• 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 that stores the data to be written (
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 write permitted area.
(2) When the head of CPU shared memory address (n2) of the write destination host CPU is an
invalid value.
(3) When the I/O number specified in (n1) is other than that of the host CPU (Exclude the case
when the multiple CPU high speed transmisson area of other CPU is used.)
(4) No CPU module is installed at the position specified by the head I/O number of the CPU
module.
Program Example
(1) The following program stores 10 points of data from D0 into address 10000 of the CPU
shared memory of CPU No. 1 when X0 is turned ON.
[Ladder Mode]
(2) The following program stores 20 points of data from D0 into address 10000 of the CPU
shared memory of CPU No. 4 when X0 is turned ON.
[Ladder Mode]
Remark
9-10
The n1 is specified by the first 3 digits of the hexadecimal 4 digits which represent
the head I/O number of the slot mounted to the CPU module.
Head I/O number
n1
[List Mode]
Step
Instruction
[List Mode]
Step
Instruction
CPU Slot
Slot 0
3E00
3E10
3E0
3E1
(Error code: 4101)
) + the number
S
(Error code: 4111)
(Error code: 4112)
(Error code: 2110)
Device
Device
Slot 1
Slot 2
3E20
3E30
3E2
3E3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents