Control Functions Jump, Label - Emerson PaCSystems VersaMax Series User Manual

Table of Contents

Advertisement

User Manual
GFK-1503F
Figure 93
10.2.5

Control Functions Jump, Label

The Nested Jump instruction causes a portion of the program logic to be bypassed. Program
execution continues at the Label specified. When the Jump is active, all coils within its scope
are left at their previous states. This includes coils associated with timers, counters, latches,
and relays.
The Nested Jump instruction has the form ———>>LABEL01, where LABEL01 is the name of
the corresponding nested Label instruction.
A nested Jump can be placed anywhere in a program.
There can be multiple nested Jump instructions corresponding to a single nested Label.
Nested Jumps can be either forward or backward Jumps.
There can be nothing after the Jump instruction in the rung. Power flow jumps directly from
the instruction to the rung with the named label.
CAUTION
To avoid creating an endless loop with forward and backward Jump instructions, a backward
Jump must contain a way to make it conditional.
Label
The Label instruction is the target of a Jump. Use the Label instruction to resume normal
program execution. There can be only one Label with a particular name in a program.
The Label instruction has no inputs and no outputs; there can be nothing either before or
after a Label in a rung.
Example Jump and Label Instructions
In the example, whenever Jump TEST1 is active, power flow is transferred to Label TEST1.
Instruction Set Reference
Chapter 10
Jan 2020
121

Advertisement

Table of Contents
loading

Table of Contents