7. POSITIONING CONTROL
7
−
26
(4) Operation timing
The operation timing for 2-axes linear interpolation control is shown below.
V
Servo program No.11
PLC ready (M2000)
All axes servo start command
(M2042)
All axes servo start accept flag
(M2049)
Positioning start command
(X000)
SVST instruction
Axis 3 start accept flag
(M2003)
Axis 4 start accept flag
(M2004)
(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.
0
CIRCUIT END
M2000
SVST
Turns ON PLC ready.
Turns ON servo program No.11
start command flag (M1) when
X000 turns OFF ON.
Turns ON all axes servo start
command.
Servo program No.11 execution
request.
Turns OFF M1 on completion
of sarvo program No.11 execution
request.
2
4
11
13
M9039
M9074
X000
M0
M1
M9074
M9074
M2049 M9076
M2003
M2042
PLS
SET
RST
M0
M1
M1
11
K
J3J4
M2004