Chapter 7 Program Examples of Positioning
7 - 4
(a) Devices Used
Device Description
%IX0.1.0 Axis X error reset, output inhibition cancel switch
%IX0.1.1 Axis X axis X floating origin switch
%IX0.1.7 Start switch of axis X
%KX6720 Signal during axis X operation
%KX6721 Error signal of axis X
%KX6864 Axis X start
(3) Operation Data Setting
Step
No.
coordi
nates
Control pattern
Operatio
n pattern
Operatio
n type
Repeat step
Target position
[pulse]
M code
Acc./Dec.
No.
Operation
speed
[pls/s]
Dwell time
[㎳]
1
Abso
lute
Position
control
End Single 0 10,000 0 1 1000 100
2
Abso
lute
Position
control
End Single 0 20,000 0 1 1500 100
3
Abso
lute
Position
control
End Single 0 30,000 0 1 2000 100
(4) Operation Sequence
• P0041/%IX0.1.1 (floating origin) switch On : set as the floating origin at the current position
• 3 times of P0047/%IX0.1.7 (start) switch On : 3 times of single operation (steps 1~3). If it is
operating now, the start instruction is not executed.