Overview of Structured Text Programming
654 Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018
Description
The syntax is described in the table.
The following diagrams show how a FOR_DO loop executes and how an EXIT
statement leaves the loop early.
The FOR_DO loop executes a specific number of times. To stop the loop before the count reaches the last value, use an EXIT
statement.
Affects Math Status Flags
No
Major/Minor Faults
A major fault will occur if Fault type Fault code
The construct loops too long. 6 1