HEIDENHAIN TNC 620 User Manual page 286

Klartext programming
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

9
Soft key
Linking function
Natural logarithm (LN) of a number
Base = e = 2.7183
e.g. Q15 = LN Q11
Logarithm of a number
Base = 10
e.g. Q33 = LOG Q22
Exponential function (e ^ n)
Base = e = 2.7183
e.g. Q1 = EXP Q12
Negate values
Multiply by -1
e.g. Q2 = NEG Q1
Truncate decimal places
Form an integer
e.g. Q3 = INT Q42
Absolute value of a number
e.g. Q4 = ABS Q22
Truncate places before the decimal point
Form a fraction
e.g. Q5 = FRAC Q23
Check algebraic sign of a number
e.g. Q12 = SGN Q50
If Q50 = 0, then SGN Q50 = 0
If Q50 < 0, then SGN Q50 = -1
If Q50 > 0, then SGN Q50 = 1
Calculate the modulo value (division remainder)
e. g., Q12 = 400 % 360 Result: Q12 = 40
286
The INT function does not round off—it simply truncates
the decimal places.
Further information: "Example: Rounding a value",
Page 351
Programming Q parameters | Entering formulas directly
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022
Priority
Function
Function
Function
Function
Function
Function
Function
Function
Function

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 620 eTnc 620 programming station

Table of Contents