Result codes for SCLF instructions
When a tag is assigned to store the result of an
Equipment Sequence
Clear Failure (SCLF) instruction, the instruction returns one of these codes when it executes.Code (Dec) | Description |
0 | The command was successful. |
48 | The command was not executed because it was not possible at the time to generate an event to record the command.
|
24578 | The command is not valid for the current state of the Equipment Sequence . For example, if the Equipment Sequence is stopped, then a stop command is not valid. |
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 SCLF 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