![Mitsubishi Electric A171SHCPUN Programming Manual Download Page 218](http://html.mh-extra.com/html/mitsubishi-electric/a171shcpun/a171shcpun_programming-manual_238566218.webp)
7. POSITIONING CONTROL
7
−
66
(4) Servo program
The servo program No. 55 for speed control (II) is shown below.
Speed control(II) Forward
Axis used ……………..…… Axis 3
Axis 3 Positioning speed … 4000
<K 55>
VVF
Axis 3,
Speed 4000
(5) Sequence program
The sequence program which runs the servo program is shown below.
Turns ON PLC ready.
Turns ON all axes servo start command.
Detects leading edge of X000 (OFF
¨
ON)
Servo program No.55 execution request.
Turns OFF M57 on completion of servo
program No.55 execution request.
Detects trailing edge of X000
(ON
¨
OFF)
Turns ON stop command flag (M1840) at
trailing edge of X000.
Turns OFF stop command flag(M1840)
when Axis 3 stops.
Turns ON servo program No.55 start
Command flag (M57) when X000 turns
OFF
¨
ON.
M9039
M9074
X000
M9074
M2009
M9076
M55
M9074
M57
M2003
M58
M2003
M1840
CIRCUIT END
M2000
M2042
PLS M55
PLF M58
SET M57
RST M57
SET M1840
RST M1840
K
SVST J3 55
0
14
2
4
16
27
29
Downloaded from