Digital Input Alarm(S) - ADEUNIS Sigfox DELTA P Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Sigfox DELTA P - Guide utilisateur / User guide version V2.0.1

2.1.7 Digital Input alarm(s)

The device incorporate two digital inputs/outputs via a terminal block, allowing to detect a change 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
EN
on digital
input (s)?
Send frame 0x51
NOTE: It is possible to program the sending of a frame only after a certain number of edge detections (S381/S383).
Product in standby
State
change
on digital
input(s)?
Yes
Number of
occurrences
reached?
Send frame 0x51 or
0x52
Example :
No
Yes
* 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
ou 0x52
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 382).
• The device sends a frame for each button press (register 381)
• The alarm via the terminal block is disabled (register 382)
Example :
Register Value code
S382
S383
No
* 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:
No
• The device has a debounce time of 100 ms and the button press alarm is enabled (register
383).
• The device sends a frame as soon as it has detected 5 high edges on its digital input per
terminal block (register S382)
The digital input operates only in event mode (no periodic sending).
Register
Value encod-
ing
S380
Hexadecimal
S381
Decimal
S382
Hexadecimal
Value
Hexadecimal 0x41
Decimal
5
Value
Result
0x41
Configuration of the Digital Input/Output 1:
• Detection of declining fronts
• Debounce time* 100ms
1
The device sends a frame every event detect
on digital input/output 1
0x0
Configuration of the Digital Input/Output 2:
• Disabled
• No debounce time
Result
Configuration of the Digital Input/Output 2:
• Detection of high edges
• Debounce time* 100ms
The device sends a frame after detection of 5
declining fronts (event ON)
Page
46
of 50

Publicité

Table des Matières
loading

Table des Matières