Trying to configure MODBUS serial master with RS485, and so far not a much success ;-(
We are working with a device (Solar regulator) that we are very familiar with and have been monitoring it via python/modbus on raspberry pi's for some time.
So far unable to get Serial Master with data sender to work. Unfortunately there is little in the way of tools for diagnosis. I can't work out how to user modbus_serial_master form the command line to see if / what sort of errors we are getting.
Also just so I know I have it wired correctly through the RS485 interface , I have tried reading it via python (we have custom python modbus code TCP running on the RUT955) however even after turning off all Serial/MODBUS services I am unable to open the /dev/rs485 device as I get serial.serialutil.SerialException: Port is already open. I have used lsof to establish that the port is not open.
So a little stumped on how to move forward. (I did check the SDK but the modbus_serial_master code wasn't there, to work out how I might use it to diagnose).
This is a the last piece in my puzzle of replace our standard modem and a raspberry pi for most of our fleet.