Temporary end (tnd), Suspend (sus), Preface – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual
Page 186: Entering parameters
Preface
MicroLogix 1000 Programmable Controllers User Manual
10–8
Temporary End (TND)
This instruction, when its rung is true, stops the controller from scanning the rest of
the program file, updates the I/O, and resumes scanning at rung 0 of the main
program (file 2). If this instruction’s rung is false, the controller continues the scan
until the next TND instruction or the END statement. Use this instruction to
progressively debug a program, or conditionally omit the balance of your current
program file or subroutines.
Note
If you use this instruction inside a nested subroutine, execution of all nested
subroutines is terminated.
Do not execute this instruction from the user error fault routine (file 3), high-speed
counter interrupt routine (file 4), or selectable timed interrupt routine (file 5)
because a fault will occur.
Suspend (SUS)
When this instruction is executed, it causes the controller to enter the Suspend Idle
mode and stores the Suspend ID in word 7 (S:7) at the status file. All outputs are
de-energized.
Use this instruction to trap and identify specific conditions for program debugging
and system troubleshooting.
Entering Parameters
Enter a suspend ID number from –32,768 to
+
32,767 when you program the
instruction.
Execution Times
(
µ
sec) when:
True
False
7.78
3.16
(TND)
Execution Times
(
µ
sec) when:
True
False
10.85
7.87
SUS
SUSPEND
Suspend ID