NC programming | Program section code
VAR code
In the VAR program section, you assign names (descriptive text) to
variables.
Further information:
"Expanded variable syntax CONST – VAR",
Page 474
The length of the variable name must not exceed 20 characters.
Lower case letters and numbers are allowed. Variables always
begin with #.
Example: VAR
VAR
#_inside_dm = #l2
#_length = #g3
. . .
BLANK
N 1 #_length=120
N 2 #_inside_dm=25
N 3 G20 X120 Z#_length+2 K2 I#_inside_dm
. . .
MACHINING
. . .
HEIDENHAIN | User's Manual smart.Turn and DIN Programming | 12/2017
1
69