![Lightware SF40/C Product Manual Download Page 28](http://html1.mh-extra.com/html/lightware/sf40-c/sf40-c_product-manual_1915467028.webp)
9.24. Alarm state [111]
Reading this command will returna byte with the current state of all alarms. Each bit represents 1 of the 7 alarms, if
the bit is set then the alarm is currently triggered. The most significant bit is set when any alarm is currently
triggered.
Bit
Description
0
Alarm 1
1
Alarm 2
2
Alarm 3
3
Alarm 4
4
Alarm 5
5
Alarm 6
6
Alarm 7
7
Any alarm
Read
Write
Persists
1 byt e
-
-
9.25. Alarm 1 [112]
This is the same for all 7 alarms.
By reading this command the configurationfor this alarm is retrieved as follows:
Byte offset
Data type
Name
Description
0x00
ui nt 8
Enabled
1
is enabled,
0
is disabled.
0x01
i nt 16
Direction
Primary direction in degrees.
0x03
i nt 16
Width
Angular width in degrees around the primary direction.
0x05
i nt 16
Distance
Distance at which alarm is triggered.
The same data bytes as specified above can be written to this command to set the alarm configuration.
Read
Write
Persists
7 byt es
7 byt es
Yes
SF40/C
Product manual
SF40/C -Product manual
|
27 of 30 |
© LightWare Optoelectronics (Pty) Ltd, 2019 |
www.lightware.co.za