4 HIGH-LEVEL POSITIONING CONTROL
4.3 Setting the Block Start Data
155
4
Restrictions when using the NEXT start
The "NEXT start" is an instruction indicating the end of the repetitions when executing the repeated start (FOR loop) and the
repeated start (FOR condition).
(
Page 153 Repeated start (FOR loop), Page 154 Repeated start (FOR condition))
The following shows the restrictions when setting "6: NEXT start" in the "block start data".
• 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".
• 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.)
• Nesting is not possible between "4: FOR loop" and "6: NEXT start", or between "5: FOR condition" and "6: NEXT start". The
warning "FOR to NEXT nest construction" (warning code: 09F1H) will occur if nesting is attempted.
[Operating examples without nesting structure]
[Operating examples with nesting structure]
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.
Start block data
[Da.13] Special start instruction
1st point
Normal start
2nd point
FOR
3rd point
Normal start
4th point
NEXT
FOR of the 2nd point
5th point
Normal start
6th point
Normal start
7th point
FOR
8th point
Normal start
9th point
NEXT
FOR of the 7th point
Start block data
[Da.13] Special start instruction
1st point
Normal start
2nd point
FOR
3rd point
Normal start
4th point
FOR
5th point
Normal start
6th point
Normal start
7th point
NEXT
FOR of the 4th point
8th point
Normal start
9th point
NEXT
Содержание RD77MS16
Страница 1: ...MELSEC iQ R Simple Motion Module User s Manual Application RD77MS2 RD77MS4 RD77MS8 RD77MS16 ...
Страница 2: ......
Страница 316: ...314 9 COMMON FUNCTIONS 9 4 External Input Signal Select Function Program example ...
Страница 317: ...9 COMMON FUNCTIONS 9 4 External Input Signal Select Function 315 9 ...
Страница 574: ...572 13 PROGRAMMING 13 4 Positioning Program Examples Parameter initialization program Flash ROM write program ...
Страница 575: ...13 PROGRAMMING 13 4 Positioning Program Examples 573 13 Error reset program Axis stop program ...
Страница 643: ......