ifm Vision Assistant O3M
166
Addition of a vector and a single value
If there is a vector at one input and a single value at the other input, each value of the vector is added to
the single value . A vector is then sent to the output . The size of the vector at the output corresponds to
size of the vector at the input .
Description of the modules used in the example:
Module number
Module
Description
1
Basic function
The x-values are filtered out of ROI groups 1-8 . The ROI groups contain the
following x-values:
1
3 .25 m
2
3 .32 m
3
3 .19 m
4
3 .37 m
5
5 .07 m
6
4 .98 m
7
5 .12 m
8
5 .02 m
2
Fixed value
The fixed value "2 .5" is defined .
3
ADD
The x-values of the vector are added to the fixed value .
4
Analogue output
The following vector is provided at analogue output 1:
1
(ROI 1 (3 .25 m)) + 2 .5 m = 5 .75 m
2
(ROI 2 (3 .32 m)) + 2 .5 m = 5 .82 m
3
(ROI 3 (3 .19 m)) + 2 .5 m = 5 .69 m
4
(ROI 4 (3 .37 m)) + 2 .5 m = 5 .87 m
5
(ROI 5 (5 .07 m)) + 2 .5 m = 7 .57 m
6
(ROI 6 (4 .98 m)) + 2 .5 m = 7 .48 m
7
(ROI 7 (5 .12 m)) + 2 .5 m = 7 .62 m
8
(ROI 8 (5 .02 m)) + 2 .5 m = 7 .52 m