beautypg.com

Z1 z2 – HEIDENHAIN TNC 407 (280 580) User Manual User Manual

Page 189

background image

TNC 425/TNC 415 B/TNC 407

7-4

7

Programming with Q Parameters

Fig. 7.2: Part dimensions as Q parameters

Q

Q2

Q2

Q1

Q1

Z1

Z2

ENT

e.g.

5

ENT

e.g.

6

7.1 Part Families – Q Parameters Instead of Numerical Values

The Q parameter function FN0: ASSIGN is for assigning numerical values
to Q parameters.
Example: Q10 = 25

This enables you to enter variable Q parameters in the program instead of
fixed numerical values.
Example: L X + Q10 (= L X + 25)

You write one program for a whole family of parts,
entering the characteristic dimensions as Q param-
eters. To program a specific part you then need
only assign the fitting values to the individual Q
parameters.

Example

Cylinder with Q parameters

Cylinder radius

R

=

Q1

Cylinder height

H

=

Q2

Cylinder Z1:

Q1 = +30
Q2 = +10

Cylinder Z2:

Q1 = +10
Q2 = +50

To assign numerical values to Q parameters:

Select “basic arithmetic”.

Open a new block with function FN0.

PARAMETER NUMBER FOR RESULT ?

Enter the Q parameter number.

FIRST VALUE / PARAMETER ?

Enter a value or another Q parameter whose value should be assigned
to Q5.

Resulting NC block: FN0: Q5 = 6

The value to the right of the equal sign is assigned to the Q parameter to
its left.