9 - 114
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
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 QD75MH1
Page 17: ...A 16 MEMO ...
Page 19: ...MEMO ...
Page 66: ...3 11 MELSEC Q 3 SPECIFICATIONS AND FUNCTIONS MEMO ...
Page 97: ...4 18 MELSEC Q 4 INSTALLATION WIRING AND MAINTENANCE OF THE PRODUCT MEMO ...
Page 102: ...5 5 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 110: ...5 13 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 116: ...5 19 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 120: ...5 23 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 124: ...5 27 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 158: ...5 61 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 196: ...5 99 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 202: ...5 105 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 208: ...5 111 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 269: ...5 172 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 290: ...6 21 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 291: ...6 22 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 292: ...6 23 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 293: ...6 24 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 294: ...6 25 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 295: ...6 26 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 296: ...6 27 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 297: ...6 28 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 298: ...6 29 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 299: ...6 30 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 300: ...6 31 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 301: ...6 32 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 302: ...6 33 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 303: ...6 34 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 304: ...6 35 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 305: ...6 36 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 306: ...6 37 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 307: ...6 38 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 308: ...6 39 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 309: ...6 40 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 310: ...6 41 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 311: ...6 42 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 312: ...6 43 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 313: ...6 44 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 314: ...6 45 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 315: ...6 46 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 316: ...6 47 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 317: ...6 48 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 318: ...6 49 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 319: ...6 50 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 320: ...6 51 MELSEC Q 6 PLC PROGRAM USED FOR POSITIONING CONTROL ...
Page 348: ...7 7 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO ...
Page 352: ...7 11 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO ...
Page 363: ...MEMO ...
Page 495: ...9 116 MELSEC Q 9 MAJOR POSITIONING CONTROL MEMO ...
Page 557: ...11 36 MELSEC Q 11 MANUAL CONTROL MEMO ...
Page 689: ...14 18 MELSEC Q 14 DEDICATED INSTRUCTIONS MEMO ...
Page 751: ...Appendix 2 MELSEC Q APPENDICES MEMO ...