For Sales and Support, Contact Walker EMD • Toll-free: (800) 876-4444 • Tel: (203) 426-7700 • Fax: (203) 426-7800 • www.walkeremd.com
Figure 12.14 - Program Control Window
BRANCH TO LABEL
- Causes the program execution to
jump to the designated instruction label.
CONDITIONAL BRANCH TO LABEL
- Causes program
execution to jump to the designated instruction label only if the
desired condition is met. If it is not met, the program jumps to
the next instruction. The condition can be a physical input or
PLC-to-Sequential flag. The logic state can be selected as logic 1
(true) or logic 0 (false).
CALL SUBROUTINE
- Causes an unconditional subroutine
call. When a subroutine is called the program executes the
instructions starting with the subroutine label. The last
instruction in the subroutine must be a “Return From
Subroutine” instruction. This causes program control to return
to the instruction following the “Call Subroutine” instruction.
Subroutines calls can be nested four deep.
CONDITIONAL SUBROUTINE CALL
- Causes a subroutine
call to the designated instruction label only if the desired
condition is met. If it is not met, the program continues with the
next instruction. The last instruction in the subroutine must be
a “Return From Subroutine” instruction. This causes program
12-17
P R O G R A M M I N G : 1 2