Additional functions 9.8 – HEIDENHAIN TNC 620 (81760x-02) ISO programming User Manual

Page 309

Advertising
background image

Additional functions

9.8

9

TNC 620 | User's ManualDIN/ISO Programming | 2/2015

309

Keyword

Function

HOUR

Number of hours from the real-time clock

MIN

Number of minutes from the real-time clock

SEC

Number of seconds from the real-time clock

DAY

Day from the real-time clock

MONTH

Month as a number from the real-time clock

STR_MONTH

Month as a string abbreviation from the

real-time clock

YEAR2

Two-digit year from the real-time clock

YEAR4

Four-digit year from the real-time clock

In the part program, program D16 to activate the output:

N90 D16 P01 TNC:\MASK\MASK1.A/ TNC:\PROT1.TXT

The TNC then creates the file PROT1.TXT:
MEASURING LOG OF IMPELLER CENTER OF GRAVITY
DATE: 27.09.2014
TIME: 8:56:34 AM
NO. OF MEASURED VALUES : = 1
X1 = 149.360
Y1 = 25.509
Z1 = 37.000

If you output the same file more than once in the

program, the TNC appends all texts to the end of the

texts already output within the target file.
If you use

D16 more than once in the program, the

TNC saves all texts in the file that you defined in the

D16 function. The file is not output until the TNC

reads the block, or you press the NC stop button, or

you close the file with
In the

D16 block, program the format file and the log

file with their respective file type extensions
If you enter only the file name for the path of the

log file, the TNC saves the log file in the directory
in which the NC program with the

D16 function is

located.
You can define a standard path for outputting

protocol files via the user parameters and (Program

Test).

Advertising