Parameter Calculations - Siemens SINUMERIK 880 Programming Manual

Hide thumbs Also See for SINUMERIK 880:
Table of Contents

Advertisement

05.91
7.3

Parameter calculations

Range of parameter values
-8
Minimum value:
1 · 10
Maximum value:
99999999.
Display:
±.99999999 to ±99999999.
Logic operations with parameters
All four basic arithmetic operations are possible with parameters. The sequence of the logic
operations determines the result of the calculation. The rule whereby multiplication and division
are performed before addition and subtraction does not apply here.
Arithmetic
Programmed
operation
Definition
R1 = 100.
Assignment
R1 = R2
Negation
R1 = – R2
Addition
R1 = R2+R3
Subtraction
R1 = R2 – R3
Multiplication
R1 = R2
Division
R1 = R2 / R3
The result of an operation is written in the first parameter of an equation; its initial value is thus
overwritten when the logic operation is performed. The values of the second and/or third
parameters are retained.
Value assignment amongst parameters
If the value of one parameter is to be assigned to another parameter, the following applies:
R1 = R3
Calculation using numbers and parameters
Addition and subtraction of numbers and parameters in conjunction with addresses
It is possible to add a parameter to the value of an address or to subtract it from it. The
following sequence must be used: Address, numerical value, parameter. Calculation signs
must be written. No sign signifies a positive number.
Y = R100+10
or
Y = 10+R100
© Siemens AG 1991 All Rights Reserved
SINUMERIK 880, (PG)
operation
R3
*
6ZB5 410-0HD02
7 Parameters
7.3 Parameter calculations
7–3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw 6Sinumerik 880 ga2Sw 1

Table of Contents