EasyManua.ls Logo

HEIDENHAIN TNC 320 - Page 360

HEIDENHAIN TNC 320
724 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...
Programming Q Parameters | Additional functions
9
360
HEIDENHAIN | TNC 320 | ISO Programming User's Manual | 10/2017
In the NC program, program D16 to activate the output:
Enter the path of the source and the path of the output file in the
D16.
Specify the output file containing the output texts within the
function D16. The control generates the output file at the end
of program (G71), at program abortion (NC-STOPP key) or via
M_CLOSE command.
If you only specify the file name as the path name of
the log file, then the control saves the log file in the
directory of the NC program with the D16 function.
Program relative paths as an alternative to complete
paths:
Starting from the folder of the calling file one folder
level down D16 P01 MASKE\MASKE1.A/ PROT
\PROT1.TXT
Starting from the folder of calling file one folder
level up and in another folder D16 P01 ..\MASKE
\MASKE1.A/ ..\PROT1.TXT
Example
N90 D16 P01 TNC:\MASK\MASK1.A/ TNC:\PROT1.TXT
The control then creates the file PROT1.TXT:
MEASURING LOG OF IMPELLER CENTER OF GRAVITY
DATE: July 15, 2015
TIME: 8:56:34 AM
NO. OF MEASURED VALUES : = 1
X1 = 149.360
Y1 = 25.509
Z1 = 37.000
Operating and programming notes:
If you output the same file multiple times in the
program, then, within the target file, the control
adds the current output after the previously output
contents.
In the D16 block, program the format file and the log
file with their respective file type extensions.
The file name extension of the log file
determines the file format of the output (e.g.,
TXT, .A, .XLS, .HTML).
In machine parameters (no. 102202) and (no. 102203)
you can define a default path for outputting log files.
If you use D16 the file must not be UTF8-encoded.
You receive a great deal of relevant and interesting
information for a log file by means of the function
D18 (e.g., the number of the last touch probe cycle
used).
Further information: "D18 – Reading system data",
page 363

Table of Contents

Other manuals for HEIDENHAIN TNC 320

Related product manuals