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
Reading a file The function reads the contents of the specified file into a string varia‐
ble.
The number of characters to be read can optionally be specified as a
second parameter.
Attribute:
return - name of the local variable
Parameter:
progname - file name
number of characters - number of characters to be read in bytes (op‐
tional):
Syntax:
<function name="doc.readfromfile" return="<string
var>"> progname, number of characters </function>
Example:
<let name = "my_var" type="string" ></let>
NC file system
<function name=" doc.readfromfile "
return="my_var"> _T"n:\mpf\test.mpf" </function>
CompactFlash card
<function name=" doc.readfromfile "
return="my_var"> _T"f:\appl\test.mpf" </function>
or
<function name=" doc.readfromfile "
return="my_var"> _T".\test.mpf" </function>
Generating user dialogs
1.9 Predefined functions
Easy XML
98 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals