EasyManuals Logo
Home>Allen-Bradley>Controller>LOGIX 5000

Allen-Bradley LOGIX 5000 User Manual

Allen-Bradley LOGIX 5000
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
Page #534 background imageLoading...
Page #534 background image
Chapter 10
Structured Text Programming
534 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 any 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:
The following diagrams illustrate how a WHILE_DO loop executes, and how an
EXIT statement leaves the loop early.
While the bool_expression is true, the controller
executes only the statements within the WHILE_DO loop.
To stop the loop before the conditions are true, use an EXIT
statement.
Affects Math Status Flags
No
Fault Conditions
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 LOGIX 5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley LOGIX 5000 and is the answer not in the manual?

Allen-Bradley LOGIX 5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLOGIX 5000
CategoryController
LanguageEnglish

Related product manuals