Result codes for SATT instructions
When a tag is assigned to store the result of an Attach to
Equipment Sequence
(SATT) instruction, the instruction returns one of these codes when it runs.Code (Dec) | Description |
0 | The command was successful. |
24579 | The Equipment Sequence cannot be commanded for these reason:
|
24582 | The program already owns the Equipment Sequence . |
24593 | One of these already owns the equipment phase.
|
24594 | The Equipment Sequence is unscheduled, inhibited, or in a task that is inhibited. |
Use the
Result
operand to get a code that shows the success or failure of the SATT instruction. The Result
operand should contain either 0
or a DINT tag, depending on whether ownership conflicts or other errors are likely to occur.- If ownership conflicts or other errors are not likely, enter0in theResultoperand.
- If ownership conflicts or other errors are likely, enter a DINT tag in theResultoperand. The DINT tag stores a code for the result of the execution of the instruction.
Provide Feedback