Restrictions When Using The Next Start - Mitsubishi MELSEC QD75P User Manual

Positioning module
Table of Contents

Advertisement

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
(2) Repeated processing will not be carried out if there is no "6: NEXT start"
(3) Nesting is not possible between "4: FOR loop" and "6: NEXT start", or between
[Operating examples without nesting structure]
"5: FOR condition" is the same as that for a "0: block start".
instruction after the "4: FOR loop" or "5: FOR condition" instruction. (Note that an
"error" will not occur.)
"5: FOR condition" and "6: NEXT start". A warning "FOR to NEXT nest
construction (warning code: 506)" will occur if nesting is attempted.
Da.12 Special start
Start block data
command
1st point
Normal start
2nd point
FOR
3rd point
Normal start
4th point
NEXT
5th point
Normal start
6th point
Normal start
7th point
FOR
8th point
Normal start
9th point
NEXT
10 - 15
Get other manuals https://www.bkmanuals.com
MELSEC-Q
[Operating examples with nesting structure]
Da.12 Special start
Start block data
command
1st point
Normal start
2nd point
3rd point
Normal start
4th point
5th point
Normal start
6th point
Normal start
7th point
8th point
Normal start
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.
FOR
FOR
NEXT
NEXT

Advertisement

Table of Contents
loading

Table of Contents