6. Function blocks
6.1 Manufacturer function blocks
6.1.7.7 LB - Jump label
General
This function block is only available when using the EDP
(easy Device Programming) programming language.
easyE4 base devices provide 32 jump label function blocks,
LB01 through LB32.
Within a function block diagram, an LB jump label is used as
a jump target for a conditional jump implemented with the JC
function block.
JC.. and LB.. must always be used in pairs.
Operating principle
The jump label function block does not have to be linked or assigned parameters. It
only has to be placed at the appropriate position in the function block diagram.
A corresponding JC.. function block (conditional jump) must exist for every LB.. func-
tion block. Conditional jump JC01, for example, is always associated with jump label
LB01.
Seen from the corresponding conditional jump function block, the jump label must
always be downstream. In other words, it must be closer to the end of the function
block diagram.
If the jump label is located upstream of the jump location (backward jump), the pro-
gram will branch off to the end of the function block diagram. In this case, the con-
ditional jump function block output will be set to state E1 = 1.
The JC function block is used in the circuit diagram, while the LB func-
tion block is used in the function block diagram.
easyE402/24 MN050009ENEaton.com
521