Modbus TCP from a Raspberry Pi: Register Offsets, and Why Your Value Is One Address Out
read_holding_registers(40011, count=2) comes back with exception code 02, read_holding_registers(11, count=2) decodes to -2.4e-41, and the 230.5 V the meter shows on its own display is sitting at address 10. That is the Modbus TCP register offset, and it is the fault everybody hits on their first evening with pymodbus 3.15.0 and a power meter on … Read more