Programming commands
6.3 Functions
Old syntax:
EP("/MPF.DIR/CFI.MPF", VAR1)
;with return value:
; VAR1 = M
; VAR1 = N
; VAR1 = B
Example
EP("\MPF.DIR\CFI.MPF", VAR1)
IF VAR1 == "M"
DLGL("File is located in the HMI file
system")
ELSE
IF VAR1 == "N"
system")
ELSE
HMI nor in the NC file system")
ENDIF
ENDIF
96
DLGL("File is located in the NC file
DLGL("File is located neither in the
File is located in the HMI file system.
File is located in the NC file system.
File is located in the HMI and NC file
system.
; Check whether file CFI.MPF exists in
the HMI file system.
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1