Restrictions When Using The Next Start - Mitsubishi Electric MELSEC iQ-FX5 User Manual

Application
Table of Contents

Advertisement

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 140 Repeated start (FOR loop), Page 141 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]
Start block data
1st point
2nd point
3rd point
4th point
5th point
6th point
7th point
8th point
9th point
[Operating examples with nesting structure]
Start block data
1st point
2nd point
3rd point
4th point
5th point
6th point
7th point
8th point
9th point
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.
4 HIGH-LEVEL POSITIONING CONTROL
142
4.3 Setting the Block Start Data
[Da.13] Special start instruction
Normal start
FOR
Normal start
NEXT  FOR of the 2nd point
Normal start
Normal start
FOR
Normal start
NEXT  FOR of the 7th point
[Da.13] Special start instruction
Normal start
FOR
Normal start
FOR
Normal start
Normal start
NEXT  FOR of the 4th point
Normal start
NEXT

Advertisement

Table of Contents
loading

Table of Contents