Jumps  JMP  JMPC  JMPNC  JMPCN

Statement - Jump to a label.

Remarks

A jump to a label branches the execution of the program after the specified label.

See Insert Jump for directions on how to add a jump to a label.


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

FBD Language Example

  • In the FBD Language, a jump is represented by a signpost containing the label name.
    • The input of the signpost must be connected to a valid Boolean signal.
    • The jump is performed only if the input is TRUE.

In this example, the TON block is not called if bEnable is TRUE.

FFLD Language Example

  • In the FFLD Language, the Insert Jump symbol (FFLD Language Insert Jump 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.
  • Each rung can begin with a label.
  • Labels are used as a destination for jump instructions.

In this example, Network #6 is skipped if IN1 is TRUE.

IL Language Example

Not available.

ST Language Example

Not available.

See Also