Restrictions When The Next Start Is Used - Mitsubishi Electric MELSEC iQ-R-RD75P4 User Manual

Melsec iq-r series positioning module (application)
Table of Contents

Advertisement

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
Block start data
1st point
2nd point
3rd point
4th point
5th point
6th point
7th point
8th point
9th point
4 ADVANCED POSITIONING CONTROL
166
4.3 Setting the Block Start Data
Da.13 Special start instruction
Normal start
FOR
Normal start
NEXT
Normal start
Normal start
FOR
Normal start
NEXT
When a nest construction is configured
Block start data
1st point
2nd point
3rd point
4th point
5th point
6th point
7th point
8th point
9th point
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.
Da.13 Special start instruction
Normal start
FOR
Normal start
FOR
Normal start
Normal start
NEXT
Normal start
NEXT

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents