ifm Vision Assistant O3M
164
15.8.1 Examples for processing input signals
All modules with several inputs and one output process vectors as follows:
Addition of two vectors of equal size
If vectors of the same size are present at the inputs, the respective values of the vectors are added . A
vector is then sent to the output . The size of the vector at the output corresponds to size of the vectors 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-4 . The ROI groups contain the
following x-values:
1
3 .25 m
2
3 .32 m
3
3 .19 m
4
3 .37 m
2
Basic function
The x-values are filtered out of ROI groups 5-8 . The ROI groups contain the
following values:
5
5 .07 m
6
4 .98 m
7
5 .12 m
8
5 .02 m
3
ADD
The respective x-values of the vectors are added .
4
Analogue output
The following vector is provided at analogue output 1:
1
(ROI 1 (3 .25 m)) + (ROI 5 (5 .07 m)) = 8 .32 m
2
(ROI 2 (3 .32 m)) + (ROI 6 (4 .98 m)) = 8 .30 m
3
(ROI 3 (3 .19 m)) + (ROI 7 (5 .12 m)) = 8 .31 m
4
(ROI 4 (3 .37 m)) + (ROI 8 (5 .02 m)) = 8 .39 m