Example program that reads an XRW2G via ModBus