169
ifm Vision Assistant O3M
UK
15.11 Description of the "Vector-specific functions" modules
In the "Vector-specific functions" selection area, functions are displayed which convert vectors into single
values .
The "Vector-specific functions" modules require vectors as input signals .
The "Vector-specific functions" selection area contains the following modules:
Module
Input
Output
Description
Vector AND
1 input (binary,
vector)
1 output
(binary,
single
value)
The "Vector AND" module creates an AND relation between the binary values of
the vector at the input:
●
if all binary values of the vector are "1", then "out1" = "1" .
●
if at least one of the binary values of the vector is "0", then "out1" = "0" .
Vector OR
1 input (binary,
vector)
1 output
(binary,
single
value)
The "Vector OR" module creates an OR relation between the binary values of
the vector at the input:
●
if at least one of the binary values of the vector is "1", then "out1" = "1" .
Vector Min
2 inputs ("in1":
numerical,
vector .
"Condition":
binary, vector)
1 output
(numerical,
single
value)
The "Vector Min" module determines the smallest value from the numerical
vector at input "in1" .
The "Condition" input is optional and can evaluate the validity of the values . Valid
values are marked with a "1" . Only the valid values are taken into account when
determining the smallest value from the numerical vector .
Invalid values are output as "0" at output "out1 .
If possible, the "Condition" input should always be used . This ensures
that only valid values are used for determining the smallest value .
The size of the binary vector at the "Condition" input must correspond to
the size of the numeric vector at the "in1" input .
The validity can be queried with the following modules:
●
Firmware DI: "Basic function" module, "Validity" setting .
●
Firmware OD: "Object detection" module, "Object -> ID [1 . .20]" setting .
●
Firmware LG: "Line detection" module, " . . . valid [ . . .]" setting .
Vector Max
2 inputs ("in1":
numerical,
vector .
"Condition":
binary, vector)
1 output
(numerical,
single
value)
The "Vector Max" module determines the greatest value from the numerical
vector at input "in1" .
The "Condition" input is optional and can evaluate the validity of the values . Valid
values are marked with a "1" . Only the valid values are taken into account when
determining the greatest value from the numerical vector .
Invalid values are output as "0" at output "out1 .
If possible, the "Condition" input should always be used . This ensures
that only valid values are used for determining the greatest value .
The size of the binary vector at the "Condition" input must correspond to
the size of the numeric vector at the "in1" input .
The validity can be queried with the following modules:
●
Firmware DI: "Basic function" module, "Validity" setting .
●
Firmware OD: "Object detection" module, "Object -> ID [1 . .20]" setting .
●
Firmware LG: "Line detection" module, " . . . valid [ . . .]" setting .
Vector Sum
1 input
(numerical,
vector)
1 output
(numerical,
single
value)
The "Vector Sum" module adds up the values of the numerical vector at input
"in1" .
A numerical single value is output at output "out1" .