EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
1167 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...
Function name Description
Writing to a file The function writes the contents of a string variable to the file specified.
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>
Deleting a file The function removes the file specified from the directory.
Parameter:
progname - file name
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>
Generating user dialogs
1.9 Predefined functions
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 99

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals