EasyManua.ls Logo

Siemens SINUMERIK 808D ADVANCED

Siemens SINUMERIK 808D ADVANCED
508 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...
Commissioning Manual
370 01/2017
Function name
Description
arctan
The function calculates the arctan of the value transferred in de-
grees.
Parameter:
double
- arctan of y/x
Syntax:
<function name="arctan" return="<double val>"> dou-
ble </function>
Example:
<let name= "arctan_val" type="double"></let>
<function name="arctan" return="arctan_val"> 20.0
</function>
File processing
doc.readfromfile
The function reads the contents of the specified file into a string vari-
able.
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
(optional):
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>

Table of Contents

Other manuals for Siemens SINUMERIK 808D ADVANCED

Related product manuals