9 - 128
Chapter 9 Major Positioning Control
9.2.22 LOOP
The LOOP is used for loop control by the repetition of LOOP to LEND.
Operation
The LOOP to LEND loop is repeated by set repeat cycles.
Positioning data setting examples
[When "LOOP" is set in positioning data No. 1 of axis 1]
Setting example
Setting item
QD77MS2
QD77MS4
QD77MS16
Setting details
Da.1
Operation pattern
– Setting not required. (Setting value is ignored.)
Da.2
Control system
LOOP Set the LOOP.
Da.3
Acceleration time No.
–
Da.4
Deceleration time No.
–
Da.5
xis to be interpolated
QD77MS2 QD77MS4
–
Da.6
Positioning address/
movement amount
–
Da.7
Arc address
–
Da.8
Command speed
–
Da.9
Dwell time
–
Setting not required. (Setting value is ignored.)
Da.10
M code
5 Set the LOOP to LEND repeat cycles.
Da.20
xis to be interpolated
No.1
QD77MS16
–
Da.21
xis to be interpolated
No.2
QD77MS16
–
Axis 1 Positioning data No. 1
Da.22
xis to be interpolated
No.3
QD77MS16
–
Setting not required (setting value is ignored).
(Note): Refer to Section 5.3 "List of positioning data" for information on the setting details.
Restrictions
(1) An error "Control system LOOP setting error (error code: 545)" will occur if a
"0" is set for the repeat cycles.
(2) Even if LEND is absent after LOOP, no error will occur, but repeat processing
will not be carried out.
(3) Nesting is not allowed between LOOP-LEND's. If such setting is made, only the
inner LOOP-LEND is processed repeatedly.