LoRaWAN DRY CONTACTS - Guide utilisateur / User guide version V2.0.0
2.1.4 REPLI mode
The product enters this very low consumption mode following the detection of a level of battery that is too low. In this mode the product wakes
up every 5 seconds to make the red LED flash twice.
The replacement of the battery (if the product is a replaceable battery version) followed by the application of the magnet takes the product out
of this mode to return it to the operating mode.
2.2. Application operation
2.2.1 Transmission on change of state
The product allows the transmission of a frame after a change of state on one of its inputs according to the following diagram:
Product in standby
Change on
digital input
Sand frame 0x40
E.g.:
Register
S320
S321
S322
S323
* Waiting* period (or debounce time): minimum time for taking into account a change of state. For example if this period is 10ms, all pulses
(high or low level) whose duration is less than 10ms will not be taken into account. This technique prevents rebounces on a change of state.
In this example inputs TOR1 and TOR3 are in event mode while TOR4 is in periodic mode.
IMPORTANT NOTE:
If during the course of the transmission of a frame due to an event on input TOR1, an event occurs on input TOR3 the product will send a new
frame after a wait of 20 seconds. Conversely an event on input TOR4 (periodic mode) will not cause of new transmission immediately but it will
be counted.
No
?
Yes
Value encoding
Hexadecimal
Hexadecimal
Hexadecimal
Hexadecimal
The monitoring of events on the enabled inputs continues even during
transmission of the frame.
The settings associated with this mode of operation are:
• The configurations of the different digital inputs (registers 320 to 323).
A complete list of the registers can be found in paragraph 3.4.
Value
Result
0x76
Input TOR1 configuration:
• Event mode
• Detection of high and low edges
• No waiting* period of 1 second
0x00
Input TOR2 configuration:
• Disabled
• No waiting* period
0xB4
Input TOR3 configuration:
• Event mode
• Detection of high edges only
• Waiting* period of 20 second
0x32
Input TOR4 configuration:
• Periodic mode
• Counting of low edges only
• Waiting* period of 50 milliseconds
FR
EN
57 of 89