![IFM O3M150 Скачать руководство пользователя страница 148](http://html1.mh-extra.com/html/ifm/o3m150/o3m150_software-manual_620524148.webp)
ifm Vision Assistant O3M
148
15.4.3 Example for the "Input value of index" module
In the logic shown, filtering is applied according to the maximum z-value (height) and the corresponding
x-value (distance) is provided .
Description of the modules used in the example:
Module number
Module
Description
1
Basic function
The z-values are filtered out of ROI groups 1-16 .
2
Maximum value
The maximum value is filtered out of the 16 z-values .
3
Input value of index
Based on the index of the maximum z-value, the corresponding x-value is
filtered out .
4
Analogue output
The maximum z-value is returned via analogue output 0 .
5
Analogue output
The x-value associated with the maximum z-value is provided via analogue
output 1 .
Table of
input values:
ROI group
(index)
z-value
(height)
1
0 .05 m
2
-0 .02 m
3
0 .25 m
4
-0 .18 m
5
0 .07 m
6
0 .02 m
7
-0 .09 m
8
0 .16 m
Result of the "Maximum value"
module on analogue output 0:
ROI group
(index)
z-value (height)
14
1 .97 m
Result of the "Input value of
index" module on analogue
output 1:
ROI group
(index)
x-value (distance)
14
5 .38 m
Table of input values:
ROI group (index)
z-value
(height)
x-value (distance)
1
0 .05 m
1 .31 m
2
-0 .02 m
2 .43 m
3
1 .12 m
0 .91 m
4
1 .51 m
7 .69 m
5
0 .07 m
3 .52 m
6
0 .02 m
5 .40 m
7
1 .29 m
2 .37 m
8
1 .79 m
4 .14 m