Setting a debounce time prevents unintentional multiple triggering when the input is actuated only once, e.g. by bouncing the contact. "Interference signals” are taken into account and the signal is only recorded if it is stably present for longer than the configured debounce time.
The configured debounce time is interrupted. The signal is not recorded | |
The configured debounce time is not interrupted. The signal is recorded | |
1 | The “press push-button” signal is unstable and is therefore not recorded as such. Before the debounce time expires, another signal arrives at the input. |
2 | The “press push-button” signal is stable and is recorded. |
3 | The “release push-button” signal is unstable and is therefore not recorded as such. Before the debounce time expires, another signal arrives at the input. |
4 | The “release push-button” signal is stable and is recorded. |
Parameters of the “functions, objects” parameter card
Debounce time
Debounce time first channel input
Debounce time second channel input
Parameter | Settings |
---|---|
Debounce time Debounce time first channel input Debounce time second channel input | 30 ms ... 300 ms |
Function:
The debounce function prevents unintentional multiple triggering when the input is actuated only once, e.g. by bouncing the contact.
Examples:
- Depending on the wear or degree of corrosion of a contact, a longer debounce time may be necessary.
- Interference coupling with very long supply lines can be compensated by a long debounce time.
Availability: Parameter "Debounce time”:
The "Debounce time” parameter is displayed when the following configuration has been made:
- Parameter "Function channels A + B” on the "device settings" parameter card
- Setting: “Single”
Availability: Parameters "Debounce time first channel input” and "Debounce time second channel input":
The parameters "Debounce time first channel input” and "Debounce time second channel input" are displayed if the following configuration has been made:
- Parameter "Function channels A + B” on the "device settings” parameter card
- Setting: “Pairwise”
More information: