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); }