Constructs; Some Key Words Are Reserved - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Appendix C
Structured Text Programming

Constructs

If you want to
Do something if or when specific conditions occur
Select what to do based on a numerical value
Do something a specific number of times before
doing anything else
Keep doing something as long as certain conditions
are true
Keep doing something until a condition is true
680
Constructs can be programmed alone or nested within other constructs.
Use this construct
IF...THEN
CASE...OF
FOR...DO
WHILE...DO
REPEAT...UNTIL

Some Key Words are Reserved

These constructs are not available:
• GOTO
• REPEAT
RSLogix 5000 software will not let you use them as tag names or constructs.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Available in these languages
Structured text
Structured text
Structured text
Structured text
Structured text
Page
681
684
687
690
693

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents