9-10
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 (Error code: 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 that stores the data to be written ( ) + 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 write permitted area.
(2) When the head of CPU shared memory address (n2) of the write destination host CPU is an
invalid value. (Error code: 4111)
(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.)
(Error code: 4112)
(4) No CPU module is installed at the position specified by the head I/O number of the CPU
module. (Error code: 2110)
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] [List 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] [List Mode]
Remark
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.
CPU Slot Slot 0 Slot 1 Slot 2
Head I/O number 3E00 3E10 3E20 3E30
n1 3E0 3E1 3E2 3E3
S
Step
Instruction
Device
Step
Instruction
Device