9 - 113
MELSEC-Q
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
The following table shows the setting examples when "LOOP" is set in positioning
data No. 1 of axis 1.
Setting item
Setting example
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.
–
Setting not required. (Setting value is ignored.)
Da.4 Deceleration time No.
–
Setting not required. (Setting value is ignored.)
Da.5
Axis to be
interpolated
–
Setting not required. (Setting value is ignored.)
Da.6
Positioning address/
movement amount
–
Setting not required. (Setting value is ignored.)
Da.7 Arc address
–
Setting not required. (Setting value is ignored.)
Da.8 Command speed
–
Setting not required. (Setting value is ignored.)
Da.9 Dwell time
–
Setting not required. (Setting value is ignored.)
Ax
is 1 Positioning data N
o
. 1
Da.10
M code
5
Set the LOOP to LEND repeat cycles.
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.
POINT
(1) The setting by this control system is easier than that by the special start "FOR loop" of "High-level
Positioning Control" (refer to Chapter 10).
<Setting data>
• For special start: Positioning start data, special start data, condition data, and positioning data
• For control system : Positioning data
For the special start FOR to NEXT, the positioning data is required for each of FOR and NEXT
points. For the control system, loop can be executed even only by one data.
Also, nesting is enabled by using the control system LOOP to LEND in combination with the special
start FOR to NEXT.
However LOOP to LEND cannot be set across block. Always set LOOP to LEND so that the
processing ends within one block.
(For details of the "block", refer to "Section 10.1 Outline of high-level positioning control".)
Summary of Contents for QD75M1
Page 17: ...MEMO...
Page 71: ...3 20 MELSEC Q 3 SPECIFICATIONS AND FUNCTIONS MEMO...
Page 87: ...4 16 MELSEC Q 4 INSTALLATION WIRING AND MAINTENANCE OF THE PRODUCT MEMO...
Page 98: ...5 11 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 104: ...5 17 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 108: ...5 21 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 112: ...5 25 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 122: ...5 35 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 134: ...5 47 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 178: ...5 91 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 184: ...5 97 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 190: ...5 103 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 249: ...5 162 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Page 270: ...6 21 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 271: ...6 22 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 272: ...6 23 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 273: ...6 24 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 274: ...6 25 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 275: ...6 26 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 276: ...6 27 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 277: ...6 28 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 278: ...6 29 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 279: ...6 30 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 280: ...6 31 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 281: ...6 32 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 282: ...6 33 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 283: ...6 34 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 284: ...6 35 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 285: ...6 36 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 286: ...6 37 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 287: ...6 38 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 288: ...6 39 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 289: ...6 40 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 290: ...6 41 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 291: ...6 42 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 292: ...6 43 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 293: ...6 44 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 294: ...6 45 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 295: ...6 46 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 296: ...6 47 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 297: ...6 48 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 298: ...6 49 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 299: ...6 50 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 300: ...6 51 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 301: ...6 52 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Page 328: ...7 7 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Page 332: ...7 11 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Page 339: ...MEMO...
Page 529: ...11 36 MELSEC Q 11 MANUAL CONTROL MEMO...
Page 621: ...12 92 MELSEC Q 12 CONTROL SUB FUNCTIONS MEMO...
Page 647: ...14 18 MELSEC Q 14 DEDICATED INSTRUCTIONS MEMO...
Page 755: ...Appendix 2 MELSEC Q APPENDICES MEMO...
Page 758: ...Appendix 5 MELSEC Q APPENDICES Axis address mm inch degree PLS Axis address mm inch degree PLS...
Page 879: ...Index 14 MEMO...