7. POSITIONING CONTROL
7
−
59
(3) Operation timing
The operation timing for fixed-pitch feed control using 3-axes linear
interpolation is shown below.
Servo program No.320
V
All axes servo start command (M2042)
All-axis servo start accept flag (M2009)
Start command (X000)
SVST instruction
Axis 1 start accept flag (M2001)
PLC ready (M2000)
1000
t
Axis 2 start accept flag (M2002)
Axis 3 start accept flag (M2003)
(4) Servo program
The servo program No. 320 for fixed-pitch feed control using 3-axes linear
interpolation is shown below.
Fixed-pitch feed control using 3-axes linear
interpolation
Axis used
Axis
1,
Axis
2,
Axis
3
Positioning address
Positioning speed
10000
<K
320>
FEED -3
Axis
1,
50000
Axis
2,
40000
Axis
3,
30000
Speed
1000
Axis
1
50000
Axis
2
40000
Axis
3
30000
(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. 320
execution request.
Turns ON servo program No. 320
start command flag (M321) when
X000 turns OFF
→
ON.
Turns OFF M321 on completion
of servo program No. 320 execution
request.
M9039
M9074
X000
M9074
M320
M9074 M2009 M9076
M321
M2001
M2000
M2042
PLS
SET
J1J2J3
RST
M320
M321
320
K
M321
SVST
0
2
4
11
13
M2002 M2003
Downloaded from