Esempio n. 1
0
        void Initialize()
        {
            // Check on error in modbus library
            CheckForModbusError();

            registerInputSigned   = new RegistersInputSigned(this);
            registerInputUnsigned = new RegistersInputUnsigned(this);

            registerRWSigned   = new RegistersRWSigned(this);
            registerRWUnsigned = new RegistersRWUnsigned(this);

            bitsRW    = new BitsRW(this);
            bitsInput = new BitsInput(this);
        }
Esempio n. 2
0
        void Initialize()
        {
            // Check on error in modbus library
            CheckForModbusError();

            registerInputSigned = new RegistersInputSigned(this);
            registerInputUnsigned = new RegistersInputUnsigned(this);

            registerRWSigned = new RegistersRWSigned(this);
            registerRWUnsigned = new RegistersRWUnsigned(this);

            bitsRW = new BitsRW(this);
            bitsInput = new BitsInput(this);
        }