Mitsubishi MELSEC Q Series Programming Manual page 884

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

Advertisement

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
• 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)
(Basic model QCPU, Universal model QCPU)
(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)
(Basic model QCPU, Universal model QCPU)
(4) No CPU module is installed at the position specified by the head I/O number of the CPU
module.
(5) When the head I/O number (n1) of the host CPU is other than 3E0
(6) When the specified instruction is improper
(7) When the specified number of devices is wrong
(8) When the unusable device is specified
Program Example
(1) The following program stores 10 points of data from D0 into address 800
shared memory of CPU No. 1 when X0 is turned ON.
[Ladder Mode]
Remark
9-6
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
CPU Slot
Slot 0
3E00
3E10
3E0
3E1
(Error code: 4101)
(Error code: 4101)
(Error code: 4111)
(Error code: 2107)
(Error code: 4112)
(Error code: 2110)
/3E1
/3E2
/3E3
H
H
H
H
(Error code: 4100)
(Error code: 4002)
(Error code: 4003)
(Error code: 4004)
of the CPU
H
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