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".)
Содержание Melsec-Q QD75D1
Страница 1: ......
Страница 2: ......
Страница 22: ...A 20 MEMO ...
Страница 24: ...MEMO ...
Страница 41: ...1 17 MELSEC Q 1 PRODUCT OUTLINE MEMO ...
Страница 48: ...1 24 MELSEC Q 1 PRODUCT OUTLINE MEMO ...
Страница 60: ...2 12 MELSEC Q 2 SYSTEM CONFIGURATION MEMO ...
Страница 137: ...5 33 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Страница 232: ...5 128 MELSEC Q 5 DATA USED FOR POSITIONING CONTROL MEMO ...
Страница 252: ...6 20 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL ...
Страница 253: ...6 21 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL ...
Страница 278: ...6 46 MELSEC Q 6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL MEMO ...
Страница 292: ...MEMO ...
Страница 436: ...9 120 MELSEC Q 9 MAJOR POSITIONING CONTROL MEMO ...
Страница 464: ...10 28 MELSEC Q 10 HIGH LEVEL POSITIONING CONTROL MEMO ...
Страница 638: ...14 24 MELSEC Q 14 DEDICATED INSTRUCTIONS MEMO ...
Страница 647: ...15 9 MELSEC Q 15 TROUBLESHOOTING MEMO ...
Страница 686: ...15 48 MELSEC Q 15 TROUBLESHOOTING MEMO ...
Страница 693: ...Appendix 7 MELSEC Q APPENDICES Axis address mm inch degree pulse Axis address mm inch degree pulse ...
Страница 699: ...Appendix 13 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 11 0 0 ...
Страница 836: ...Appendix 150 MELSEC Q APPENDICES Appendix 14 External dimension drawing 1 QD75P1N Unit mm 23 4 27 4 98 90 46 ...
Страница 837: ...Appendix 151 MELSEC Q APPENDICES 2 QD75P2N Unit mm 23 27 4 90 4 98 46 3 QD75P4N 23 27 4 90 4 98 46 Unit mm ...
Страница 838: ...Appendix 152 MELSEC Q APPENDICES 4 QD75D1N 12 90 23 27 4 Unit mm 98 4 46 5 QD75D2N 90 23 27 4 12 98 4 46 Unit mm ...
Страница 839: ...Appendix 153 MELSEC Q APPENDICES 6 QD75D4N 90 23 27 4 12 98 4 46 Unit mm ...
Страница 840: ...Appendix 154 MELSEC Q APPENDICES 7 QD75P1 QD75P2 QD75P4 27 4 23 98 90 4 46 unit mm ...
Страница 841: ...Appendix 155 MELSEC Q APPENDICES 8 QD75D1 QD75D2 QD75D4 27 4 23 90 12 98 4 46 unit mm ...
Страница 842: ...Appendix 156 MELSEC Q APPENDICES MEMO ...
Страница 857: ......
Страница 858: ......