making a simple Modbus logger
Posted: 02 Oct 2018, 12:46
Hi.
As a newbie I feel the Modbus RTU master tutorial left me hanging a little bit.
I was hoping to use a few RevPi Connects to make what would essentially be loggers.
The plan is to connect a few water-flow sensors to the Connect on the RS485-connector, and then simply read the modbus-values and log to a USB.
(In phase 2 we will do something more with the data).
From the tutorial I understand the configuration etc, but how do I in a simple way read the modbus values from the different connected meters and save them to a file ?
As a newbie I feel the Modbus RTU master tutorial left me hanging a little bit.
I was hoping to use a few RevPi Connects to make what would essentially be loggers.
The plan is to connect a few water-flow sensors to the Connect on the RS485-connector, and then simply read the modbus-values and log to a USB.
(In phase 2 we will do something more with the data).
From the tutorial I understand the configuration etc, but how do I in a simple way read the modbus values from the different connected meters and save them to a file ?