HEIDENHAIN TNC 426B (280 472) ISO programming User Manual
Page 271

10 Programming: Q Parameters
256
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:
ú
To select the mathematical functions: Press the BASIC
ARITHMETIC soft key. The TNC then displays the following soft
keys:
Function
Soft key
D00: ASSIGN
e.g. D00 Q5 P01 +60 *
Assigns a numerical value.
D01: ADDITION
e.g. D01 Q1 P01 –Q2 P02 –5 *
Calculates and assigns the sum of two values.
D02: SUBTRACTION
e.g. D02 Q1 P01 +10 P02 +5 *
Calculates and assigns the difference of two values.
D03: MULTIPLICATION
e.g. D03 Q2 P01 +3 P02 +3 *
Calculates and assigns the product of two values.
D04: DIVISION
e.g. D04 Q4 P01 +8 P02 +Q2 *
Calculates and assigns the quotient of two values
Not permitted: division by 0
D05: SQUARE ROOT
e.g. D05 Q20 P01 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.
Mkap10.pm6
29.06.2006, 08:06
256