This tutorial focuses on configuring an alarm on a Dry Contact sensor (ARF8170) in LoRaWan and SIGFOX via IoT Configurator.
The product transmits a frame following a change of state on one of its inputs or if it detects an event that lasts longer than a certain time. The parameters associated with this operating mode are :
- Digital input/output configurations (registers 320 to 323)
- Event counter alarm thresholds (register 324 to 327)
- Event duration counter alarm thresholds (register 340 to 343)
Example for event counters:
In this example, the configuration of the various digital inputs/outputs (S320 to S323) is the default.
- Configuration of digital input 1 (register S320) = 2-state detection input
- Alarm threshold for event counter of TOR 1 (register 324) = 1
The product will send a 0x40 alarm frame when an open or close is detected on discrete input 1.
This frame includes the number of changes of state as well as the current state and the previous state of all the digital inputs.
If an event is detected on digital input 1, the product will wait 1 second to see if an almost simultaneous event is detected on the other inputs before sending it in the same frame.
NOTE: Each time a periodic frame is sent, the counters are reset to zero for all the inputs.
Example for time counters:
In this example, the configuration of the various digital inputs/outputs (S320 to S323) is the default.
- Configuration of digital input 1 (register S320) = 2-state detection input
- Alarm threshold for counter on event duration of TOR 1 (register 340) = 5 mins
The product will send an alarm frame 0x41 when an opening or closing lasting more than 5 mins is detected on TOR 1.
NOTE: The alarm is sent once only when the event exceeds the threshold. If the event persists, the alarm is not repeated. If, on the other hand, a new event is detected, the threshold is triggered again.
The two functions can be configured and used at the same time
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article