![Mitsubishi Electric A171SHCPUN Programming Manual Download Page 228](http://html.mh-extra.com/html/mitsubishi-electric/a171shcpun/a171shcpun_programming-manual_238566228.webp)
7. POSITIONING CONTROL
7
−
76
[Program Example]
This program restarts speed/position switching control after a stop, under the
conditions below.
(1) System configuration
Speed/position switching control of Axis 4.
Start command (X000),
restart (X001), stop command (X002)
M
A172B
A172SHCPUN
A172S
ENC
A1S
X10
MR-[]-B
MR-[]-B
MR-[]-B
MR-[]-B
M
M
Axis
1
Axis
2
Axis
3
Axis
4
M
CHANGE signal
(2) Positioning conditions
(a) The positioning conditions are shown below.
Setting
Item
Speed/Position
Switching Control
Restart
Servo program number
No. 101
No. 102
Controlled axis
Axis 4
Axis 4
Positioning control
travel value
40000
Commanded speed
1000
(b) Positioning start command ........................... leading edge of X000
(OFF
→
ON)
(c) Speed/position switching enable flag ........... M1865
(d) Restart command ......................................... leading edge of X001
(OFF
→
ON)
(e) Stop command ............................................. leading edge of X002
(OFF
→
ON)
Downloaded from