Move new Modbus RTU configuration code to modbus.w