EasyManua.ls Logo

IFM O3M150 - Description of the Arithmetic Modules

IFM O3M150
188 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ifm Vision Assistant O3M
162
15.8 Description of the "Arithmetic" modules
In the " Arithmetic" selection area, available modules for calculating with numbers are displayed. The
modules can handle both single signals and vectors.
The "Arithmetic" selection area contains the following modules:
Module Input Output Description
Fixed
value
No input
1 output
(numerical,
single value)
The "Fixed value" module outputs an adjustable floating point number. Typical
applications are arithmetic operations (e.g. setting an offset).
The module has the following setting: set the fixed value (numeric).
ADD
3 inputs
(numerical,
single values /
vectors)
1 output
(numerical,
single values /
vectors
depending on
inputs)
The "ADD" module adds the signals present at the inputs. The binary values "1"
and "0" are treated as numerical values. Input "in3" is interpreted as "0" if it is
not used.
How the module processes vectors and single values at the inputs
is illustrated in an example (→ „15.8.1 Examples for processing
input signals“).
DIFF
3 inputs
(numerical,
single values /
vectors)
1 output
(numerical,
single values /
vectors
depending on
inputs)
The "DIF" module subtracts the signals present at the inputs. The binary values
"1" and "0" are treated as numerical values. Input "in3" is interpreted as "0" if it is
not used.
How the module processes vectors and single values at the inputs
is illustrated in an example (→ „15.8.1 Examples for processing
input signals“).
MULT
3 inputs
(numerical,
single values /
vectors)
1 output
(numerical,
single values /
vectors
depending on
inputs)
The "MULT" module multiplies the signals present at the inputs. The binary
values "1" and "0" are treated as numerical values. Input "in3" is interpreted as
"1" if it is not used.
How the module processes vectors and single values at the inputs
is illustrated in an example (→ „15.8.1 Examples for processing
input signals“).
DIV
3 inputs
(numerical,
single values /
vectors)
1 output
(numerical,
single values /
vectors
depending on
inputs)
The "DIV" module divides the signals present at the inputs. Input "in3" is
interpreted as "1" if it is not used.
How the module processes vectors and single values at the inputs
is illustrated in an example (→ „15.8.1 Examples for processing
input signals“).
SQRT
1 input
(numerical,
single value /
vector)
1 output
(numerical,
single value /
vector
depending on
inputs)
The output of the "SQRT" module is the square root of the signal present at the
input.
Scale
3 inputs
(numerical,
single values /
vectors)
1 output
(numerical,
single values /
vectors
depending on
inputs)
The "Scale" module scales the signal present at input "in1". The range to be
scaled is set by the inputs "in2" (start value) and "in3" (end value). The binary
values "1" and "0" are treated as numerical values. Input "in3" is interpreted as
"0" if it is not used.
If "in1" < "in2", the output is "0" (clipping).
If "in1" > "in3", the output is "1" (clipping).
How the module processes vectors and single values at the inputs
is illustrated in an example (→ „15.8.1 Examples for processing
input signals“).
SIN
1 input
(numerical
[rad], single
value / vector)
1 output
(numerical,
single value /
vector
depending on
inputs)
The "SIN" module calculates the sine from the input signal. The signal at the
input is interpreted as [rad].
COS
1 input
(numerical
[rad], single
value / vector)
1 output
(numerical,
single value /
vector
depending on
inputs)
The "COS" module calculates the cosine from the input signal. The signal at the
input is interpreted as [rad].

Table of Contents

Related product manuals