Allen-Bradley Logix5000 Reference Manual page 685

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

Advertisement

Arithmetic Status Flags:
Fault Conditions:
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
These are the syntax for entering the selector values.
When selector is
One value
Multiple, distinct values
A range of values
Distinct values plus a range of
values
The CASE construct is similar to a switch statement in the C or C++
programming languages. However, with the CASE construct the controller
executes only the statements that are associated with the first matching selector
value. Execution always breaks after the statements of that selector and goes to
the END_CASE statement.
Not affected
None
Structured Text Programming
Enter
value: statement
value1, value2, valueN : <statement>
Use a comma (,) to separate each value.
value1..valueN : <statement>
Use two periods (..) to identify the range.
valuea, valueb, value1..valueN : <statement>
Appendix C
685

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents