Temporary End (TND)
The TND instruction conditionally ends a routine.
When enabled, the TND instruction acts as the end of the routine. If the TND instruction is in a subroutine, control returns to the calling routine. If the TND instruction is in a main routine, control returns to the next program within the current task.
Available Languages
Ladder Diagram
FactoryTalk Design Studio
DSL - Ladder DiagramTND();
Operands
Ladder Diagram
None
Affects Math Status Flags
No
Major/Minor Faults
None specific to this instruction. See Common Attributes for operand-related faults.
Execution
Ladder Diagram
Condition/State | Action Taken |
---|---|
Prescan | N/A |
Rung-condition-in is false | N/A |
Rung-condition-in is true. | The routine ends |
Postscan | N/A |
Provide Feedback