Siemens SINUMERIK 828D Function Manual page 21

Synchronized actions
Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Example of a condition with an expression with several operators:
Program code
... WHEN ($AA_IM[X] > VALUE) AND ($AA_IM[Y] > VALUE1) DO ...
Arithmetic functions
Operator
Sin()
COS()
TAN()
ASIN()
ACOS()
ATAN2()
SQRT()
ABS()
POT()
TRUNC()
ROUND()
LN()
EXP()
A detailed description of the functions can be found in:
References
Programming Manual, Job Planning; Section "Flexible NC programming" ff.
Indexing
The index of a system variable of type "Array of ..." can in turn be a system variable. The
index is also evaluated in the main run in the interpolation cycle.
Example
Program code
... WHEN ... DO $AC_PARAM[$AC_MARKER[1]]=3
Restrictions
● It is not permissible to nest indices with further system variables.
● The index must not be formed via preprocessing variables. The following example is
Synchronized actions
Function Manual, 07/2012, 6FC5397-5BP40-3BA0
Meaning
Sine
Cosine
Tangent
Arc sine
Arc cosine
Arc tangent 2
Square root
Absolute value
2nd power (square)
Integer component
The accuracy for comparison commands can be set using TRUNC
Round to an integer
Natural logarithm
Exponential function
therefore not permitted since $P_EP is a preprocessing variable:
$AC_PARAM[1] = $P_EP[ $AC_MARKER[0] ]
2.3 System variables for synchronized actions
Detailed description
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 840de sl

Table of Contents