Detach from equipment phase (pdet) – Rockwell Automation 1794-Lxxxx PhaseManager User Manual
Page 102

102
Publication LOGIX-UM001B-EN-P - April 2010
Appendix A
Equipment Phase Instructions (PSC, PCMD, POVR, PFL, PCLF, PXRQ, PRNP, PPD, PATT, PDET)
Detach from Equipment
Phase (PDET)
Use the PDET instruction to relinquish ownership of an equipment phase.
Operands:
Relay Ladder
Structured Text
The operands are the same as those for the relay ladder PDET instruction.
Description:
After a program executes a PDET instruction, the program no longer owns the
equipment phase. This frees the equipment phase for ownership by another
program or by FactoryTalk Batch software. Use the PDET instruction only if
the program previously took ownership of an equipment phase via an Attach
to Equipment Phase (PATT). instruction.
Arithmetic Status Flags:
not affected
Fault Conditions:
none
Execution:
Operand
Type
Format
Description
Phase Name phase
name of the
equipment
phase
Equipment phase that you no longer want to
own
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 relinquishes ownership of the
specified equipment phase.
The instruction relinquishes ownership of the
specified equipment phase.
postscan
The rung-condition-out is set to false.
No action taken.