4.31 Programming Variables; Fundamentals - HEIDENHAIN CNC PILOT 640 User Manual

Smart.turn and din programming
Table of Contents

Advertisement

DIN/ISO programming | Programming variables

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
SQRTS(.., ..) Square root of (a
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
HEIDENHAIN | User's Manual smart.Turn and DIN Programming | 12/2017
+b
)
2
2
–b
)
2
2
4
459

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Manualplus 620

Table of Contents