Periodic configuration of a Dry contact (ARF8170)

Modified on Thu, 30 Jan at 11:56 AM

This tutorial focuses on the periodic configuration of a Dry Contact sensor (ARF8170) in LoRaWan and SIGFOX via the IoT Configurator.


The product can be used to count and periodically transmit events occurring on the inputs and/or on the time counter. The parameters associated with this operating mode are :

  • Transmission period for event counter (register 301)
  • Transmission period for time counting (register 328)
  • Digital input/output configurations (registers 320 to 323)


Example for event counters:


In this example, the configuration of the various digital inputs/outputs (S320 to S323) is the default. 

  • Digital input configurations (S320 to S323) = 2-state detection input
  • Transmission period for event counter (S301) = 60


The product will send a 0x40 periodic frame every 10 minutes (60 x 10secs) including the number of opening and closing detections for the digital input (1 to 4).



NOTE: Each time a periodic frame is sent, the counters are reset to zero for all the inputs.


Example for time counters :


The product also allows the transmission of a periodic frame containing the time spent (in seconds) in a state other than the current state. This frame contains only the time counters of TORs configured with high or low edge detection. 

  • Digital input configurations (S320 to S323) = High state detection input
  • Transmission period for time counting (S328) = 720


In this example the product will send a 0x59 periodic frame twice a day (720 x 10mins) the time that the input TORs have spent (in seconds) in the low state.



NOTE: The counters are not reset each time a frame is sent.



The two periodic 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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article