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