I am using pymodbus to communicate with indicators and displays. The indicators are straightforward to read and write to, using
client.read_holding_registers(address, unit)
and
client.write_register(address, value, unit)
However, the instructions for the displays I have outline reading and writing by sending and receiving bytes display instructions
I have tried using the same code as before, setting the unit to 01 and address to either 4 or 6 for reading/writing respectively. Attempting to read from the register errors with 'Unable to decode response', and I don't know where to begin with writing the byte code to the displays.
I read a bit on payload building, but didn't get it to work. I can't come across how to read/write pure messages without separately specifying registers and values. Any guidance on this would be greatly appreciated!