I have a Revpi Connect S connected to an Inverter using its Rs-485 interface. I want to read some holding registers from the inverter . But everytime i try to read the registers, it gives me error saying the CRC is invalid.
Hello @Justaus3r first of all welcome to the balena community.
Could you please confirm that dev/ttyUSB0 is available in your service of the device? Modbus CRC errors are usually related with the serial connection.
Hi @mpous Thanks for the support. To add to the question background, It is a shared Modbus network and there are other devices that could correctly read the holding registers from the inverter
@Justaus3r Could you please confirm what OS and device type are you using? In the other hand, what software are you using to access to the modbus registers?
In the past I used to add the devices section in the docker-compose (e.g. below)
but if you say that you have access to the ttyUSB0 that’s not necessary!