hit counter script

Exist Program File Function (Ep) - Siemens SINUMERIK 828D Commissioning Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Programming
Syntax:
Description:
Parameter:
Example
The following data management syntax is used for this function:
● With return value
● Without return value:
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:
Description:
Parameter:
Return value:
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)
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
("File ")
DP
Delete file
File
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.
DP("//NC/MPF.DIR/MYPROG.MPF")
DP("//NC/WKS.DIR/TEST.WPD/MYPROG.MPF")
DP("//NC/CMA.DIR/MYPROG.SPF")
("File ")
EP
Checks the existence of the NC program
File
Name of a variable to which the result of the scan should be assigned
Complete path name of file to be deleted
Complete path to the file in the NC or HMI file system
Programming commands
6.3 Functions
115

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF