beautypg.com

Programming fundamental operations – HEIDENHAIN TNC 640 (34059x-05) ISO programming User Manual

Page 298

background image

Programming: Q Parameters

9.3

Describing contours with mathematical functions

9

298

TNC 640 | User's ManualDIN/ISO Programming | 1/2015

Programming fundamental operations

Example 1

Select the Q parameter functions: Press the Q key

Select the mathematical functions: Press the BASIC

ARITHMETIC soft key

Select the Q parameter function ASSIGN: Press the

D0 X=Y soft key

PARAMETER NUMBER FOR RESULT?

12 Enter the Q parameter number and confirm with
the

ENT key

FIRST VALUE / PARAMETER?

Enter

10: Assign the numerical value 10 to Q5 and

confirm with the

ENT soft key.

Program blocks in the TNC

N17 D00 Q5 P01 +10 *
N17 D03 Q12 P01 +Q5 P02 +7 *

Example 2

Select the Q parameter functions: Press the Q key

Select the mathematical functions: Press the

BASIC ARITHMETIC soft key

To select the Q parameter function

MULTIPLICATION, press the D3 X * Y soft key

PARAMETER NUMBER FOR RESULT?

12 Enter the Q parameter number and confirm
with the

ENT key

FIRST VALUE / PARAMETER?

Enter

Q5 as the first value and confirm with the

ENT key.

SECOND VALUE / PARAMETER?

Enter

7 as the second value and confirm with the

ENT key.