31.07.2013 Views

User's Manual TNC 360 (from 259 900-11) - heidenhain

User's Manual TNC 360 (from 259 900-11) - heidenhain

User's Manual TNC 360 (from 259 900-11) - heidenhain

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7 Programming with Q Parameters<br />

7.2 Describing Contours Through Mathematical Functions<br />

Overview<br />

<strong>TNC</strong> <strong>360</strong><br />

The mathematical functions assign the results of one of the following<br />

operations to a Q parameter:<br />

FN0: ASSIGN<br />

e.g. FN0: Q5 = +60<br />

Assigns a value directly<br />

FN1: ADDITION<br />

e.g. FN1: Q1 = –Q2 + –5<br />

Calculates and assigns the sum of two values<br />

FN2: SUBTRACTION<br />

e.g. FN2: Q1 = +10 – +5<br />

Calculates and assigns the difference between two values<br />

FN3: MULTIPLICATION<br />

e.g. FN3: Q2 = +3 ❊ +3<br />

Calculates and assigns the product of two values<br />

FN4: DIVISION<br />

e.g. FN4: Q4 = +8 DIV +Q2<br />

Calculates and assigns the quotient of two values<br />

Note Note Note: Note Division by 0 is not possible!<br />

FN5: SQUARE ROOT<br />

e.g. FN5: Q20 = SQRT 4<br />

Calculates and assigns the square root of a number<br />

Note: Square root of a negative number is not possible!<br />

The “values” in the overview above can be:<br />

• two numbers<br />

• two Q parameters<br />

• a number and a Q parameter<br />

The Q parameters and numerical values in the equations can be entered<br />

with positive or negative signs.<br />

To select a mathematical operation<br />

Q<br />

DEF<br />

FN0: ASSIGN<br />

or<br />

GOTO<br />

3 ENT<br />

FN3: MULTIPLICATION<br />

ENT<br />

Select function directly or with arrow keys,<br />

e.g. FN3: MULTIPLICATION.<br />

Open a new block with the function FN3: MULTIPLICATION.<br />

7-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!