Mode setting and input reading
Method of setting the measurement mode depends on the software used:
- Mervis: instructions for configuring the analog input measurement mode can be found at this link
- Evok (Node-RED): the measurement mode configuration is available within the “analog input” device and its “mode” property, see the Evok documentation for more information
- Modbus: if the Evok cannot be used, or if Modbus communication is preferred, it is also possible to configure the analog I/O measurement mode by writing directly to the registers (1000-1100) according to the Modbus table
Reading depends on the software used:
- Mervis: see guide Connecting to Unipi extension
- Evok: see the Evok documentation
- Node-RED: using prepared nodes communicating with the Evok API via Websocket
- Modbus: reading and writing registers according to the Modbus table (registers 0-100)