13ć7 – Rockwell Automation 1772-LS_LSP,D17726.8.6 PROG/OPER MANUAL-MINI PLC-2/05 User Manual

Page 155

Advertising
background image

Jump Instructions and Subroutines

Chapter 13

13-7

Keystrokes: You establish a subroutine area by performing the
following steps.

1.

Cursor down to the end of the main program.

2.

Press [SHIFT][SBR].

Important: The boundary marker SUBROUTINE AREA appears. A
subroutine area instruction can only be programmed as the last instruction
in the main program. It cannot be inserted between rungs. It requires one
memory word, can be programmed only once, and cannot be removed
except by clearing the entire subroutine area or the entire memory.

We showed you how to reduce scan time by selectively jumping over
portions of the program. The next chapter shows you how to transfer a
block of data in a single scan.

Chapter Summary

Advertising