VISOR
®
Communications manual
Set ROI (BINARY)
Telegrams: Availability and supported interfaces (Page 85)
Overview telegrams (Page 81)
Set ROI (binary) request string to sensor
Byte
no.
Data type Content Meaning
1 - 4
Unsigned
Int
0x18
0x20
Telegram length
0x18 for circle
0x20 for rectangle / free shape / ellipse
5
Unsigned
Char
0x10
0x11
Set ROI temporarily
Set ROI permanently
Permanent change affect all parameters, including those that
were previously only changed temporarily.
6 - 9
Unsigned
Int
0xXX ROI info length in bytes from Byte 6 to end
10
Unsigned
Char
0xXX Detector no.
11
Unsigned
Char
0x00
ROI Index
00 = Yellow ROI
01 = Teach
02 = Position control
12
Unsigned
Char
0xXX
ROI shape
01= Circle
02= Rectangle
03= Ellipse
04= Free shape
13 -
16
Unsigned
Int
0xXX ROI parameter: Center X (value in pixels * 1000)
17 -
20
Unsigned
Int
0xXX ROI parameter: Center Y (value in pixels * 1000)
21 - Unsigned
0xXX ROI parameter: Half width / radius X (value in pixels * 1000)
06814859 - 1/24/2019-00 Page 214 EN