9 - 118
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.)
Axis 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 Melsec-Q QD75D1
Page 1: ......
Page 2: ......
Page 22: ...A 20 MEMO ...
Page 24: ...MEMO ...
Page 41: ...1 17 MELSEC Q 1 PRODUCT OUTLINE MEMO ...
Page 48: ...1 24 MELSEC Q 1 PRODUCT OUTLINE MEMO ...
Page 60: ...2 12 MELSEC Q 2 SYSTEM CONFIGURATION MEMO ...
Page 137: ...5 33 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 232: ...5 128 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Page 252: ...6 20 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL ...
Page 253: ...6 21 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL ...
Page 278: ...6 46 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MEMO ...
Page 292: ...MEMO ...
Page 436: ...9 120 MELSEC Q 9 MAJOR POSITIONING CONTROL MEMO ...
Page 464: ...10 28 MELSEC Q 10 HIGH LEVEL POSITIONING CONTROL MEMO ...
Page 638: ...14 24 MELSEC Q 14 DEDICATED INSTRUCTIONS MEMO ...
Page 647: ...15 9 MELSEC Q 15 TROUBLESHOOTING MEMO ...
Page 686: ...15 48 MELSEC Q 15 TROUBLESHOOTING MEMO ...
Page 839: ...Appendix 153 MELSEC Q APPENDICES 6 QD75D4N 90 23 27 4 12 98 4 46 Unit mm ...
Page 840: ...Appendix 154 MELSEC Q APPENDICES 7 QD75P1 QD75P2 QD75P4 27 4 23 98 90 4 46 unit mm ...
Page 841: ...Appendix 155 MELSEC Q APPENDICES 8 QD75D1 QD75D2 QD75D4 27 4 23 90 12 98 4 46 unit mm ...
Page 842: ...Appendix 156 MELSEC Q APPENDICES MEMO ...
Page 857: ......
Page 858: ......