7. POSITIONING CONTROL
7
−
56
(3) Operation timing
The operation timing for fixed-pitch feed control using 2-axes linear
interpolation is shown below.
V
t
10000
Servo program No.11
PLC ready (M2000)
All axes servo start command
(M2042)
All axes servo start accept flag
(M2049)
Start command
(X000)
SVST instruction
Axis 2 start accept flag
(M2002)
Axis 3 start accept flag
(M2003)
(4) Servo program
The servo program No. 310 for fixed-pitch feed control using 2-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.
0
CIRCUIT END
M2000
SVST
2
4
11
13
M9039
M9074
X000
M320
M9074
M9074
M321
M2049 M9076
M2001
M2042
PLS
SET
RST
M320
M321
M321
320
K
J1J2J3
M2002 M2003
Turns ON PLC ready.
Turns ON servo program No.320
start command flag (M321) when
X000 turns OFF ON.
Turns ON all axes servo start
command.
Servo program No.320 execution
request.
Turns OFF M321 on completion
of sarvo program No.320 execution
request.