Statement - Jump to a label.

Remarks

A jump to a label branches the execution of the program after the specified label. Labels and jumps cannot be used in structured ST language. In FBD language, a jump is represented by the >> symbol followed by the label name. The input of the >> symbol must be connected to a valid boolean signal. The jump is performed only if the input is TRUE. In LD language, the >> symbol, followed by the target label name, is used as a coil at the end of a rung. The jump is performed only if the rung state is TRUE.

attentionAttention

Backward jumps may lead to infinite loops that block the target cycle.

ST Language

Not available.

FBD Language

In this example the TON block will not be called if bEnable is TRUE:

example Example

Fixed_Image

LD Language

In this example the second rung will be skipped if IN1 is TRUE:

example Example

Fixed_Image

Fixed_Image See also

Labels  RETURN


Created with the Personal Edition of HelpNDoc: Easily create EBooks