title: Do I use easymodbus correctly?
body: <p>I'm trying to use easymodbus package in c#
  And I used Autonics TX4S Temperature controller(Connecting modbus rtu)</p>
  <p>I Trying to read, but data receive timeout exception is whole lot a time.</p>
  <p>do i use easymodbus correctly?
  <a href="https://i.stack.imgur.com/UGUzv.png" rel="nofollow noreferrer">another programs working correctly(DAQMaster)</a></p>
  <pre><code>public class Com_ModBus
  {
      private System.Timers.Timer Serial_Tmr;
      ModbusClient Modbusclient = new ModbusClient(&quot;COM9&quot;);
  
      public Com_ModBus()
      {
  
      }
  
      public void Comm_ModBus()
      {
          Modbusclient.Parity = Parity.None;
          Modbusclient.StopBits = StopBits.One;
          Modbusclient.Baudrate = 9600;
          Modbusclient.SerialPort = &quot;COM9&quot;;
          Modbusclient.UnitIdentifier = 1; //slave?
          Modbusclient.Connect();
          Tmr();
      }
  
      public void Tmr()
      {
          Serial_Tmr = new System.Timers.Timer(20);
          Serial_Tmr.Elapsed += new System.Timers.ElapsedEventHandler(Timer_Tick);
          Serial_Tmr.Start();
      }
  
      public void Timer_Tick(object sender, EventArgs e)
      {
          Receive();
      }
  
      public async Task Receive()
      {
          StringBuilder str_bd = new StringBuilder();
  
          try
          {
              int[] Data = Modbusclient.ReadHoldingRegisters(0, 1); 
              //Read slave = 1, Start addr = 0000, Quantity = 1
              int Test_1 = Data[0];
          }
          catch (Exception ex)
          {
              return;
          }
      }
  }
  </code></pre>