4

LABEL

The LABEL instruction functions as the target destination of a JUMP. Use the LABEL instruction to resume normal program execution after a JUMP instruction.

There can be only one LABEL with a particular label name in a program. Programs without a matched JUMP/LABEL pair can be created and stored to the PLC, but cannot be executed.

Logicmaster 90-30/20/Micro software supports two forms of the LABEL function, a non-nested and a nested form. The non-nested form, LABEL01:, must be used with the non-nested JUMP function,

——————>>LABEL01. The nested form, LABEL01:(nested), must be used with the nested JUMP function, ———N——>>LABEL01.

The LABEL instruction has no inputs and no outputs; there can be nothing either before or after a LABEL in a rung.

Non-nested LABEL:

???????:

Nested LABEL:

???????: (nested)

Example:

In the following examples, power flow from JUMP TEST1 is resumed, starting at LABEL TEST1.

Example of a non-nested LABEL:

TEST1 :

Example of a nested LABEL:

TEST1 :(nested)

4-130

Series 90-30/20/Micro Programmable Controllers Reference Manual–September 1998

GFK-0467K

Page 211
Image 211
GE 90-30/20/Micro manual Example of a nested Label