10 - 16
MELSEC-Q
10 HIGH-LEVEL POSITIONING CONTROL
10.3.8 Restrictions when using the NEXT start
The "NEXT start" is a instruction indicating the end of the repetitions when executing
Section 10.3.6 "Repeated start (FOR loop)" and Section 10.3.7 "Repeated start (FOR
condition)".
The following shows the restrictions when setting "6: NEXT start" in the " block start
data".
(1) The processing when "6: NEXT start" is set before execution of "4: FOR loop" or
"5: FOR condition" is the same as that for a "0: block start".
(2) Repeated processing will not be carried out if there is no "6: NEXT start"
instruction after the "4: FOR loop" or "5: FOR condition" instruction. (Note that an
"error" will not occur.)
(3) Nesting is not possible between "4: FOR loop" and "6: NEXT start", or between
"5: FOR condition" and "6: NEXT start". A warning "FOR to NEXT nest
construction" (warning code: 506) will occur if nesting is attempted.
[Operating examples without nesting structure] [Operating examples with nesting structure]
Da.13
FOR
NEXT
FOR
NEXT
Da.13
FOR
FOR
NEXT
NEXT
Start block data
1st point
2nd point
3rd point
4th point
5th point
6th point
7th point
8th point
9th point
Special start instruction
Normal start
Normal start
Normal start
Normal start
Normal start
Start block data
1st point
2nd point
3rd point
4th point
5th point
6th point
7th point
8th point
9th point
Special start instruction
Normal start
Normal start
Normal start
Normal start
Normal start
A warning will occur when starting the 4th
point "FOR".
The JUMP destination of the 7th point "NEXT"
is the 4th point. The 9th point "NEXT" is
processed as normal start.
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: ......