Modbus client/server for monitoring peripheral GPIO devices