![Mitsubishi Electric A171SHCPUN Programming Manual Download Page 215](http://html.mh-extra.com/html/mitsubishi-electric/a171shcpun/a171shcpun_programming-manual_238566215.webp)
7. POSITIONING CONTROL
7
−
63
(4) Servo program
The servo program No. 91 for speed control (I) is shown below.
Speed control (I) (Forward)
Axis used
Axis 1
Positioning speed
3000
<K 91 >
VF
Axis
1,
Speed
3000
(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.91 execution request.
Turns OFF M93 on completion of servo
program No.91 execution request.
Detects trailing edge of X000
(ON
→
OFF)
Turns ON stop command flag (M1800) at
trailing edge of X000.
Turns OFF stop command flag(M1800)
when Axis 1 stops.
Turns ON servo program No.91 start
command flag (M93) when X000 turns
OFF
→
ON.
M9039
M9074
X000
M9074
M2009
M9076
M91
M9074
M93
M2001
M94
M2001
M1800
CIRCUIT END
M2000
M2042
PLS M91
PLF M94
SET M93
RST M93
SET M1800
RST M1800
K
SVST J1 91
0
14
2
4
16
27
29
Downloaded from