Positioning User Manual
31
f)
LOOP / LEND
The LOOP command is used for loop control by the repetition of LOOP to LEND.
It is repeated for a specified number of times from the position data number assigned to LOOP
to the position data number assigned to LEND.
Nesting loop is allowed and LOOP / LEND have to be set as ‘continuous control’ type.
The table below illustrates an example of how the positioning commands in between LOOP and
LEND are repeated for the number of times specified in the ‘target address’ of LOOP.
Since the ‘Target Address’ of the LOOP is 3, the Position Data No. 2, No. 3 and No. 4 commands
are repeated for three times.
g)
POS
Forced to change the current position address to a new address. The new address has to be
designated in the ‘target address’ field.
For instance,
Configure the control code as ‘POS’ and specify the target address as ‘4000.’ When this command is
executed, the current coordinate will be set as ‘4000.’
Position
Data No.
Control
Pattern
Interpolation
Acceleration
Time
Deceleration
Time
Control
Code
Dwell
Time
Operation
Speed
Target
Address
1
Continuous
Non-
Interpolation
No. 1
No. 1
LOOP
0
0
3
2
Continuous
Non-
Interpolation
No. 1
No. 1
ABS
0
1000
- 1000
3
Continuous
Non-
Interpolation
No. 1
No. 1
INC
0
1500
2000
4
Continuous
Non-
Interpolation
No. 1
No. 1
ABS
0
2000
- 2000
5
Continuous
Non-
Interpolation
No. 1
No. 1
LEND
0
0
0
Position
Data No.
Control
Pattern
Interpolation
Acceleration
Time
Deceleration
Time
Control
Code
Dwell
Time
Operation
Speed
Target
Address
1
Single
Step
Non-
Interpolation
No. 1
No. 1
POS
0
1,000
4,000