Programming Q Parameters | Describing contours with mathematical functions
10.3 Describing contours with mathematical
functions
Application
The Q parameters listed below enable you to program basic
mathematical functions in a machining program:
Select a Q parameter function: Press the Q key (in the numerical
keypad on the right). The Q parameter functions are displayed in
a soft key row
To select the basic mathematical functions, press the
BASIC ARITHM... soft key.
The control then displays the following soft keys:
Overview
Soft key
Function
D00: ASSIGN
e. g., D00 Q5 P01 +60 *
Directly assign value
Reset Q parameter value
D01: ADDITION
e. g., D01 Q1 P01 -Q2 P02 -5 *
Calculate and assign the sum of two values
D02: SUBTRACTION
e. g. D02 Q1 P01 +10 P02 +5 *
Form and assign difference between two values
D03: MULTIPLICATION
e. g. D03 Q2 P01 +3 P02 +3 *
Form and assign the product of two values
D04: DIVISION e.g., D04 Q4 P01 +8 P02 +Q2 *
Calculate and assign the quotient of two values
Not permitted:
D05: SQUARE ROOT e.g., D05 Q50 P01 4 *
Calculate and assign the square root of a value
Not permitted:
You can enter the following to the right of the = sign:
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.
HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017
Division by 0
Square root of a negative value
10
375