Skip to content

10 Digital Inputs Module

This module has its own microcontroller

The 10DI module (datasheet) is a 10 digital input module, which can work in two different modes: Polling and event mode.

Digital inputs can be read individually or jointly. Also all inputs in the module can be used as a pulse counters once the input change the status and recover the previous one. All pulse counters can be restored to 0.

Information about how to program this node using Node-RED can be found here. Otherwise, if you want to develop your own applications using the multilanguage API, please check here for more information.

Working mode configuration

Polling

In polling mode, the parameters are being measured continously. The measurement rate will be defined in the configuration node.

Event

In event mode, the parameters are measured depending on the event configured. Three types of event can be configured:

  • Time interval: A specific time interval must be defined. The module will notify when the defined time will be accomplished.
  • Input value change: A specific digital input value must be defined. The module will notify when the digital input value matches the one defined in the configuration.
  • Pulse count change: A specific pulse counter value must be defined. The module will notify when the pulse counter value matches the one defined in the configuration.

Functionalities

This module has 4 main functionalities, which are:

  • Configure module parameters. In this case, you must define the working mode and also the pulse filter milliseconds for each input.
  • Get and set input status for one or all digital inputs. It will be possible to see if a digital input is activated (1) or deactivated (0).
  • Get pulse counter for one or all digital inputs. The pulse counter of each input is incremented once its status change and is restored again.
  • Reset pulse counters for one or all digital inputs. It sets all or the selected pulse counter to 0 value.