Skip to main content

DIN activation by hysteresis

This article describes how to activate a digital input using the Advanced Configurator and the hysteresis “event on” logic.

Explanation:

If single-state detection is required in a system, hysteresis logic ensures reliable capture of that specific digital input state by preventing false triggers near the switching threshold. This technique uses threshold stability as a reference to meet precise system requirements while avoiding rapid, unwanted state changes caused by signal noise.

Guidelines:

1. In the Advanced Configurator, navigate to "IO events" to access the digital input configuration settings.

2. To configure a digital input for voltage signals, set the “Event on” field to “Hysteresis”, then set the voltage threshold in the "Level" field in millivolts. In the “Delta” field, set a voltage difference where the signal can vary. In the "Average" field, set the duration required to confirm activation in milliseconds in “Debounce” field. Select "On Rising” to receive an alert when the status is above the threshold voltage. Set "Priority" to "high".

3. Set the DIN mode to Positive mode.

4. To configure a digital input for ground signals, set the “Event on” field to “Hysteresis”, then set the voltage threshold to 1 in the "Level" field. In the “Delta” field, set to 0. In the "Average" field, set the duration required to confirm activation. Select "On Rising” to receive an alert when the status is above the 0 threshold. Set "Priority" to "high".

5. Set the DIN mode to Ground mode.

Expected outcome: Testing the digital input in positive mode generates an event alert when the threshold exceeds the Level value plus the Delta value. Testing in ground mode generates an event alert when the threshold reaches 1.

Tools required

Related Documentation

Keywords:

Plug5, Eco5, Smart5, HCV5, Pro5, LCV5, Pro5S, HCV5 lite, Pro5 lite, Trace5, Advanced configurator, digital input, digital high state, hysteresis, event on high, event detection.

Automatically generated fields:

Document#

xxxxx

Created By:

Sergio Gómez

On:

06/05/2025 16:00:00

Modified By:

Name Surname

On:

dd/mm/yyyy hh:mm:ss

Did this answer your question?