7. POSITIONING CONTROL
7
−
104
[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.
A172SHCPUN
Axis 1
Positioning start command
A172B
M
M
M
M
A172S
ENC
A1S
X10
Axis 2
Axis 3
Axis
4
MR-[]-B
MR-[]-B
MR-[]-B
MR-[]-B
(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
Downloaded from