VAR1 = 1 File was not loaded without return value.
● Without return value:
SP("//NC/MPF.DIR/MYPROG.MPF")
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: RDFILE(
"File name + path", "Section", "Key"
)
Description: Reading from a file
Parameter: File name + path Path and file name
Section Section in the INI file
Key Key in the INI file
Syntax: WRFILE
(Value, "File name + path", "Section", "Key")
Description: Writing to a file
Parameter: Value Value to be written
File name + path Path and file name
Section Section in the INI file
Key Key in the INI file
Syntax: RDLINEFILE
("File name + path", Line number)
Description: Reading a line from a file
Parameter: File name + path Path and file name
Line number Line number
Numbering begins at 0 for the
first line.
Syntax: WRLINEFILE
(Value, "File name + path")
Description: Writing of a line at the end of a file
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens
118 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3