166
4 ADVANCED POSITIONING CONTROL
4.3 Setting the Block Start Data
Restrictions when the NEXT start is used
NEXT start instruction shows the end of the repetition when the repeated start (FOR loop) and repeated start (FOR condition)
are executed. (
Page 164 Repeated start (FOR loop),
Page 165 Repeated start (FOR condition))
This section describes the restrictions when 6: NEXT start is set in Block start data.
• The processing when 6: NEXT start is executed before the execution of 4: FOR loop or 5: FOR condition is the same as
that for 0: Block start.
• The repeated processing will not be performed if 6: NEXT start is not set after 4: FOR loop or 5: FOR condition. (Note that
no error occurs in this case.)
• Nesting is not possible between 4: FOR loop and 6: NEXT start, or between 5: FOR condition and 6: NEXT start. If nesting
is attempted, FOR to NEXT nest construction (Warning code: 09F1H) occurs. The destination of jump by NEXT at the 7th
point is changed to the 4th point and NEXT at the 9th point is processed as Normal start.
When a nest construction is not configured
When a nest construction is configured
A warning occurs when FOR at the 4th point is executed.
The destination of jump by NEXT at the 7th point is changed to the 4th point
and NEXT at the 9th point is processed as Normal start.
FOR
NEXT
FOR
NEXT
FOR
FOR
NEXT
NEXT
Block start data
1st point
2nd point
3rd point
4th point
5th point
6th point
7th point
8th point
9th point
Da.13 Special start instruction
Normal start
Normal start
Normal start
Normal start
Normal start
Block start data
1st point
2nd point
3rd point
4th point
5th point
6th point
7th point
8th point
9th point
Da.13 Special start instruction
Normal start
Normal start
Normal start
Normal start
Normal start
Summary of Contents for MELSEC iQ-R RD75P4
Page 1: ...MELSEC iQ R Positioning Module User s Manual Application RD75P2 RD75P4 RD75D2 RD75D4 ...
Page 2: ......
Page 13: ...11 MEMO ...
Page 19: ...17 CONTENTS INDEX 588 REVISIONS 592 WARRANTY 593 TRADEMARKS 594 ...
Page 498: ...496 13 PROGRAMMING 13 2 List of Labels Used ...
Page 503: ...13 PROGRAMMING 13 4 Program Example 501 13 ...
Page 514: ...512 13 PROGRAMMING 13 4 Program Example Restart program Parameter data initialization program ...
Page 515: ...13 PROGRAMMING 13 4 Program Example 513 13 Flash ROM write program Error reset program ...
Page 516: ...514 13 PROGRAMMING 13 4 Program Example Stop program ...
Page 565: ...APPENDICES Appendix 4 Operation Examples of When the Remote Head Module Is Mounted 563 A ...
Page 597: ......