![Adeunis RF MOTION V2 Скачать руководство пользователя страница 12](http://html1.mh-extra.com/html/adeunis-rf/motion-v2/motion-v2_technical-reference-manual_2850724012.webp)
Date: 02/12/2019
Page 12 / 15
adeunis
®
Manage & optimize your assets & services
283, rue louis Néel 38920 CROLLES, France
Tél : +33 (0)4 76 92 07 77 E-mail : [email protected]
www.adeunis.com
2.2.7 Luminosity alarm (0x50)
If the luminosity alarm is activated, this frame is sent when an alarm of exceeding threshold appears or disappears.
Offset
(in byte) Data
Description
0
0x50
Frame code
1
Status
Status byte
2
Alarm state
0: inactive alarm
1: active alarm (threshold exceeded)
3
Luminosity
Measured luminosity when alarm has occurred
Decoding example:
Offset
Data
Description
0
0x50
Frame code
1
0x80
Frame counter: 4
Bit1@0: LowBat not detected
2
0x01
Alarm active
3
0x32
50 => luminosity at 50%
2.2.8 Digital input alarm (0x51/0x52)
This frame is sent when the number of detected events exceed the threshold
Offset
(in byte) Data
Description
0
0x51
0x52
Frame code for digital input 1 (button)
Frame code for digital input 2
1
Status
Status byte
2
Alarm state
Define precisely the input/output state
(ON/CLOSED : 1, OFF/OPEN : 0)
•
<0> Channel1 current state
•
<1> Channel1 state when sending the
previous frame
3-6
Global counter
Global counter the detected events
7-8
Instant counter
Number of events detected since the last alarm
sending
Decoding example:
Offset
Data
Description
0
0x52
Frame code (digital input2)
1
0x80
Frame counter: 4
Bit1@0: LowBat not detected
2
0x01
Bit0@1 => Current state: ON/CLOSED
Bit1@0 => Previous state: OFF/OPENED
3-6
0x000001230
0x1230 => 4656 events detected since the device
is in production mode
7-8
0x0003
3 events detected since the last alarm sending