Function, Overview – HEIDENHAIN TNC 406 User Manual
Page 210

HEIDENHAIN TNC 406, TNC 416
189
1
0.3
De
scr
ibing Cont
ours th
ro
ugh Mathematical Oper
ations
10.3 Describing Contours through
Mathematical Operations
Function
The Q parameters listed below enable you to program basic
mathematical functions in a part program:
8
Select a Q parameter function: Press the Q key (in the numerical
keypad at right). The dialog FN 0: Assign appears.
8
Select a function directly: Press GOTO, enter the function number,
and select it with the ENT key, or
8
Select a function with the arrow keys: Use the arrow keys to select
the desired function, and confirm your selection with the ENT key.
Overview
To the right of the ”=” character you can enter 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.
Function
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 quotient of two values.
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