12 Analogue Inputs Module
This module has its own microcontroller
The 12AI module (datasheet) is a 12 analog input module that can be configured mainly in 2 modes: Polling or Event. Different analog inputs can be read and set individually or jointly.
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. Four 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.
- Value threshold: A specific analog input value must be defined. The module will notify when the analog input value is bigger than the one defined in the configuration.
- Value within range: A specific range must be defined. The module will notify when the analog input value is in the range defined in the configuration.
- Value out of range: A specific range must be defined. The module will notify when the analog input value is out of the range defined in the configuration.
Functionalities
It allows to manage the following functionalities on the module:
- Configure module parameters. In this case, you must define the working mode and the input mode for each analog input.
- Get the input value for one or all inputs.