7. POSITIONING CONTROL
7
−
56
(3) Operation timing
The operation timing for fixed-pitch feed control using 2-axes linear
interpolation is shown below.
Servo program No.310
V
All axes servo start command (M2042)
All-axis servo start accept flag (M2009)
Start command (X000)
SVST instruction
Axis 2 start accept flag (M2002)
PLC ready (M2000)
10000
t
Axis 3 start accept flag (M2003)
(4) Servo program
The servo program No. 310 for fixed-pitch feed control using two-axes linear
interpolation is shown below.
Fixed-pitch feed control using 2-axes linear
Interpolation
Axis used
Axis 2, Axis 3
Travel value
Positioning speed
10000
<K
310>
FEED-2
Axis
2,
500000
Axis
3,
300000
Speed
10000
Axis 2
500000
Axis 3
300000
(5) 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. 310
execution request.
request.
Turns ON servo program No. 310
start command flag (M311) when
X000 turns OFF
→
ON.
Turns OFF M311 on completion
of servo program No. 310 execution
request.
M9039
M9074
X000
M9074
M310
M9074 M2009 M9076
M311
M2002
M2000
M2042
PLS
SET
J2J3
RST
M310
M311
310
K
M311
SVST
0
2
4
11
13
M2003
Downloaded from