5 - 29
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.
4004
The instruction is composed of devices except usable
devices.
4100
Since 0 to 3DFH, 3E4H by "(First I/O No. of the target
CPU)/16" is specified.
Confirm a program,
and correct it to a
correct PLC
program.
(Note) : 0000H (Normal)
[Program example]
SP.CHGA
K10 M0 D0
H3E3
RST M100
M100
To self CPU
high speed
interrupt accept
flag from CPU
U3E3
\G48.0
"C1"
M0
Normal complete program
M1
Abnormal complete program
M1
Cam axis within-one-revolution
current value changing flag of the axis
No.1 (CPU No.4)
U3E3
\G524.0
Program which changes the current value of the axis No.1 of the Motion CPU
(CPU No.4) from PLC CPU (CPU No.1) to 10.