Exemplo n.º 1
0
        public static ModbusMaster RTU(SerialSettings settings, int timeout = 400)
        {
            var stream   = new ModbusSerialStream(settings, timeout);
            var protocol = new ModbusRTUProtocol();

            return(new ModbusMaster(stream, protocol));
        }