Chapter 7 Program Examples of Positioning
7 - 7
(a) Devices Used
Device Description
%IX0.1.0 Axis X error reset, output inhibition cancel switch
%IX0.1.1 floating origin switch
%IX0.1.7 Straight interpolation start switch
%KX6720 Signal during operation of axis X
%KX6721 Signal of axis X error
%KX6880 Signal during operation of axis Y
%KX6881 Signal of axis Y error
(3) Operation Data Setting
Axis
Step
No.
coordinat
es
Control
pattern
Operation
pattern
Operation
type
Repeat step
Target position
[pulse]
M code
Acc./Dec.
No.
Operation
speed
[pls/s]
Dwell time
[㎳]
X 1 Absolute
Position
control
End Single 0 10,000 0 1 1000 100
Y 1 Absolute
Position
control
End Single 0 5,000 0 1 1000 100
(4) Operation Sequence
• P0009/%IX0.1.1 (floating origin) switch On : set as the floating origin at the current position.
• P000E/%IX0.1.7 (straight interpolation start) switch On : the straight interpolation start of axes X-Y
is started.