beautypg.com

HEIDENHAIN TNC 410 User Manual

Page 221

background image

10 Programming: Q Parameters

208

1

0.3 Descr

ibing Cont

ours T

h

rough Mathematical F

unctions

10.3 Describing Contours Through

Mathematical Functions

The Q parameters listed below enable you to program basic
mathematical functions in a part program:

ú

Select the Q parameter function: Press the Q key (at the right, in
the keypad for numerical input). The Q parameter functions are
displayed in a soft-key row.

ú

To select the mathematical functions: Press the BASIC
ARITHMETIC The TNC then displays the following soft keys:

Function

Soft key

FN0: ASSIGN
Example: FN0: Q5 = +60
Assigns a numerical value.

FN1: ADDITION
Example: FN1: Q1 = –Q2 + –5
Calculates and assigns the sum of two values.

FN2: SUBTRACTION
Example: FN2: Q1 = +10 – +5
Calculates and assigns the difference of two values.

FN3: MULTIPLICATION
Example: FN3: Q2 = +3

* +3

Calculates and assigns the product of two values.

FN4: DIVISION
Example: FN4: Q4 = +8 DIV +Q2
Calculates and assigns the product of two value
Not permitted: Division by 0

FN5: SQUARE ROOT
Example: FN5: Q20 = SQRT 4
Calculates and assigns the square root of a number.
Not permitted: square root of a negative number

“Values” in the above table are entered to the right of the “=”
character and can be any of the following:

Two numbers

Two Q parameters

A number and a Q parameter

The Q parameters and numerical values in the equations can be
entered with positive or negative signs.