
EN
DRY CONTACTS V2 LoRaWAN 863-870 - Guide utilisateur / User guide version V2.1.0
44 of 55
FR
2.4. Application operation
2.4.1 Transmission on change of state (alarm)
The product send a frame following the change of state of one of its inputs according to the following diagram:
The monitoring of the events on the active inputs continue even during transmission.
The settings associated with this mode of operation are:
• Period of transmission of the frame (register 301)
• The configuration of the different digital inputs (registers 320 to 323)
• The thresholds to be reached before sending the frame (registers 324 to 327)
Example:
Register
Value encoding
Value
Result
S301
Decimal
0
Periodical mode deactivated (event only)
S320
Hexadecimal
0x43
Configuration of the channel 1 :
• Detection of the opening or closing of the dry contact
• Debounce time* of 100 ms
S321
Hexadecimal
0x00
Configuration of the channel 2 :
• Deactivated
• No debounce time*
S322
Hexadecimal
0xB1
Configuration of the channel 3 :
• Detection of the closing only
• Debounce time* of 20 seconds
S323
Hexadecimal
0x32
Configuration of the channel 4 :
• Detection of the opening only
• Debounce time* of 50 ms
S324
Decimal
1
The frame is sent as soon as an event is detected on the channel 1
S325
Decimal
0
Deactivated
S326
Decimal
10
The frame is sent as soon as 10 closings are detected on the channel 3
S327
Decimal
150
The frame is sent as soon as 150 opens are detected on the channel 4
* Waiting* period (or debounce time): minimum time for taking into account a change of state. For example if this period is 10ms, all pulses
(opening or closing) whose duration is less than 10ms will not be taken into account. This technique prevents rebound on a change of state.
In this example the product is in event mode, the frame 0x40 will be sent if an event (opening or closing) is detected on channel 1 or if 10
closings are detected on channel 2 or if 150 openings occurred on channel 4.
IMPORTANT NOTE:
If an event is detected on channel 1, the device will wait during 1 second to check if an other event is simultaneously
detected on an other channel to send it in the same frame.
IMPORTANT NOTE: For each 0x40 frame sent (for an event or periodically) the counters are set to 0 for all the channels.
Product in standby
Frame 0x40 sent
Change on
digital input
?
Yes
No
Threshold
reached ?
Yes
No