7 Programming with Q Parameters
7.1 Part Families - 0 Parameters Instead of Numerical Values
The Q parameter function FNO: ASSIGN is used for assigning numerical
values to Q parameters.
Example: QIO = 25
This enables you to enter variable Q parameters in the program instead
of numerical values.
Example: L X + 010 (corresponds to L X + 25)
For part families, the characteristic workpiece dimensions can be
programmed as Q parameters. Each of these parameters is then
assigned a different value when the parts are machined.
Example
Cylinder with Q parameters
Cylinder radius
Cylinder height
Cylinder Zl :
R = Ql
H = Q2
Ql = +30
02 = +I0
Cylinder 22: 01 = +I0
Q2 = +50
Fig. 7.2: Workpiece dimensions as Q parameters
To assign numerical values to Q parameters:
Select BASIC ARITHMETIC.
Choose function FNO: ASSIGN.
/
PARAMETER NUEMBER lFY)R REiULT?
c
Enter Q parameter number.
/
Enter value
e.g.a m 1 to Q5.
or another Q parameter whose value is to be assigned
I
Resulting NC block: FNO: 05 = 6
The value to the right of the equal sign is assigned to the Q parameter
to the left.
7-4 TNC 370