beautypg.com

Programming example – HEIDENHAIN TNC 320 (34055x-06) User Manual

Page 282

background image

Programming: Q Parameters

8.10

Entering formulas directly

8

282

TNC 320 | User's Manual HEIDENHAIN Conversational Programming | 5/2013

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 the FORMULA soft key, or use the
shortcut:

Press the Q key on the ASCII keyboard

PARAMETER NUMBER FOR RESULT?

Enter parameter number

25 and press the ENT

key.

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

37 Q25 = ATAN (Q12/Q13)