Chapter
4
Reference Manual
IVC-2D
136
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
Calculation
4.8
Calculation
Mathematical Operation
This tool offers basic mathematical operations of two input parameters.
Note that division by 0 will return the value 2147483647.
Input Parameters
01 = Variable A
First value for operation.
02 = Variable B
Second value for operation.
03 = Mathematical operation
Operator
Basic mathematical operations
or Boolean operation.
Double click on input box and select one of follow-
ing operation:
=
: writes parameter A in the specified table row
+, - ,
×
, /
(basic mathematical operations)
OR
Max
Min
Mean
Absolute value of difference
unsigned subtraction
And
Square root
: the square root of variable A.
Variable B can be used for setting the num-
ber of decimals in the result:
-1
Do not round off the result
0
-
9
Number of decimals in the result
04 = Table index
Row in table where the result should be written.
Returned Values
01 = Operation result
Result