Examples of new syntax:
EP("//NC/WKS.DIR/TEST.WPD/XYZ.MPF",VAR1)
EP("CF_CARD:/mpf.dir/XYZ.MPF",VAR1)
EP("LOC:/mpf.dir/XYZ.MPF",VAR1)
; With return value:
; VAR1 = 0 File exists.
; VAR1 = 1 File does not exist.
Example of old syntax:
EP("/MPF.DIR/CFI.MPF", VAR1)
; With return value:
; VAR1 = M File is located in the HMI file system.
; VAR1 = N File is located in the NC file system.
; VAR1 = B File is located in the HMI and the NC file system.
Example
EP("/MPF.DIR/GROB.MPF",VAR1) ; Old - path now with / instead of \
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 system")
ENDIF
ENDIF
6.3.9 Move Program file function (MP)
Description
The MP (Move Program) function copies files within the HMI file system or within the NC file
system.
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens
116 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3