beautypg.com

Label (lbl), Entering parameters – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 335

background image

Chapter 25
Control Instructions

25–3

Label

LBL

Input Instruction

[LBL]

1

LBL

F1

F2

F3

F4

F5

ZOOM on LBL –|LBL|– 2.3.0.0.1
NAME: LABEL
LABEL: 1

EDT_DAT

HHT Ladder Display:

HHT Zoom Display:

Ladder Diagrams and APS Displays:

(online monitor mode)

This input instruction is the target of the JMP instruction having the same
label number. You must program this instruction as the first instruction of a
rung. The Jump (JMP) and its corresponding Label (LBL) must be in the
same program file. This instruction has no control bits. It is always
evaluated as true or logic 1.

You can program multiple jumps to the same label by assigning the same
label number to multiple JMP instructions, but assigning the same label
number to two or more labels causes a compiler error.

Important: Do not jump (JMP) into an MCR zone. Instructions that are

programmed within the MCR zone starting at the LBL
instruction and ending at the “End MCR” instruction will
always be evaluated as though the MCR zone is true, regardless
of the true state of the “Start MCR” instruction.

Entering Parameters

Enter a decimal label number from 0 to 999. You can place up to 1000 labels
in your program or subroutine file.

Label (LBL)