Mitsubishi Electronics Q173HCPU Baby Accessories User Manual


 
6 - 24
6 POSITIONING CONTROL
Control using INC-2 (Incremental data method)
(1) Positioning control from the current stop address to the position which combined
travel direction and travel value specified with each axis is executed.
(2) The travel direction for each axis is set by the sign (+/ -) of the travel value for
each axis, as follows:
• Positive travel value .............Positioning control to forward direction
(Address increase direction)
• Negative travel value............Positioning control to reverse direction
(Address decrease direction)
Forward direction
Y-axis travel value
Reverse
direction
Reverse
direction
X-axis travel value
0
Y
1
X1
Current stop address
Forward direction
Reverse: Travel direction for
: Indicates setting data
negative travel value
positive travel value
Forward: Travel direction for
(Note-1):
When the X-axis travel value is 6000 and Y-axis travel value is -2000.
Y-axis travel value
X-axis travel value
(Note-2): Current stop address
(-1000, -1000)
Stop position after
positioning
Positioning operation
-3000
Home position
50000
(Note-2)
Fig.6.4 Positioning using incremental data method
[Program]
Program for 2 axes linear interpolation control is shown as the following conditions.
(1) System configuration
2 axes linear interpolation control of Axis 3 and Axis 4.
Positioning start command (PX000)
MM MM
Motion CPU control module
Axis
4
Axis
1
Axis
2
Axis
3
AMP AMP AMP AMP
Q61P Q02H
CPU
Q172H
CPU
Q172
LX
QX41
Exam
p
le