User guide

Chapter 25
Control Instructions
252
Jump to Label JMP Output Instruction
(JMP)
(JMP)
1
F1 F2 F3 F4 F5
ZOOM on JMP (JMP) 2.3.0.0.2
NAME: JUMP TO LABEL
LABEL: 1
EDT_DAT
HHT Ladder Display:
HHT Zoom Display:
Ladder Diagrams and APS Displays:
(online monitor mode)
When the rung condition for this output instruction is true, the processor
jumps forward or backward to the corresponding label instruction (LBL) and
resumes program execution at the label. More than one JMP instruction can
jump to the same label. The Jump (JMP) and its corresponding Label (LBL)
must be in the same program file.
When rungs of logic are jumped over or skipped, the processor does not
scan/evaluate them, meaning that outputs, timers, etc. are left in their last
state. The outputs are not deenergized (turned off).
Important: Be careful when using the JMP instruction to move backward or
loop through your program. If you loop too many times, you
may cause the watchdog timer to time out and fault the
processor. Use a counter, timer, or the program scan register
(system status register, word S:3, bits 07) to limit the amount
of time you spend looping inside of JMP/LBL instructions.
Entering Parameters
Enter a decimal label number from 0 to 999. You can place up to 1000 labels
in your program or subroutine file.
Jump to Label (JMP)