Reference Manual
Chapter
4
IVC-2D
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
137
Calculation
Mathematical Expression
This tool performs a calculation based on the mathematical expression given as input
parameter. The evaluation is performed in the same way as when a mathematical expres-
sion is written directly in a tool’s parameter field. It can be used to enhance readability of
the step program by commenting the calculation in a meaningful way.
To maintain good readability when multiple mathematical expression steps are used after
one another, it is suggested to group them together by using
Edit
Æ
Increase tabulation
.
Input Parameters
01=Expression
Mathematical expression. Always starts with a “=”, for example
=2*(S5R1-S4R1)
.
Returned Values
01=Result
The result of the evaluated expression.
Example
Result values are sent from the camera to the PC by the tool ‘Display’. Instead of writing an
expression in each of the tool’s parameter fields, it can be useful to refer to previous
mathematical expression steps that are clearly commented.