EasyManuals Logo

Siemens SINUMERIK 804D sl Commissioning Manual

Siemens SINUMERIK 804D sl
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 #1135 background imageLoading...
Page #1135 background image
Parameter: Value Value to be written
File name + path Path and file name
Note
The files must not be in the file system of the NC (data management).
If the file does not exist, or the end of the file is reached or other errors occur, the variables
FILE_ERR and ERR are set accordingly. You can check whether a file exists first with the
Exist Program (EP) file function.
The processed file is generated in "UTF-8" coding (without BOM (Byte Order Mask). When
reading a file, it is expected in "UTF-8" coding.
You can delete the file explicitly when required with the Delete Program (DP) file function.
Examples
Reading from an INI file:
Requirement/assumption:
Content of file C:/tmp/myfile.ini:
<…>
[MyData]
MyName=Daniel
<…>
MyVar = RDFILE("C:/tmp/myfile.ini", "MyData", "MyName")
Result:
MyVar now contains the value "Daniel".
Writing to an INI file:
Requirement/assumption:
VARS=12
WRFILE(VARS, "C:/tmp/myfile.ini", "MySession", "NrOfSessions")
Result:
Content of file C:/tmp/myfile.ini:
<…>
[MySession]
NrOfSessions=12
<…>
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 149

Table of Contents

Other manuals for Siemens SINUMERIK 804D sl

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 804D sl and is the answer not in the manual?

Siemens SINUMERIK 804D sl Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 804D sl
CategoryControl Systems
LanguageEnglish

Related product manuals