HEIDENHAIN CNC PILOT 640 User Manual page 462

Smart.turn and din programming
Table of Contents

Advertisement

4
If the variables are to be retained in the memory
when the control is switched off, this feature must
be activated by the machine tool builder in the
CfgNcPgmParState machine parameter (no 200700).
If this feature is not activated, the variables values will
always be "zero" after power-up.
You can also use variables to program M functions.
String variables
The TIME function writes the date or time to a string variable.
This variable can then be engraved using an engraving cycle.
Contents of variables can be converted to string variables and
added together.
Example: date and time
. . .
N.. #x1=TIME("D.M.YY")
N.. #x2=TIME("h:m:s")
. . .
Example: conversion to a string variable
. . .
N.. #x1=STRING(#i21)
N.. #x2=TIME("h:m:s")+STRING(#i21)
. . .
Machine dimensions
#m1(n) .. #m99(n): n is the designation of the axis (X, Z, Y)
for which the machine dimension is to be read or written. The
variable calculation uses the table mach_dim.hmd.
During the startup of the control, the table mach_dim.hmd is
read by the simulation. The simulation function now uses the
table of the simulation
Example: Machine dimensions
. . .
N.. G1 X(#m1(X)*2)
N.. G1 Z#m3(Z)
N.. #m4(Z)=350
. . .
462
DIN/ISO programming | Programming variables
Date in string variable #x1
Time in string variable #x2
Convert variable #i21 to string variable #x1
Add time and variable #i21
Simulation:
HEIDENHAIN | User's Manual smart.Turn and DIN Programming | 12/2017

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Manualplus 620

Table of Contents