258 Programming: Q Parameters
9.2 Part Families—Q Parameters in Place of Numerical Values
9.2 Part Families—Q Parameters in
Place of Numerical Values
Function
The Q parameter function D0: 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
N150 D00 Q10 P01 +25 *
Assignment
...
Q10 is assigned the
value 25
N250 G00 X +Q10 *
Corresponds to G00 X +25