Siemens SINUMERIK 808D Function Manual page 297

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

Advertisement

Function name
doc.exist
ncfunc.select
Function Manual
01/2017
Description
If the file exists, the function returns the value 1.
Parameter:
progname - file name
Note:
The file name is case-sensitive for a file on the CF card.
Syntax:
<function name="doc.exist" return="<int_var>" >
progname </function>
Example:
<let name ="exist">0</let>
NC file system
<function name="doc.exist" re-
turn="exist">_T"n:\mpf\test.mpf" </function>
CompactFlash card
<function name="doc.exist" re-
turn="exist">_T"f:\appl\test.mpf" </function>
or
<function name="doc.exist" re-
turn="exist">_T".\test.mpf" </function>
The function selects the program specified for execution. The pro-
gram 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>
297

Advertisement

Table of Contents
loading

Table of Contents