9-6
S(P).TO
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 (n4) is outside the specified range of the setting data.
• When the head of the CPU shared memory address (n2) of the write destination host
CPU exceeds the CPU shared memory address range
• When the CPU shared memory address (n2) + the number of write points (n4) of the write
destination host CPU exceeds the CPU shared memory address range
• When the head number of the devices (n3) where the data to be written is stored + the
number of write points (n4) exceeds the device range
(2) When the host CPU operation information area, system area or host CPU refresh area is
specified to the CPU shared memory address (n2) of the write destination
(High Performance model QCPU, Process CPU) (Error code: 4101)
(Basic model QCPU, Universal model QCPU) (Error code: 4111)
(3) When the head I/O number (n1) of the host CPU is other than that of the host CPU
(High Performance model QCPU, Process CPU) (Error code: 2107)
(Basic model QCPU, Universal model QCPU) (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)
(5) When the head I/O number (n1) of the host CPU is other than 3E0
H/3E1H/3E2H/3E3H
(Error code: 4100)
(6) When the specified instruction is improper (Error code: 4002)
(7) When the specified number of devices is wrong (Error code: 4003)
(8) When the unusable device is specified (Error code: 4004)
Program Example
(1) The following program stores 10 points of data from D0 into address 800
H
of the CPU
shared memory of CPU No. 1 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
Instruction
Device
Step