Rockwell Automation 1794-Lxxxx PhaseManager User Manual
Page 64

64
Publication LOGIX-UM001B-EN-P - April 2010
Appendix A
Equipment Phase Instructions (PSC, PCMD, POVR, PFL, PCLF, PXRQ, PRNP, PPD, PATT, PDET)
PCMD Result Codes
If you assign a tag to store the result of a PCMD instruction, the instruction
returns one of the following codes when it executes.
See if you must use a POVR
instruction instead of a PCMD
instruction.
A. Are you giving the hold, stop, or abort command?
• NO — Use the PCMD instruction.
• YES — Go to step B.
B. Must the command work even if you have manual control of the equipment phase via
RSLogix 5000 software?
• YES — Use the POVR instruction instead. See
.
• NO — Go to step C.
C. Must the command work even if FactoryTalk Batch software or another program owns the
equipment phase?
• YES — Use the POVR instruction instead. See
.
• NO — Use the PCMD instruction.
Example: Suppose your equipment checks for jammed material. And if there is a jam, you
always want the equipment to abort. In that case, use the POVR instruction. This way, the
equipment aborts even if you have manual control via RSLogix 5000 software.
Decide if you want a result code.
Use the Result operand to get a code that shows the success/failure of the PCMD instruction.
If you
Then in the Result operand, enter a
anticipate ownership conflicts or other
possible errors
DINT tag in which to store a code for the result of
the execution of the instruction
do not anticipate ownership conflicts or
other errors
0
To interpret the result code, see ’PCMD Result Codes’ on
page 64
.
Guideline
Details
Code (Dec)
Description
0
The command was successful.
24577
The command is not valid.