![Mitsubishi Electric A171SHCPUN Скачать руководство пользователя страница 178](http://html.mh-extra.com/html/mitsubishi-electric/a171shcpun/a171shcpun_programming-manual_238566178.webp)
7. POSITIONING CONTROL
7
−
26
(4) Operation timing
The operation timing for 2-axes linear interpolation control is shown below.
V
PLC ready (M2000)
All axes servo start command
(M2042)
All axes servo start accept flag
(M2009)
Positioning start command (X000)
SVST instruction
Axis 3 start accept flag (M2003)
Axis 4 start accept flag (M2004)
Servo program No. 11
(5) Servo program
The servo program No. 11 for 2-axes linear interpolation control is shown below.
2-axes linear interpolation control
Axis used
Axis
3,
Axis
4
Positioning address
Commanded positioning speed
Combined speed
30000
<K
11>
ABS -2
Axis
3,
50000
Axis
4,
40000
Combined speed
30000
Axis
3
50000
Axis
4
40000
(6) Sequence program
The sequence program which runs the servo program is shown below.
Turns ON all axes servo start
command.
CIRCUIT END
Turns ON PLC ready.
Servo program No. 11 execution
request.
Turns ON servo program No. 11
start command flag (M1) when
X000 turns OFF
→
ON.
Turns OFF M1 on completion
of servo program No. 11 execution
request.
M9039
M9074
X000
M9074
M0
M9074 M2009 M9076
M1
M2003
M2042
PLS
SET
J3J4
RST
M0
M1
11
K
M1
SVST
0
2
4
11
13
M2004
M2000
Downloaded from