Mitsubishi Electric MELSEC Q Series Programming Manual page 82

Structured. fundamentals
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

EXIT syntax
■Format
EXIT;
■Description
The EXIT syntax is used only in iteration syntax to end the iteration syntax in a middle of the process. When the EXIT syntax
is reached during the execution of the iteration loop, the iteration loop process after the EXIT syntax is not executed. The
process continues from the line after the one where the iteration syntax is ended.
■Example
FOR intV1 := 0
TO 10
BY 1 DO
IF intV1 > 10 THEN
EXIT;
END_IF;
END_FOR;
5 WRITING PROGRAMS
80
5.1 ST

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec f seriesMelsec l series

Table of Contents