beautypg.com

HEIDENHAIN TNC 407 (280 580) User Manual User Manual

Page 191

background image

TNC 425/TNC 415 B/TNC 407

7-6

7

Programming with Q Parameters

7.2 Describing Contours Through Mathematical Functions

Press the “basic arithmetic” soft key to call the following functions:

Overview

The mathematical functions assign the result of one of the following
operations to a Q parameter:

Soft key

FN0: ASSIGN
e.g. FN0: Q5 = +60
Assigns a fixed numerical value.

FN1: ADDITION
e.g. FN1: Q1 = –Q2 + -5
Calculates and assigns sum of two values.

FN2: SUBTRACTION
e.g. FN2: Q1 = +10 - +5
Calculates and assigns difference between two values.

FN3: MULTIPLICATION
e.g. FN3: Q2 = +3

+3

Calculates and assigns product of two values.

FN4: DIVISION
e.g. FN4: Q4 = +8 DIV +Q2
Calculates and assigns quotient of two values.

Division by 0 is not permitted

FN5: SQUARE ROOT
e.g. FN5: Q20 = SQRT 4
Calculates and assigns the root of a number.

Square root of a negative number is not permitted

In the above table, "values" can be:

• two numbers
• two Q parameters, or
• a number and a Q parameter

The Q parameters and numerical values in the equations can be entered
with positive or negative signs.

Q

To select a mathematical operation:

Select “basic arithmetic.”

Select FN3: multiplication, for example.