25 - control instructions, Control instructions overview, Control instructions – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual
Page 333

A–B
25
Chapter
25–1
Control Instructions
This chapter covers the following control instructions.
Instructions for Use with fixed, SLC 5/01, and SLC 5/02 processors:
•
Jump to Label (JMP) and Label (LBL)
•
Jump to Subroutine (JSR) and Subroutine (SBR)
•
Return from Subroutine (RET)
•
Master Control Reset (MCR)
•
Temporary End (TND)
•
Suspend (SUS)
Instructions for use with SLC 5/02 processors only:
The following instructions apply to the Selectable Timed Interrupt (STI)
function, discussed in chapter 30.
•
Selectable Timed Disable (STD)
•
Selectable Timed Start (STS)
•
Selectable Timed Enable (STE)
The following instruction applies to Selectable Timed interrupts and I/O
Event–Driven interrupts, discussed in chapters 30 and 31.
•
Interrupt Subroutine (INT)
The following general information applies to control instructions.
Control instructions allow you to change the order that the processor
scans/solves your ladder diagram rungs. Normally, the processor solves from
left to right on each rung, and from top to bottom of the ladder diagram (rung
0 to the END statement). With control instructions, you can tell the
processor to skip certain rungs (JMP), scan certain groups of rungs (SBR),
end the scan (TND, SUS), or stop/interrupt the scan to do something else
(STI interrupts, Interrupt Subroutine interrupts). Typically, control
instructions are used to minimize scan time, create a more efficient program,
and/or troubleshoot a problem in a program.
Control Instructions Overview