![Baumer HXC13 Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/baumer/hxc13/hxc13_user-manual_2711017022.webp)
22
Setting arbitrary shaped Fields of View
5.7.3.
Command
:SC<xxx><yyy><rrr><www>
<xxx> = 0 ... 500
hex
<rrr> = 0 ... 300
hex
<yyy> = 0 ... 400
hex
<www> = 0 ... 400
hex
:SM<aaa><dddd>
<aaa> = 0 ... 3ff
hex
<dddd> = 0 ... ffff
hex
:SE
:SV<n>
<n> = 0...1
0 = off, 1 = on
Response
--*
* ACK/NAK if acknowledge on
Description
Standard adjustment of the camera using the ROI parameters
allows to define rectangular windows. For windows with differ-
ent shapes the Baumer HXC cameras offer a feature to create
arbitrary fields of view.
It can be adjusted by a selection mask consisting of 16.384
read tiles. Each tile has a size of 10(H) x 8(V). All 16.384 tiles
cover the whole active sensor area with 128x128 tiles.
The camera has a built in algorithm to create a circle mask.
With
:SC
a circle is created and all tiles that touch that circle
are activated. With
<xxx>
and
<yyy>
the center of the circle is
de-ined. The parameter
<rrr>
defines the radius and
<www>
defines the width. The circle can partially be out of the field of
view. The internal calculation lasts <1 sec.
To create more arbitrary shapes the command
:SM
can be
used. The first tile in first line is on address
<aaa> = 0
Tile
16 is at address
<aaa> = 1
. The first tile in second line is at
address
<aaa> = 8
. Each address covers 16 tiles that can
be switched with the data
<dddd>
. For example to switch
on the tile 16 and 18 in the second line use the command
:
SM009C000
. The addresses can be randomly accessed and
only that tiles that have to be activated must be written.
To erase all tiles use the
:SE
command.
For testing purposes the command
:SV
can be used. When in
mode
:M0
the activated tiles are viewed inverted in the picture
but all pixels will be output.
To output only the activated tiles mode
:M3
must be used.
The programmed settings are volatile and must be programmed
new after each power up.
Notice
This mode can not be combined with ROI move mode, x- or y- invert mode and multiple
ROI mode.
Содержание HXC13
Страница 2: ...2...