Exemplo n.º 1
0
        private void ModbusTCPReadHoldReg(byte Lenth, ushort StartAddress, ModbusTCPMaster MBmaster)
        {
            ushort ID   = ModbusTCPMaster.ReadHoldingRegisterFucID;
            byte   unit = SlaveID;

            MBmaster?.ReadHoldingRegister(ID, unit, StartAddress, Lenth);
        }