EasyManua.ls Logo

Siemens SINUMERIK 808D ADVANCED

Siemens SINUMERIK 808D ADVANCED
508 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Commissioning Manual
01/2017
371
Function name
Description
doc.writetofile
The function writes the contents of a string variable to the file speci-
fied.
Parameter:
progname
- file name
str1
- string
Syntax:
<function name="doc.writetofile" > progname, str1
</function>
Example:
<let name = "my_var" type="string" > file content
</let>
NC file system
<function
name="doc.writetofile">_T"n:\mpf\test.mpf", my_var
</function>
CompactFlash card
<function
name="doc.writetofile">_T"f:\appl\
test.mpf", my_var
</function>
or
<function name="doc.writetofile">_T".\test.mpf",
my_var </function>
doc.remove
The function removes the file specified from the directory.
Parameter:
progname
- file name
Note:
The file name is case-sensitive for a file on the CF card.
Syntax:
<function name="doc.remove" > progname </function>
Example:
NC file system
<function name="doc.remove">_T"n:\mpf\test.mpf"
</function>
CompactFlash card
<function name="doc.remove">_T"f:\appl\test.mpf"
</function>
or
<function name="doc.remove">_T".\test.mpf"
</function>

Table of Contents

Other manuals for Siemens SINUMERIK 808D ADVANCED

Related product manuals