TND (stop current program)

The TND instruction stops the current cycle of a user program scan. After the output scan, input scan, and housekeeping are complete, re-executes the user program from the start of the first routine.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the Micro810, L20E, L50E, and L70E controllers.
TND
TND
TND parameters
Parameter
Parameter Type
Data Type
Description
Enable
Input
BOOL
Function enable.
  • When Enable = TRUE, perform the function.
  • When Enable = FALSE, do not perform the function.
TND
Output
BOOL
If true, function performed.
  • When variable monitoring is on, the monitoring variable's value is assigned to the instruction's output.
  • When variable monitoring is off, the output variable's value is assigned to the instruction's output.

TND examples

TND function block diagram example
TND function block diagram example
TND ladder diagram example
TND ladder diagram example
TND structured text example
TND structured text example
(* ST Equivalence: *) TESTOUTPUT := TND(TESTENABLE) ;
Results
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal