Siemens SINUMERIK 840DE sl Commissioning Manual page 1134

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Programming commands
6.3 Functions
● Without return value:
6.3.11
File accesses: RDFILE, WRFILE, RDLINEFILE, WRLINEFILE
Description
The RDFILE and WRFILE functions are available for read and write access to files with INI
syntax.
The RDLINEFILE and WRLINEFILE functions are available for read and write access to
individual lines of a file.
Programming
Syntax:
Description:
Parameter:
Syntax:
Description:
Parameter:
Syntax:
Description:
Parameter:
Syntax:
Description:
148
VAR1 = 1
File was not loaded without return value.
SP("//NC/MPF.DIR/MYPROG.MPF")
"File name + path", "Section", "Key" )
RDFILE(
Reading from a file
File name + path
Section
Key
(Value, "File name + path", "Section", "Key")
WRFILE
Writing to a file
Value
File name + path
Section
Key
("File name + path", Line number)
RDLINEFILE
Reading a line from a file
File name + path
Line number
(Value, "File name + path")
WRLINEFILE
Writing of a line at the end of a file
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Path and file name
Section in the INI file
Key in the INI file
Value to be written
Path and file name
Section in the INI file
Key in the INI file
Path and file name
Line number
Numbering begins at 0 for the
first line.
SINUMERIK Integrate Run MyScreens (BE2)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents