Function – HEIDENHAIN iTNC 530 (34049x-08) User Manual
Page 312

312
Programming: Q parameters
9.2 P
a
rt
f
a
milies—Q par
a
met
e
rs
in place of numer
ical v
a
lues
9.2 Part families—Q parameters in
place of numerical values
Function
The Q parameter function FN 0: ASSIGN assigns numerical values to
Q parameters. This enables you to use variables in the program
instead of fixed numerical values.
Example NC blocks
You need write only one program for a whole family of parts, entering
the characteristic dimensions as Q parameters.
To program a particular part, you then assign the appropriate values to
the individual Q parameters.
Example
Cylinder with Q parameters
15 FN O: Q10=25
Assignment
...
Q10 is assigned the value
25
25 L X +Q10
Means L X +25
Z1
Q1
Q2
Z2
Q1
Q2
Cylinder radius
R = Q1
Cylinder height
H = Q2
Cylinder Z1
Q1 = +30
Q2 = +10
Cylinder Z2
Q1 = +10
Q2 = +50