6 - 130
6 POSITIONING CONTROL
[Program]
Program for which executes the speed-switching control by turning on M2040 during
constant-speed instruction is shown as the following conditions.
(1) System configuration
Switches speed for Axis 1 and Axis 2.
MM MM
Motion CPU control module
Start command (PX000)
Axis
4
Axis
1
Axis
2
Axis
3
Speed switching point specified flag
(M2040) ON command (PX010)
AMP AMP AMP AMP
Q61P Q02H
CPU
Q172H
CPU
Q172
LX
QX41
(2) Positioning conditions
(a) Speed switching conditions are shown below.
Item Setting
Servo program No. 310
Positioning speed 10000 15000
Positioning method
2 axes linear
interpolation
Central point-
specified circular
interpolation
2 axes linear
interpolation
2 axes linear
interpolation
Axis 1 20000 30000 40000 50000
Pass point
Axis 2 10000 20000 25000 40000
(b) The constant-speed start command for speed switching
..............................................................Turning PX000 off to on (OFF
ON)