Mitsubishi Electronics Q173CPU(N) Home Security System User Manual


 
5 - 41
5 MOTION DEDICATED PLC INSTRUCTION
The error flag (SM0) is turned on an operation error in the case shown below, and an
error code is stored in SD0.
Error code
(Note)
Error factor Corrective action
2110
The CPU No. to be set by "(First I/O No. of the target
CPU)/16" is specified.
2114
The self CPU by "(First I/O No. of the target CPU)/16"
is specified.
2117
The CPU except the Motion CPU by "(First I/O No. of
the target CPU)/16" is specified.
4002 Specified instruction is wrong.
4004
The instruction is composed of devices except usable
devices.
4100
Since 0 to 3DFH, 3E4H is specified by "(First I/O No.
of the target CPU)/16" is specified.
Number of the writing data is except 1 to 16.
4101
Number of writing data exceeds range of the storage
device of the written data.
Confirm a program,
and correct it to a
correct PLC
program.
(Note) : 0000H (Normal)
[Program example]
M10
D51
X0
D50
SP.DDWR
D0 D100 M10H3E1
SM400
K10MOV
M11
M11
M10
D51
X0
D50
SP.DDWR
D0 D100 M10H3E1
SM400
K10MOV
M11
M11
M0SET
M10
M0
M10
M0RST
<Example 1>
Program which stores 10 points worth of the data from D0 of the self
CPU (CPU No.1) since D100 of CPU No.2., when X0 is turned on.
<Example 2>
Program which stores 10 points worth of the data from D0 of the
self CPU (CPU No.1) since D100 of CPU No.2. during turn on X0.
Normal complete processing
Abnormal complete processing
Normal complete processing
Abnormal complete processing