30.07.2013 Views

User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain

User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain

User's Manual ISO TNC 360 (260020xx, 280490xx) - 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 />

D00: ASSIGN<br />

e.g. N10 D00 Q05 P01 +60 *<br />

Assigns a value directly<br />

D01: ADDITION<br />

e.g. N10 D01 Q01 P01 –Q2 P02 –5 *<br />

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

D02: SUBTRACTION<br />

e.g. N10 D02 Q01 P01 +10 P02 +5 *<br />

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

D03: MULTIPLICATION<br />

e.g. N10 D03 Q02 P01 +3 P02 +3 *<br />

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

D04: DIVISION<br />

e.g. N10 D04 Q04 P01 +8 P02 +Q02 *<br />

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

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

D05: SQUARE ROOT<br />

e.g. N10 D05 Q20 P01 +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 />

7-5

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

Saved successfully!

Ooh no, something went wrong!