EasyManua.ls Logo

HEIDENHAIN CNC PILOT 640 - Programming variables

HEIDENHAIN CNC PILOT 640
697 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DIN/ISO programming | Programming variables
4
HEIDENHAIN | User's Manual smart.Turn and DIN Programming | 12/2017
459
4.31 Programming variables
Fundamentals
The control provides a variety of variable types.
The following rules apply to the use of variables:
Multiplication/division before addition/subtraction
Up to 6 bracket levels
Integer variables: Integer values between –32767 and +32768
Real variables: Floating point numbers with max. 10 integers and 7
decimal places
Do not use any blank spaces when programming variables.
The variable number itself and an index value, if applicable, can be
described by another variable, e.g.: #g( #c2)
See the table for the available functions
Syntax Functions
+
Addition
-
Subtraction
*
Multiplication
/
Division
( )
Parenthesizing
=
Equate function
ABS(...)
Absolute amount
ROUND(...)
Round
SQRT(...)
Square root
SQRTA(.., ..)
Square root of (a
2
+b
2
)
SQRTS(.., ..)
Square root of (a
2
–b
2
)
INT(...)
Truncate decimal places
SIN(...)
Sine (in degrees)
COS(...)
Cosine (in degrees)
TAN(...)
Tangent (in degrees)
ASIN(...)
Arc sine (in degrees)
ACOS(...)
Arc cosine (in degrees)
ATAN(...)
Arc tangent (in degrees)
LOGN(...)
Natural logarithm
EXP(...)
Exponent function
BITSET(...)
Bitset function
STRING(...)
String
PARA(...)
Configuration data

Table of Contents

Related product manuals