HEIDENHAIN TNC 310 (286 140) User Manual
Page 174

10 Programming: Q Parameters
162
1
0.3 Descr
ibing Cont
ours
Thr
ough Mathematical F
unctions
10.3 Describing Contours through
Mathematical Operations
The Q parameters listed below enable you to program basic
mathematical functions in a part program:
ú
To select the Q parameter function, press the PARAMETER
FUNCTIONS soft key. The Q parameter functions are displayed in
a soft-key row.
ú
To select the mathematical functions: Press the BASIC
ARITHMETIC soft key. 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
e.g. 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
At the right of the ”=” character you can enter:
■
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.