![Mitsubishi Electric A171SHCPUN Скачать руководство пользователя страница 230](http://html.mh-extra.com/html/mitsubishi-electric/a171shcpun/a171shcpun_programming-manual_238566230.webp)
7. POSITIONING CONTROL
7
−
78
(5) Sequence program
The sequence program which runs the servo programs is shown below.
Turns ON PLC ready.
Turns ON all axes servo start command.
Detects leading edge of X000 (OFF
¨
ON)
Servo program No.101 execution request.
Turns OFF M102 on completion of servo
program No.101 execution request.
Turns ON servo program No.101 start
command flag(M102) at X000 leading edge.
Turns OFF speed/position switching enable
flag (M1865) on speed/position switching
signal (CHANGE) input.
Detects leading edge of X001 (OFF
¨
ON)
Servo program No.102 execution request.
Turns ON servo program No.102 start
command flag (M105) at X001 leading edge.
Stops 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 (M1865).
M9039
M2000
PLS M101
K
SVST J4 101
0
12
M9074
X0000
M101
M9074
M1665
M103
M9074
M2009
M9076
M102
M2004
X0001
M104
M9074
X0002
M105
M2004
M2042
SET M1865
SET M102
RST M102
PLF M103
RST M1865
PLS M104
SET M105
RST M105
K
SVST J4 102
M1860
2
4
14
25
29
31
35
37
48
CIRCUIT END
Downloaded from