Programming
2.7 Functions
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-79
2.7.10
Exist Program (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
Parameters:
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 result of the scan can be:
•
M = File is stored on HMI
•
N = file is stored on NC
•
Blank string = The file neither exists on the HMI nor on
the NC
Example
EP("\MPF.DIR\CFI.MPF", VAR1)
; Check whether file CFI.MPF exists in the
HMI file system.
IF VAR1 == "M"
DLGL("File is located in the HMI file system")
ELSE
IF VAR1 == "N"
DLGL("File is located in the NC file directory")
ELSE
DLGL("File is located neither in the HMI nor in the NC file
directory")
ENDIF
ENDIF
Summary of Contents for SINUMERIK
Page 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Page 96: ......
Page 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...