EasyManua.ls Logo

Allen-Bradley 5069 CompactLogix

Allen-Bradley 5069 CompactLogix
561 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 10
Structured Text Programming
526 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Important:
Do not iterate within the loop too many times in a single scan.
The controller does not execute other statements in the routine until it completes the loop.
A major fault occurs when completing the loop takes longer than the watchdog timer for the
task.
Consider using a different construct, such as IF_THEN.
Description
The syntax is described in the table.
This diagrams illustrates 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

Table of Contents

Other manuals for Allen-Bradley 5069 CompactLogix

Related product manuals