Siemens SINUMERIK 880 Programming Manual page 224

Hide thumbs Also See for SINUMERIK 880:
Table of Contents

Advertisement

05.91
Main group 6/subgroup 0: Value assignments with arithmetic operations
In this subgroup, no @ is required. A chain calculation with several notations on the righthand
side of the equation is permitted.
<Var>
=
<Value 1>
<Var>
=
<Value 1>
<Var>
=
<Value 1>
<Var>
=
<Value 1>
Main group 6/subgroup 1: Arithmetic functions
@610 <Var> <Value>
The unsigned amount from the numerical value defined in <Value > is stored in <Var>.
Example:
R12 = 34
@610
R76
R12
@613 <Var> <Value>
The square root is formed from the numerical value defined in <Value > and stored in
<Var>.
Example:
@613
R13
K64
@614 <Var> <Value 1> <Value 2>
The sum of the squares of the numerical values defined in <Value 1 > and <Value 2 >
is formed; the square root is taken from this sum and stored in <Var>.
Example:
R25 = 15
R26 = 20
@614
R77
R25
© Siemens AG 1991 All Rights Reserved
SINUMERIK 880, (PG)
+
<Value 2>
Addition
- <Value 2>
Subtraction
* <Value 2>
Multiplication
/ <Value 2>
Division
The unsigned amount (=34) from R12 is contained in the
R parameter R76.
The square root is taken from the constant (=64) and the
result (=8) is entered/stored in R13.
R26
The square root is formed from the sum of the squares of
the R parameters R25 (=225) and R26 (=400). The
result (=25) is entered/stored in R77.
6ZB5 410-0HD02
11 Programming of Cycles
11.9 Mathematical functions
11–37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw 6Sinumerik 880 ga2Sw 1

Table of Contents