Constructs, Some key words are reserved for future use – Rockwell Automation Logix5000 Controllers Structured Text Programming Manual User Manual
Page 21
Advertising
![background image](/manuals/579870/21/background.png)
Publication 1756-PM007D-EN-P - November 2012
21
Program Structured Text Chapter 1
Constructs
Constructs can be programmed singly or nested within other constructs.
Some Key Words Are Reserved for Future Use
These constructs are not available:
•
GOTO
•
REPEAT
The Logix Designer application will not let you use them.
If you want to
Use this construct
Do something if or when specific conditions occur
IF...THEN
Select what to do based on a numerical value
CASE...OF
Do something a specific number of times before doing
anything else
FOR...DO
Keep doing something as long as certain conditions are
true
WHILE...DO
Keep doing something until a condition is true
REPEAT...UNTIL
Advertising