beautypg.com

10 - using program flow control instructions, Using program flow control instructions, Programming – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 179

background image

Using Program Flow Control Instructions

10–1

10

Using Program Flow Control

Instructions

This chapter contains general information about the program flow instructions and
explains how they function in your application program. Each of the instructions
includes information on:

what the instruction symbol looks like

typical execution time for the instruction

how to use the instruction

In addition, the last section contains an application example for a paper drilling
machine that shows the program flow control instructions in use.

Program Flow Control Instructions

Instruction

Purpose

Page

Mnemonic

Name

Purpose

Page

JMP and
LBL

Jump to Label and
Label

Jump forward or backward to the specified label
instruction.

10–2

JSR, SBR,
and RET

Jump to
Subroutine,
Subroutine, and
Return from
Subroutine

Jump to a designated subroutine and return.

10–4

MCR

Master Control
Reset

Turn off all non-retentive outputs in a section of
ladder program.

10–7

TND

Temporary End

Mark a temporary end that halts program execution.

10–8

SUS

Suspend

Identifies specific conditions for program debugging
and system troubleshooting.

10–8

IIM

Immediate Input
with Mask

Program an Immediate Input with Mask.

10–9

IOM

Immediate Output
with Mask

Program an Immediate Output with Mask.

10–9

Programming