hit counter script

Select Program File Function (Sp) - Siemens SINUMERIK 828D Commissioning Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Programming
Syntax:
Description:
Parameter:
Return value
Examples
With return value:
MP("//NC/MPF.DIR/123.MPF","//NC/MPF.DIR/ASLAN.MPF",VAR1)
MP("//NC/MPF.DIR/123.MPF",VAR0,VAR1)
MP(VAR4,VAR0,VAR1)
MP("CF_CARD:/mpf.dir/myprog.mpf","//NC/MPF.DIR/123.MPF",VAR1)
MP("//NC/MPF.DIR/HOHO.MPF","CF_CARD:/XYZ/123.mpf",VAR1)
; 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:
Designation:
Parameter:
Example
The following data management syntax is used for this function:
● With return value
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
("source", "target")
MP
MP("CF_CARD:/MPF.DIR/MYPROG.MPF","//NC/MPF.DIR")
Move file
Source file
Target file
Result of the query
("File")
SP
Select program
"File"
SP("//NC/MPF.DIR/MYPROG.MPF", VAR1)
VAR1 = 0
File was loaded.
Complete path data
Complete path data
;Within NC
;Target via variable
;Source and target via variable
;From CF card to NC
;From NC to CF card
Complete path name of NC file
Programming commands
6.3 Functions
117

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF