7. POSITIONING CONTROL
7
−
52
[Program Example]
This program conducts repeated 1-axis fixed-pitch feed control under the
conditions below.
(1) System configuration
Fixed-pitch feed control of Axis 4.
A172SHCPUN
Axis 1
Start command (X000)
A172B
M
M
M
M
A172S
ENC
A1S
X10
Axis 2
Axis 3
Axis
4
MR-[]-B
MR-[]-B
MR-[]-B
MR-[]-B
(2) Fixed-pitch feed control conditions
(a) The positioning conditions are shown below.
Item
Setting
Servo program number
No. 300
Controlled axis
Axis 4
Control speed
10000
Travel value
100000
(b) Fixed-pitch feed control start command......... leading edge of X000 (OFF
→
ON)
(c) Fixed-pitch feed control end command ......leading edge of X001
(OFF
→
ON)
(3) Operation timing
The operation timing for fixed-pitch feed control is shown below.
Servo program No.300
V
All axes servo start command (M2042)
All-axis servo start accept flag (M2009)
Start command (X000)
SVST instruction
Axis 4 start accept flag (M2004)
PLC ready (M2000)
End command (X001)
10000
t
1 second
1 second
Downloaded from