Transmitting The Keep Alive Frame; Digital Input Alarm(S) - ADEUNIS Sigfox Smart Building MOTION Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Sigfox Smart Building MOTION - Guide utilisateur / User guide version V1.0.1

2.1.6 Transmitting the Keep Alive frame

If the device does not have periodic data configured, and no threshold is exceeded, it may not transmit data for a long time. So, to be sure that
the device is working properly, it transmits a Keep Alive frame (0x30) according to a determined frequency (S300)
The parameters associated with this operating mode is the setting of the transmission period of the Keep Alive frame (register 300). The com-
plete list of registers can be found in paragraph 3.4.
Product in standby
Period
reached?
Yes
Send frame 0x30

2.1.7 Digital Input alarm(s)

The device incorporates two digital inputs, one through the connected button and one via the terminal block, both for detecting a change in up
and down state.
The device allows the sending of a frame following a change of state on one of its inputs according to the following diagram:
Product in standby
State
change on
digital input
(s)?
Yes
Send frame 0x51
ou 0x52
The complete list of registers can be found in paragraph 3.4..
E.g.: I want a Keep Alive frame sent to me every 24 hours
Register
Value
No
encoding
S301
Decimal
S300
Decimal
Example :
Register
Value encod-
S380
Hexadecimal
No
S381
Decimal
S382
Hexadecimal
* Debounce time: minimum time to take account of a change of state. For example, if this period is
10 ms all pulses (high or low level) whose duration is less than 10 ms will not be considered. This
technique avoids potential rebounds during a change of state.
In this example the device:
• The device has a debounce time of 100ms and the button press alarm is enabled (regis-
ter 380).
• The device sends a frame for each button press (register 381)
• The alarm via the terminal block is disabled (register 382)
DISTRIBUTED BY TEXIM EUROPE
Value
0
Disabling periodic sending
8640
8640x10 = 86 400 seconds or 1440
minutes or 24 hours
Value
ing
0x41
Configuration of the Digital Input 1 (button):
• Detection of high edges
• Debounce time* 100ms
1
The device sends a frame every time the
button is enabled
0x0
Configuration of the Digital Input 2 input
(terminal block):
• Disabled
• No debounce time
Result
Result
Page
59
of 83
FR
EN

Publicité

Table des Matières
loading

Table des Matières