EasyManuals Logo
Home>Allen-Bradley>Controller>Studio 5000 Logix Emulate

Allen-Bradley Studio 5000 Logix Emulate User Manual

Allen-Bradley Studio 5000 Logix Emulate
676 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 #658 background imageLoading...
Page #658 background image
Chapter 11
658 Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018
Use the REPEAT_UNTIL loop to keep doing something until conditions are
true.
Operands
REPEAT
<statement>;
Structured Text
Operand Type Format Enter
bool_
expression
BOOL Tag expression BOOL tag or expression that evaluates to a BOOL value
(BOOL expression)
Important:
Make sure that you 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.
If the time that it takes to complete the loop is greater than the watchdog timer for the task, a
major fault occurs.
Consider using a different construct, such as IF_THEN.
Description
The syntax is:
The following diagrams show how a REPEAT_UNTIL loop executes and how an
EXIT statement leaves the loop early.
REPEAT_UNTIL

Table of Contents

Other manuals for Allen-Bradley Studio 5000 Logix Emulate

Questions and Answers:

Question and Answer IconNeed help?

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

Allen-Bradley Studio 5000 Logix Emulate Specifications

General IconGeneral
BrandAllen-Bradley
ModelStudio 5000 Logix Emulate
CategoryController
LanguageEnglish

Related product manuals