Ret - Return From Subroutine; Sus - Suspend; Tnd - Temporary End - Allen-Bradley MicroLogix 1100 Instruction Set Reference Manual

Hide thumbs Also See for MicroLogix 1100:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
RET - Return from
Subroutine
RET
RET
Return

SUS - Suspend

SUS
SUS
Suspend
Suspend ID
1

TND - Temporary End

TND
Instruction Type: output
Execution Time for the RET Instruction
Controller
When Rung Is:
True
1.68 μs
MicroLogix 1100
The RET instruction marks the end of subroutine execution or the end of
the subroutine file. It causes the controller to resume execution at the
instruction following the JSR instruction, user interrupt, or user fault
routine that caused this subroutine to execute.
Instruction Type: output
The SUS instruction is used to trap and identify specific conditions for
program debugging and system troubleshooting. This instruction causes
the processor to enter the suspend idle mode, causing all outputs to be
de-energized. The suspend ID and the suspend file (program file number
or subroutine file number identifying where the suspend instruction
resides) are placed in the status file (S:7 and S:8).
The immediate data range for the suspend ID is from -32768 to 32767.
Instruction Type: output
Execution Time for the TND Instruction
Controller
When Rung Is:
True
1.0 μs
MicroLogix 1100
The TND instruction is used to denote a premature end-of-ladder program
execution. The TND instruction cannot be executed from a STI
subroutine, HSC subroutine, EII subroutine, or a user fault subroutine.
This instruction may appear more than once in a ladder program.
On a true rung, TND stops the processor from scanning the rest of the
program file. In addition, this instruction performs the output scan, input
scan, and housekeeping aspects of the processor scan cycle prior to
resuming scanning at rung 0 of the main program (file 2). If this
instruction is executed in a nested subroutine, it terminates execution of
all nested subroutines.
Program Control Instructions
False
0.84 μs
False
0.78 μs
Publication 1763-RM001C-EN-P - October 2009
251

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1763-l16bbb1763-l16awa1763-l16bwa1763-l16dwd

Table of Contents