beautypg.com

Programming example, Entering formulas directly 8.10 – HEIDENHAIN TNC 128 (77184x-02) User Manual

Page 235

background image

Entering formulas directly

8.10

8

TNC 128 | User's Manual HEIDENHAIN Conversational Programming | 5/2014

235

Programming example

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

Select the formula entering function: Press the Q
key and the FORMULA soft key:

Press the Q key on the externalASCII 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)