3 - 12
3 MOTION DEDICATED PLC INSTRUCTION
[Program example]
M0
X0
(1) This program starts the Motion program (Control program) No.10 of the Motion CPU No.4.
SP.SFCS
K10
M0
D0
H3E3
Normal complete program
M1
Abnormal complete program
M1
M0
X0
SP.SFCS
K11000 M0
D0
H3E3
Normal complete program
M1
Abnormal complete program
M1
Set the data in the data register of "No. specified with SFCS instruction - 10000".
Motion program (Motion CPU side)
O0010;
D1000 = 30 ; Motion program No.
D1001 = 200 ; Sequence No.
PLC program (PLC CPU side)
(2) This program starts the Motion program (Control program) No.30 and sequence No.200
of the Motion CPU No.4 by indirect setting.