Rockwell Automation 1794-Lxxxx PhaseManager User Manual

Page 36

Advertising
background image

36

Publication LOGIX-UM001B-EN-P - April 2010

Chapter 3

Guidelines

Assign a prestate routine.

Use a state bit to limit code to a specific
state

RSLogix 5000 software automatically makes a tag for each equipment phase. The tag has bits
that tell you the state of the equipment phase.

• The tag is at the controller scope.
• The tag uses the PHASE data type.
• Use bits of the tag for code that you want to limit to certain states.

Example

Suppose the name of your equipment phase is My_Phase. And you have some code that you
want to run only when the equipment phase is in the running state. In that case, check the
My_Phase.Running bit for on (1):

If My_Phase.Running then…

See

Appendix B

for more information.

Guideline

Details

1.

3.

4.

2.

Advertising
This manual is related to the following products: