Siemens SINUMERIK Commissioning Manual page 429

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

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:
Description:
Parameters:
Return Value:
Example
EP("\MPF.DIR\CFI.MPF", VAR1)
IF VAR1 == "M"
DLGL("File is located in the HMI file system")
ELSE
IF VAR1 == "N"
ELSE
directory")
ENDIF
ENDIF
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
("File
EP
Checks the existence of the NC program
File
DLGL("File is located in the NC file directory")
DLGL("File is located neither in the HMI nor in the NC file
")
Complete path to the file in the NC or HMI file system
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
; Check whether file CFI.MPF exists in the
HMI file system.
Programming
2.7 Functions
2-79

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents