Restrictions When Using The Next Start - Mitsubishi Electric MELSEC-Q Series User Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

10.3.8 Restrictions when using the NEXT start

[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
The "NEXT start" is an 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". The warning "FOR to NEXT nest
construction" (warning code: 506) will occur if nesting is attempted.
[Da.13]
Special start instruction
Normal start
FOR
Normal start
NEXT
Normal start
Normal start
FOR
Normal start
NEXT
Chapter 10 High-Level Positioning Control
[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.
10 - 15
[Da.13]
Special start instruction
Normal start
FOR
Normal start
FOR
Normal start
Normal start
NEXT
Normal start
NEXT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-qd77gf4Melsec-qd77gf8Melsec-qd77gf16

Table of Contents