HEIDENHAIN TNC 620 User Manual page 344

Conversational programming cnc control; nc software 817600-03; 817601-03; 817605-03
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

9
Programming: Q Parameters
9.10 Entering formulas directly
Soft key
Linking function
Arc tangent
Inverse function of the tangent; determine the
angle
from the ratio of the opposite side to the
adjacent side
e.g. Q12 = ATAN Q50
Powers of values
e g Q15 = 3^3
Constant Pl (3.4159)
e.g. Q15 = PI
Natural logarithm (LN) of a number
Base 2.7183
e. g. Q15 = LN Q11
Logarithm of a number, Base 10
e. g. Q33 = LOG Q22
Exponential function, 2.7183 to the power
of n
e. g. Q1 = EXP Q12
Negate (multiplication by -1)
e.g. Q2 = NEG Q1
Truncate digits after the decimal point
Form an integer
e.g. Q3 = INT Q42
Absolute value of a number
e. g. Q4 = ABS Q22
Truncate digits before the decimal point
Form a fraction
e.g. Q5 = FRAC Q23
Check algebraic sign of a number
e g Q12 = SGN Q50
When return value Q12 = 1, then Q50 >= 0
When return value Q12 = -1, then Q50 < 0
Calculate modulo value (division remainder)
e. g. Q12 = 400 % 360 Result: Q12 = 40
344
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2015

Advertisement

Table of Contents
loading

Table of Contents