7. POSITIONING CONTROL
7 − 105
[Program Example]
This program executes repeated 1-axis constant-speed control under the condi-
tions below.
(1) System configuration
Constant-speed control for Axis 4.
Axis
2
A61P A273UH
CPU
A278
LX
M
Axis
1
M M M
A61P AX41
Positioning
Start command(X000)
MR- -B MR- -B MR- -B MR- -B
Axis
3
Axis
4
(2) Positioning conditions
(a) The constant-speed control conditions are shown below.
Item Setting
Servo program number 500
Controlled axis Axis 4
Positioning speed 10000
Number of repetitions 100
P1 −1000
P2 2000
P3 −2000
Pass point
travel value
P4 1000
(b) Constant-speed control start command ..........leading edge of X000
(OFF → ON)
(3) Details of positioning operation
−
1000 0
1
2
3
100
Address
No. of repeats
Out
Return
Return
Return
Return
Out
Out
Out
1000