EasyManuals Logo

Siemens SINUMERIK 804D sl Programming Manual

Siemens SINUMERIK 804D sl
1334 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
Page #565 background imageLoading...
Page #565 background image
3.5 File handling
3.5.1 Write file (WRITE)
The WRITE command writes sets/data from the NC program at the end of a file (log file) in the
passive file system or to external program memory. This can also be the program that is
presently being executed.
Note
If no such file exists in the program memory, one will be created and can be written to using
the WRITE command.
Requirement
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>"/"<ExtG>","<set/data>")
Meaning
WRITE: Command for appending a block or data to the end of the specified file.
<error>: Parameter 1: Variable for returning the error value
Type: INT
Value: 0 No error
1 Path not permitted
2 Path not found
3 File not found
4 Incorrect file type
10 File is full
11 The file is in use
12 No resources available
13 No access rights
14 Missing or unsuccessful EXTOPEN for the output device
15 Error when writing to an external device
16 Invalid external path has been programmed
Work preparation
3.5 File handling
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 565

Table of Contents

Other manuals for Siemens SINUMERIK 804D sl

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 804D sl and is the answer not in the manual?

Siemens SINUMERIK 804D sl Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 804D sl
CategoryControl Systems
LanguageEnglish

Related product manuals