Application – HEIDENHAIN TNC 620 (81760x-02) ISO programming User Manual

Page 294

Advertising
background image

Programming: Q parameters

9.2

Part families—Q parameters in place of numerical values

9

294

TNC 620 | User's ManualDIN/ISO Programming | 2/2015

9.2

Part families—Q parameters in place
of numerical values

Application

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

N150 D00 Q10 P01 +25 *

Assign

...

Q10 is assigned the value 25

N250 G00 X +Q10 *

Corresponds to G00 X +25

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

Cylinder radius:

R = Q1

Cylinder height:

H = Q2

Cylinder Z1:

Q1 = +30

Q2 = +10

Cylinder Z2:

Q1 = +10

Q2 = +50

Advertising