Programming
Syntax: MP
("source", "target")
MP("CF_CARD:/MPF.DIR/MYPROG.MPF","//NC/MPF.DIR")
Description: Move file
Parameter:
Source file Complete path data
Target file Complete path data
Return value Result of the query
Examples
With return value:
MP("//NC/MPF.DIR/123.MPF","//NC/MPF.DIR/ASLAN.MPF",VAR1) ;Within NC
MP("//NC/MPF.DIR/123.MPF",VAR0,VAR1) ;Target via variable
MP(VAR4,VAR0,VAR1) ;Source and target via variable
MP("CF_CARD:/mpf.dir/myprog.mpf","//NC/MPF.DIR/123.MPF",VAR1) ;From CF card to NC
MP("//NC/MPF.DIR/HOHO.MPF","CF_CARD:/XYZ/123.mpf",VAR1) ;From NC to CF card
; With return value:
; VAR1 = 0 Executed
; VAR1 = 1 Not executed
6.3.10 Select Program file function (SP)
Description
The
SP (Select Program) function selects a file in the active NC file system for execution, i.e.
the file must be loaded into the NC beforehand.
Programming
Syntax: SP
("File")
Designation: Select program
Parameter: "File" Complete path name of NC file
Example
The following data management syntax is used for this function:
● With return value
SP("//NC/MPF.DIR/MYPROG.MPF", VAR1)
VAR1 = 0 File was loaded.
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 117