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
02.98 Flexible NC Programming
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
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
04.00 Edition
1-81
1.17 WRITE: Write file (as from SW 4.3)
Programming
WRITE(var int error, char[160] filename, char[200] string)
The WRITE command appends a block to the end of the specified file.
Explanation of the parameters
error
Error variable for return
0 No error
1 Path not allowed
2 Path not found
3 File not found
4 Incorrect file type
10 File is full
11 File is being used
12 No free resources
13 No access rights
20 Other error
filename
Name of file in which the string is to be written.
The file name can be specified with path and file identifier. Path names
must be absolute, that is, starting with "/". If the file name does not
contain a domain identifier (_N_), it is added accordingly. If no identifier
(_MPF, _SPF or _CYC) is specified, _MPF is automatically added. If
there is no path specified, the file is saved in the current directory
(= directory of selected program). The file name length can be up to 32
bytes, the path length up to 128 bytes.
Example:
PROTFILE
_N_PROTFILE
_N_PROTFILE_MPF
/_N_MPF_DIR_/_N_PROTFILE_MPF/
string
Text to be written. Internally LF is then added; this means that the text is
lengthened by one character.

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Related product manuals