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".)
Содержание QD75M1
Страница 17: ...MEMO...
Страница 71: ...3 20 MELSEC Q 3 SPECIFICATIONS AND FUNCTIONS MEMO...
Страница 87: ...4 16 MELSEC Q 4 INSTALLATION WIRING AND MAINTENANCE OF THE PRODUCT MEMO...
Страница 98: ...5 11 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 104: ...5 17 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 108: ...5 21 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 112: ...5 25 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 122: ...5 35 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 134: ...5 47 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 178: ...5 91 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 184: ...5 97 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 190: ...5 103 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 249: ...5 162 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO...
Страница 270: ...6 21 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 271: ...6 22 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 272: ...6 23 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 273: ...6 24 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 274: ...6 25 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 275: ...6 26 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 276: ...6 27 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 277: ...6 28 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 278: ...6 29 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 279: ...6 30 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 280: ...6 31 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 281: ...6 32 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 282: ...6 33 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 283: ...6 34 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 284: ...6 35 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 285: ...6 36 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 286: ...6 37 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 287: ...6 38 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 288: ...6 39 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 289: ...6 40 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 290: ...6 41 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 291: ...6 42 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 292: ...6 43 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 293: ...6 44 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 294: ...6 45 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 295: ...6 46 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 296: ...6 47 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 297: ...6 48 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 298: ...6 49 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 299: ...6 50 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 300: ...6 51 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 301: ...6 52 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL...
Страница 328: ...7 7 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Страница 332: ...7 11 MELSEC Q 7 MEMORY CONFIGURATION AND DATA PROCESS MEMO...
Страница 339: ...MEMO...
Страница 529: ...11 36 MELSEC Q 11 MANUAL CONTROL MEMO...
Страница 621: ...12 92 MELSEC Q 12 CONTROL SUB FUNCTIONS MEMO...
Страница 647: ...14 18 MELSEC Q 14 DEDICATED INSTRUCTIONS MEMO...
Страница 755: ...Appendix 2 MELSEC Q APPENDICES MEMO...
Страница 758: ...Appendix 5 MELSEC Q APPENDICES Axis address mm inch degree PLS Axis address mm inch degree PLS...
Страница 764: ...Appendix 11 MELSEC Q APPENDICES Initial value Axis 1 Axis 2 Axis 3 Axis 4 Remarks 0 0 0 1 1 0 0 0 0 0 0 300 0 0...
Страница 766: ...Appendix 13 MELSEC Q APPENDICES Initial value Axis 1 Axis 2 Axis 3 Axis 4 Remarks 3 0 0H 0H 80H 0000H 1 255 0 1 5H...
Страница 879: ...Index 14 MEMO...