Function, Overview – HEIDENHAIN TNC 320 (340 551-01) User Manual
Page 317
HEIDENHAIN TNC 320
317
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 Q parameter functions are displayed in a soft-
key row.
8
To select the mathematical functions, press the BASIC
ARITHMETIC soft key. The TNC then displays the following soft
keys:
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
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 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