3 describing contours with mathematical functions, Application, Overview – HEIDENHAIN TNC 640 (34059x-02) User Manual
Page 282: Describing contours with mathematical functions
Programming: Q Parameters
9.3
Describing contours with mathematical functions
9
282
TNC 640 | User's Manual
HEIDENHAIN Conversational Programming | 5/2013
9.3
Describing contours with
mathematical functions
Application
The Q parameters listed below enable you to program basic
mathematical functions in a part program:
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
Select the mathematical functions: Press the BASIC
ARITHMETIC soft key. The TNC then displays the following soft
keys:
Overview
Function
Soft key
FN 0: ASSIGN
e.g.
FN 0: Q5 = +60
Directly assign value
FN 1: ADDITION
z.B.
FN 1: Q1 = -Q2 + -5
Form and assign sum from two values
FN 2: SUBTRACTION
e.g.
FN 2: Q1 = +10 - +5
Form and assign difference between two values
FN 3: MULTIPLICATION
e.g.
FN 3: Q2 = +3 * +3
Form and assign the product of two values
FN 4: DIVISION e.g. FN 4: Q4 = +8 DIV +Q2
Form and assign the quotient of two values
Not
permitted:
Division by 0
FN 5: SQUARE ROOT e.g. FN 5: Q20 = SQRT 4
Form and assign the square root of a value
Not
permitted:
Square root from negative value
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.