Temporary End (Tnd); Relay Ladder Operands; Structured Text - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Program Control Instructions (JMP, LBL, JSR, RET, SBR, JXR, TND, MCR, UID, UIE, AFI, NOP, EOT, SFP, SFR, EVENT)

Temporary End (TND)

TND();
Description:
Arithmetic Status Flags:
Fault Conditions:
Condition
Prescan
Rung-condition-in is false
Rung-condition-in is true
EnableIn is set
Instruction execution
Postscan
The TND instruction acts as a boundary.
Operands:

Relay Ladder Operands

None

Structured Text

None
You must enter the parentheses () after the instruction mnemonic, even though
there are no operands.
When enabled, the TND instruction lets the controller execute logic only up to
this instruction.
When enabled, the TND instruction acts as the end of the routine. When the
controller scans a TND instruction, the controller moves to the end of the
current 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.
Not affected
None
Execution:
Relay Ladder Action
The rung-condition-out is set to false.
The rung-condition-out is set to false.
The instruction executes.
The rung-condition-out is set to true.
N/A
The current routine terminates.
The rung-condition-out is set to false.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Structured Text Action
No action taken.
N/A
N/A
EnableIn is always set.
The instruction executes.
The current routine terminates.
No action taken.
Chapter 11
465

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents