Equipment Phase Instructions 
 
430  Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 
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 possible errors 
0 
Want to interpret the result code, refer 
to the Result Codes table below. 
 
PCMD Result Codes 
If assigning a tag to store the result of a PCMD instruction, the instruction returns 
one of these codes when it executes: 
Code (Dec)  Description 
0  Successful command. 
24577  Valid command. 
24578  Invalid command for the current state of the equipment phase. For example, if the 
equipment phase is in the running state, then a start command is not valid. 
24579  Cannot command the equipment phase. One of these already owns the equipment phase. 
•  Logix Designer 
•  HMI 
•  external sequencer (for example, FactoryTalk Batch software) 
•  another program in the controller 
24594  Unscheduled or inhibited equipment phase or in an inhibited task. 
Tip: 
High priority HMI ownership is specific only to CompactLogix 5370 and 
ControlLogix 5570 controllers. 
Affects Math Status Flags 
No 
Major/Minor Faults 
None. See Index Through Arrays for operand-related faults. 
Execution 
For Structured Text, EnableIn is always true during normal scan. Therefore, if the 
instruction is in the control path activated by the logic, it will execute. All 
conditions below the think solid line can only occur during Normal Scan mode. 
Condition/State  Action Taken 
Prescan  No action taken. 
Postscan  No action taken. 
EnableIn is false  No action taken. 
EnableIn is true  The instruction executes as described above.