# Parametric jump call

The $GOTO command can also program the jump label destinations in parametric form. This permits the external control of an NC program flow (e.g. from the PLC).

In the case of a jump call for expression labels, all the mathematical expressions provided <expr> in the syntax scope to display block numbers are permissible, e.g. parameters, local and global variable and external variables..

Syntax:

$GOTO N.. | Jump call

The jump call of string labels can be parameterised by external variables of the string or string array type (see also section External variables (V.E.)). The name of the jump label is then stored in the external variable.

$GOTO V.E. … | Jump call

## Programing Example

Parametric jump call

N10 ...

:

N50 $GOTO NV.E.JUMP_EXPR ;Jump e.g. to N200 via ext. variable

;V.E.JUMP_EXPR containing the value 200

:

:

N100 $GOTO V.E.JUMP_STR ;Jump e.g. to [CONTINUE) via ext. variable

;V.E.JUMP_STR containing CONTINUE string

:

:

N200:...

:

N500:…

:

:

:

[CONTINUE]…

:

N…