Manual

Publication LOGIX-UM001B-EN-P - April 2010 99
Equipment Phase Instructions (PSC, PCMD, POVR, PFL, PCLF, PXRQ, PRNP, PPD, PATT, PDET) Appendix A
PATT Result Codes
If you assign a tag to store the result of a PATT instruction, the instruction
returns one of the following codes when it executes.
Arithmetic Status Flags: not affected
Fault Conditions: none
Execution:
Code (Dec) Description
0 The command was successful.
24579 RSLogix 5000 software already owns the equipment phase.
This program now also owns the equipment phase.
Because RSLogix5000 software is higher priority than a program, the
program cannot command the equipment phase.
24582 The program already owns the equipment phase.
24593 One of the following already owns the equipment phase.
external sequencer (FactoryTalk Batch software)
another program in the controller
24594 Equipment phase is inhibited, unscheduled, or in a task that is inhibited.
Condition Relay Ladder Action Structured Text Action
prescan The rung-condition-out is set to false. No action taken.
rung-condition-in is false The rung-condition-out is set to false. N/A
rung-condition-in is true The instruction executes.
The rung-condition-out is set to true.
N/A
scan of structured text N/A In structured text, instructions execute each time
they are scanned. To limit the scan of an instruction,
use a qualifier of an SFC action and/or a structured
text construct.
instruction execution The instruction tries to take ownership of the
specified equipment phase.
The instruction tries to take ownership of the
specified equipment phase.
postscan The rung-condition-out is set to false. No action taken.