Rockwell Automation 1772-LV Mini-PLC - 2/15 Programmable Controller (Series B) Programming and Operations User Manual

Page 75

Advertising
background image

Advanced Instruction Set

Chapter 6

6Ć18

Jump

Symbol: -(JMP)-

Purpose: Used with a label instruction to instruct the processor to jump
forward in the main program to the label instruction with the same identification
number. Executes in the main program.

Syntax: Programmed as an output instruction. Do not program in an area
where the jump instruction crosses the boundary between the main program and
subroutine area, or vice-versa.

Function: Execution takes place only on true conditions.

CAUTION: Allowances should be made for conditions which
could be created by the use of the jump instruction. Jumped
program rungs are not scanned by the processor so that input
conditions are not examined and outputs that are controlled by
these rungs remain in their last state. Timers and counters cease
to function. Critical rungs should be reprogrammed outside the
jumped section in the program zone.

Label

Symbol: -(LBL)-

Purpose: Target for the jump and jump to subroutine instructions.

Syntax: Programmed as the first condition instruction in the rung. If
conditions precede a label instruction, they will be ignored by the processor
during a jump operation. Do not program with a program control instruction.

Function: Always true.

NOTE: There are 8 labels available. Each label can only be defined once
(using an octal identifier), but can be the target of multiple jump or jump to
subroutine instructions. Octal identifiers are labeled from 00-07.

Advertising