Updated for pymodbus 1.2