beautypg.com

Programming example, 10 .8 e n te ri ng f o rm u las d ir e ctly – HEIDENHAIN iTNC 530 (340 422) ISO programming User Manual

Page 436

background image

436

10 Programming: Q Parameters

1

0

.8 E

n

te

ri

ng

F

o

rm

u

las D

ir

e

ctly

Programming example

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

Call the Q parameter functions by pressing the Q key.

For formula input, press the 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?

N37

Q25 = ATAN (Q12/Q13)

25

12

13