EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK 840DE SL

Siemens SINUMERIK 840DE SL Commissioning Manual

Siemens SINUMERIK 840DE SL
1734 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 #1131 background imageLoading...
Page #1131 background image
Programming
Syntax: DP
("File
")
Description: Delete file
Parameter: File Complete path name of file to be deleted
Example
The following data management syntax is used for this function:
With return value
DP("//NC/MPF.DIR/MYPROG.MPF",VAR1)
DP("//NC/WKS.DIR/TEST.WPD/MYPROG.MPF",VAR1)
DP("//NC/CMA.DIR/MYPROG.SPF",VAR1)
VAR1 = 0 File was deleted.
VAR1 = 1 File was not deleted.
Without return value:
DP("//NC/MPF.DIR/MYPROG.MPF")
DP("//NC/WKS.DIR/TEST.WPD/MYPROG.MPF")
DP("//NC/CMA.DIR/MYPROG.SPF")
6.3.8 Exist Program file function (EP)
Description
The EP (Exist Program) function checks whether a particular NC program is stored on the
specified path in the NC or HMI file system.
Programming
Syntax: EP
("File
")
Description: Checks the existence of the NC program
Parameter: File Complete path to the file in the NC or HMI file system
Return value: Name of a variable to which the result of the scan should be assigned
The EP function can handle the new syntax and the old logic (with adapted syntax).
The file is directly addressed using a qualifying name:
//NC/MPF.DIR/XYZ.MPF
or
CF_CARD: /MPF.DIR/XYZ.MPF (points to /user/sinumerik/data/prog)
or
LOC: (corresponds to CF_CARD)
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 145

Table of Contents

Other manuals for Siemens SINUMERIK 840DE SL

Questions and Answers:

Siemens SINUMERIK 840DE SL Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 840DE SL
CategoryControl Systems
LanguageEnglish

Related product manuals