![Mitsubishi Electric A171SHCPUN Programming Manual Download Page 235](http://html.mh-extra.com/html/mitsubishi-electric/a171shcpun/a171shcpun_programming-manual_238566235.webp)
7. POSITIONING CONTROL
7
−
83
[Program Example]
This program executes speed-switching control under the conditions below.
(1) System configuration
Speed-switching control of Axis 2 and Axis 3.
Start command
(X000)
M
A172B
A172SHCPUN
A172S
ENC
A1S
X10
MR-[]-B
MR-[]-B
MR-[]-B
MR-[]-B
M
M
M
Axis
1
Axis
2
Axis
3
Axis
4
(2) Positioning conditions
(a) The speed-switching control conditions are shown below.
Item
Setting
Servo program number
No. 500
Controlled axis
Axis 2
Axis 3
End address
100000
50000
(b) Speed-switching control start command....... leading edge of X000
(OFF
→
ON)
(3) Operation timing and speed-switching positions
The operation timing for speed-switching control and the speed-switching
points are shown below.
Axis 2 positioning
direction
Axis 3 positioning direction
50000
100000
70000
40000
t
V
5000
Start command(X000)
SVST instruction
PLC ready (M2000)
Axis 3 start accept flag(M2003)
2000
8000
ON
OFF
ON
OFF
OFF
ON
OFF
ON
Axis 2 start accept flag(M2002)
Downloaded from