ST instruction JMP

The JMP instruction is used to perform an unconditional jump to a line, which is marked by a label.

Syntax:

<label>: <instructions>
JMP <label>;

The <label> is a freely selectable, unique identifier, which you place at the beginning of a line. Reaching the JMP instruction triggers a jump back to the line with the <label>.

Example:

nVar1 := 0; 
_label1 : nVar1 := nVar1+1; 
(*instructions*) 
IF (nVar1 < 10) THEN 
    JMP _label1; 
END_IF;
ST instruction JMP 1:

You must ensure programmatically that no infinite loop is created. For example, you can link the jump to a condition.