EasyManuals Logo

Siemens SINUMERIK 808D ADVANCED Series User Manual

Siemens SINUMERIK 808D ADVANCED Series
480 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
Page #361 background imageLoading...
Page #361 background image
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
361
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 808D ADVANCED Series and is the answer not in the manual?

Siemens SINUMERIK 808D ADVANCED Series Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 808D ADVANCED Series
CategoryControl Unit
LanguageEnglish

Related product manuals