Siemens SINUMERIK 828D Commissioning Manual page 853

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

Advertisement

Function name
Exist
NC program selection
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Description
If the file exists, the function returns the value 1.
Parameter:
progname - file name
Syntax:
<function name="doc.exist" return="<int_var>" >
progname </function>
Example:
<let name ="exist">0</let>
NC file system
<function name="doc.exist" return="exist">_T"n:\mpf
\test.mpf" </function>
CompactFlash card
<function name="doc.exist" return="exist">_T"f:
\appl\test.mpf" </function>
or
<function name="doc.exist" return="exist">_T".
\test.mpf" </function>
The function selects the program specified for execution. The program
must be stored in the NC file system.
Parameter:
progname - file name
Syntax:
<function name="ncfunc.select"> progname </
function>
Example:
NC file system
<function name="ncfunc.select"> _T"n:\mpf
\test.mpf" </function>
CompactFlash card
<function name="ncfunc.select"> _T"f:\appl
\test.mpf" </function>
or
<function name="ncfunc.select"> _T".\test.mpf" </
function>
Generating user dialogs
1.9 Predefined functions
101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents