
EN
WMBus Smart Building MOTION - Guide utilisateur / User guide version V1.0.0
58
Page
of 82
FR
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.
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
encoding
Value
Result
S301
Decimal
0
Disabling periodic sending
S300
Decimal
8640
8640x10 = 86 400 seconds or 1440
minutes or 24 hours
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:
Example :
Register
Value encod-
ing
Value
Result
S380
Hexadecimal
0x41
Configuration of the Digital Input 1 (button):
• Detection of high edges
• Debounce time* 100ms
S381
Decimal
1
The device sends a frame every time the
button is enabled
S382
Hexadecimal
0x0
Configuration of the Digital Input 2 input
(terminal block):
• Disabled
• No debounce time
* 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)
Product in standby
Send frame 0x30
Period
reached ?
Yes
No
Product in standby
Send frame 0x51
ou 0x52
State
change on
digital input
(s)?
Yes
No