EasyManua.ls Logo

Siemens SINUMERIK 840D

Siemens SINUMERIK 840D
598 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...
1
Flexible NC Programming 02.98
1.17 WRITE: Write file
(
as from SW 4.3
)
1
840D
NCU 571
840D
NCU 572
NCU 573
810D
840Di
Siemens AG 2000. All rights reserved
1-82
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
04.00 Edition
Function
Using the WRITE command, data (e.g.
measurement results for measuring cycles) can be
appended to the end of the specified file.
The maximum length in KB of the log files is set via
MD 11420 LEN_PROTOCOL_FILE. This length is
applicable for all files created using the WRITE
command.
Once the file reaches the specified length, an error
message is output and the string is not saved. If there is
sufficient free memory, a new file can be created.
The created files can be
read, edited and deleted by all users,
written in the part program that is currently being
executed.
The blocks are inserted at the end of the file, after M30.
Programming example
N10 DEF INT ERROR
;
N20 WRITE(ERROR,"TEST1","LOG FROM
7.2.97")
; Write text from LOG FROM
7.2.97 in the file TEST1
N30 IF ERROR
;
N40 MSG ("Error with WRITE command:"
<<ERROR)
;
N50 M0
;
N60 ENDIF
;
...
WRITE(ERROR,
"/_N_WCS_DIR/_N_PROT_WPD/_N_PROT_MPF",
"LOG FROM 7.2.97")
; Absolute path
Additional notes
If no such file exists in the NC, it is newly created
and can be written to by means of the WRITE
command.

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Related product manuals