Programming example, 8 ent er ing fo rm ulas dir ectly – HEIDENHAIN iTNC 530 (60642x-04) ISO programming User Manual
Page 306
Advertising

306
Programming: Q Parameters
9.8
Ent
er
ing
fo
rm
ulas
dir
ectly
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
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
Advertising