5 MOTION DEDICATED PLC INSTRUCTION
[Program example]
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.
The error flag (SM0) is turned on an operation error in the case shown below, and an
error code is stored in SD0.
(Note)
Error code
The CPU No. to be set by "(First I/O No. of the target
2110
CPU)/16" is specified.
The self CPU by "(First I/O No. of the target CPU)/16"
2114
is specified.
The CPU except the Motion CPU by "(First I/O No. of
2117
the target CPU)/16" is specified.
The instruction is composed of devices except usable
4004
devices.
Since 0 to 3DFH, 3E4H by "(First I/O No. of the target
4100
CPU)/16" is specified.
Cam axis within-one-revolution
To self CPU
current value changing flag of the axis
high speed
interrupt accept
No.1 (CPU No.4)
flag from CPU
U3E3
U3E3
\G524.0
\G48.0
M100
M0
M1
M1
Error factor
K10
SP.CHGA
H3E3
"C1"
Normal complete program
Abnormal complete program
5 - 29
Corrective action
Confirm a program,
and correct it to a
correct PLC
program.
(Note) : 0000H (Normal)
M0
D0
RST
M100