7. POSITIONING CONTROL
M9039
0
M9074
2
X000
M9074
M2049 M9076
4
M0
11
M1
M9074
M2004
13
CIRCUIT END
(4) Servo program example
The servo program No. 0 for positioning control is shown below.
<K
0 >
ABS -1
Axis
4,
Speed
(5) Sequence program example
The sequence program which runs the servo program is shown below.
1-axis linear positioning control
⋅ Axis used
80000
10000
⋅ Positioning address
Commanded speed
PLS
SET
SVST
J4
RST
7 − 22
4
Axis
80000
10000
M2000
Turns ON PLC ready.
Turns ON all axes servo start
M2042
command.
M0
Turns ON servo program No.0
start command flag(M1) when
M1
X000 turns OFF
K
Servo program No.0 execution
0
request.
Turns OFF M1 on completion
M1
of servo program No.0 execution
request
ON.