EasyManuals Logo

Siemens MCP 398C Commissioning Manual

Siemens MCP 398C
1734 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 #835 background imageLoading...
Page #835 background image
Function name Description
Writing to a file The function writes the contents of a string variable to the file specified.
The file name should be written in lowercase letters.
Files in other directories are accessed via a relative path that uses the
appl or dvm directory as a starting point.
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>
Generating user dialogs
1.10 Predefined functions
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 117

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals