EasyManuals Logo

Siemens SINUMERIK 810D Programming Manual

Siemens SINUMERIK 810D
687 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 #77 background imageLoading...
Page #77 background image
Flexible NC programming
1.19 DELETE: Delete file
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
1-63
1.19 1.19 DELETE: Delete file
Function
All files can be deleted by means of the DELETE command, irrespective of whether these
were created using the WRITE command or not. Files that were created using a higher
access authorization can also be deleted with DELETE.
Programming
DELETE(VAR INT error, CHAR[160] filename)
Parameters
DELETE Delete the specified file.
error 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 in use
12: No resources available
20: Other error
filename 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, start with "/". If the
file name does not contain a domain identifier (_N_), it is
added accordingly. The file identifier ("_" plus 3
characters), e.g., _SPF) is optional. If there is no
identifier, the file name is automatically added _MPF. 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/
Example
N10 DEF INT ERROR
N15 STOPRE ;Preprocessing stop
N20 DELETE (ERROR,
"/_N_SPF_DIR/_N_TEST1_SPF")
;deletes file TEST1 in the
;subroutine branch
N30 IF ERROR
N40 MSG ("Error with DELETE command:"
<<ERROR)
N50 M0
N60 ENDIF

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals