I am very new to Modbus and PyModBus however I have spent a good amount of time trying to read up and experiment with it. If anyone could point me in the right direction I
Try to:
response = client.read_holding_registers(0x00,4,unit=1)
where the unit value is device id of the slave.
To print all:
print response.registers
Also is possible to directly get one value (for example third register):
print response.getRegister(2)
or
print response.registers[2]