Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
3 - 43
3 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]
M0
D51
X0
D50
SP.DDRD
D0 D100
M0
H3E1
SM400
K10
MOV
Normal complete processing
M1
M1
M10
D51
X0
D50
SP.DDRD
D0 D100 M10
H3E1
SM400
K10
MOV
M11
M11
M0SET
M10
M0
M10
M0RST
Abnormal complete processing
<Example 1>
Program which stores 10 points worth of the data from D0 of the CPU
since D100 of self CPU (CPU No.1), when X0 is turned on.
<Example 2>
Program stores 10 points worth of the data from D0 of the CPU No.2
since D100 of self CPU (CPU No.1) during turn on X0.
Normal complete processing
Abnormal complete processing