Rockwell Automation 1794-Lxxxx PhaseManager User Manual

Page 98

Advertising
background image

98

Publication LOGIX-UM001B-EN-P - April 2010

Appendix A

Equipment Phase Instructions (PSC, PCMD, POVR, PFL, PCLF, PXRQ, PRNP, PPD, PATT, PDET)

Guidelines for Using the PATT Instruction

Guideline

Details

Consider ownership if you have
multiple sequencers that use a
common equipment phase.

Ownership makes sure that a program can command all the equipment phases it needs and
locks out any other sequencers.

Remember that RSLogix 5000
software overrides the controller.

Regardless of whether a program or FactoryTalk Batch software owns an equipment phase,
you can always use RSLogix 5000 software to override ownership and command the
equipment phase to a different state.

Use the Result operand to validate
ownership.

Use the Result operand to get a code that shows the success/failure of the PATT instruction.
To interpret the result code, see “PATT Result Codes” on

page 99

Avoid or plan for a result code =
24582.

On each execution, the PATT instruction tries to take ownership of the equipment phase. Once
a program owns an equipment phase, another execution of the PATT instruction produces a
result code = 24582. When you use a PATT instruction, either:

• limit its execution to a single scan to avoid the 24582 result code.
• include in your conditions for ownership a result code = 24582. See the example on

page 100

.

When the sequence is done,
relinquish ownership.

To relinquish ownership, use a Detach from Equipment Phase (PDET) instruction. See

page 102

.

If you use

Then

FactoryTalk Batch software to also run
sequences within this controller

Before you execute your sequence
(process), take ownership of all the
equipment phases that the sequence
uses.

multiple programs to command the same
equipment phase

none of the above

There is no need to own the equipment
phases.

This

Overrides this

RSLogix 5000 software

controller (internal sequencer)

FactoryTalk Batch software (external sequencer)

controller (internal sequencer)

none

FactoryTalk Batch software (external
sequencer)

none

Advertising
This manual is related to the following products: