Siemens SINUMERIK 880 Programming Manual page 227

Hide thumbs Also See for SINUMERIK 880:
Table of Contents

Advertisement

11 Programming of Cycles
11.9 Mathematical functions
Main group 6/subgroup 4: Logarithmic functions
@640 <Var> <Value>
The natural logarithm is formed from the numerical value defined in <Value> and stored
in <Var>.
Example:
@640
R80
K10
@641 <Var> <Value>
The exponential function e
stored in <Var>.
Example:
@641
R80
K2.5
Main group 6/subgroup 5: Logic functions
@650 <Var> <Var 1> <Value>
The bit patterns in <Var 1> and <Value> are logically ORed. The result is stored in
<Var>.
Example:
R50 = 00101100
R51 = 10110011
@650
R52
R50
@651 <Var> <Var 1> <Value>
The bit patterns in <Var 1> and <Value> are logically EXORed. The result is stored in
<Var>.
@652 <Var> <Var 1> <Value>
The bit patterns in <Var 1> and <Value> are logically ANDed. The result is stored in
<Var>.
@653 <Var> <Var 1> <Value>
The bit patterns in <Var 1> and <Value> are logically ANDed. The result is negated and
stored in <Var>.
11–40
The natural logarithm is formed from the constant 10. The
result (=2.3025846) is entered/stored in R80.
x
is formed from the numerical value defined in <Value> and
The exponential function is calculated for the exponent
specified by the constant. The result (=12.182496) is
entered/stored in R80.
R51
The pattern variables R50 and R51 are ORed and the
result is stored in R52.
R52 has the contents 10111111.
© Siemens AG 1991 All Rights Reserved
05.91
6ZB5 410-0HD02
SINUMERIK 880, (PG)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw 6Sinumerik 880 ga2Sw 1

Table of Contents