beautypg.com

Programming example, 10 .1 0 ent e ri ng f o rm ulas dir e ctly – HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 359

background image

HEIDENHAIN TNC 320

359

1

0

.1

0 Ent

e

ri

ng F

o

rm

ulas Dir

e

ctly

Programming example

Calculate an angle with the arc tangent from the opposite side (Q12)
and adjacent side (Q13); then store in Q25.

To select the formula entering function, press the
Q key and FORMULA soft key.

Enter the parameter number.

Shift the soft-key row and select the arc tangent
function.

Shift the soft-key row and open the parentheses.

Enter Q parameter number 12.

Select division.

Enter Q parameter number 13.

Close parentheses and conclude formula entry.

Example NC block

PARAMETER NO. FOR RESULT?

37

Q25 = ATAN (Q12/Q13)

25

12

13