7. POSITIONING CONTROL
7 − 79
(5) Sequence program
The sequence program which runs the servo programs is shown below.
0
M2000
SVST
2
4
12
14
M9039
M9074
X000
M101
M9074
M9074
M102
M2049 M9076
M2042
PLS
SET
RST
M101
M102
M102
101
K
J6
SET M3265
M2004
5
M3265
PLF
M103
9
M103
RST
M3265
31
X001
PLS
M104
CIRCUIT END
35
M104
SET M105
SVST
37
M9074
M105
RST
M105
102
K
J6
M2004
8
X0002
M3260
Turns ON PLC ready.
Turns ON all axes servo start
command.
Servo program No.101 execution
request.
Turns OFF M102 on completion
of sarvo program No.101 execution
request.
Detects leading edge of X000
(OFF ON)
Turns ON servo program No.101
start command flag (M102) at
X000 leading edge.
Stop Axis 4 when the external stop
command is input.
Turns OFF M105 on completion of
servo program No.102 execution
request.
Turns ON speed/position
switching enable flag (M3265)
Turns OFF speed/position switching
enable flag (M3265) on speed/positio
switching signal (CHANGE) input.
Detects leading edge of X001
(OFF ON)
Turns ON servo program No.102
start command flag (M105) at
X001 leading edge.
Servo program No.102 execution
request.