Delete: Delete File (As From Sw 4.3) - Siemens sinumerik 840d Programming Manual

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

02.98
1
840D
840D
NCU 571
NCU 572
NCU 573
• 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 under the
Services operating area using the "Properties"
softkey.
Machine manufacturer
Blocks from the part program can be stored in a file by
means of the WRITE command. The file size for log files
(KB) is specified in the machine data.
1.18

DELETE: Delete file (as from SW 4.3)

Programming
DELETE(var int error, char[160] filename)
The DELETE command deletes the specified file.
Explanation of the parameters
error
filename
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition

1.18 DELETE: Delete file (as from SW 4.3)

810D
840Di
Error variable for return
0
No error
1
Path not allowed
2
Path not found
3
File not found
4
Incorrect file type
11
File is being used
12
No free resources
20
Other error
Name of the file to be deleted
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/
Flexible NC Programming
1
1-83

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents