A modbus master/slave simulator