7. POSITIONING CONTROL
7 − 74
(5) Sequence program
The sequence program which runs the servo program is shown below.
0
CIRCUIT END
M2000
SVST
2
4
12
14
M9039
M9074
X000
M101
M9074
M9074
M102
M2049 M9076
M2042
PLS
SET
RST
M101
M102
M102
101
K
J4
SET M3265
M2004
5
M2465
PLS
M103
9
M103
RST M3265
Turns ON PLC ready.
Turns ON speed/position switching enable flag (M3265)
Turns ON all axes servo start command.
Servo program No.101 executionrequest.
Turns OFF M102 on completion of sarvo program
No.101 execution request.
Detects leading edge of X000
(OFF ON)
Turns OFF speed/position switching enable flag (M3265)
on speed/position switching signal (CHANGE) input.
Turns ON servo program No.101 start command flag
(M102) at X000 leading edge.