Write File (Write) - Siemens SINUMERIK 840D sl Programming Manual

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

1.18

Write file (WRITE)

1.18
Function
The WRITE command can be used to write blocks/data from the part program to the end of a
specific file (log file) or to the end of the part program currently being executed. The
blocks/data are/is inserted at the end of the file, i.e. after M30.
Note
If no such file exists in the NC, one will be created and can be written to using the WRITE
command.
The storage location is the static NC memory. In the case of SINUMERIK 840D sl this is the
CompactFlash Card. Unlike SINUMERIK 840D this increases the runtime of the WRITE
command by approx. 75 ms.
If a file with the same name exists on the hard disk, it is overwritten after the file is closed (in
the NC). Remedy: Change the name in the NC in the "Services" operating area using the
"Properties" softkey.
Condition
The currently set protection level must be equal to or greater than the WRITE right of the file.
If this is not the case, access is denied with an error message (return value of error variable
= 13).
Syntax
DEF INT <error>
WRITE(<error>,"<file name>","<block/data>")
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Flexible NC programming
1.18 Write file (WRITE)
147

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents