Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual page 363

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

Advertisement

Function name
doc.exist
ncfunc.select
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
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>
363

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents