Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86826

[ModBUS] Serial modbusRTU timeout happens randomly for no visible reason

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/Yocto

      Description

      There's been observed a serial modbusRTU "timeout" error with both
      writes and reads. Both errors are intermittent, but here's a error case recorded with a logic analyzer.

      • Please see Capture1_AppOutput for the error as reported in that application
        output. Notice the error after the first RTU write.
      • Please see Capture1_AllThreeMsgs for a view of all three writes. Notice the
        packet data of the first request matches the data from the first write of the
        application output.
      • Please see Capture1_TimedoutMsg to see the timing of the slave's response
        from that first write request. After 53msec a proper formed response was sent
        by the slave. Yet this produced an error with timeout set to 2000msecs.

      Retries set to 0. All other internal settings are at default.

        Attachments

        1. Capture1_AllThreeMsgs.png
          53 kB
          Tuomas Vaarala
        2. Capture1_AppOutput.png
          123 kB
          Tuomas Vaarala
        3. Capture1_TimedoutMsg.png
          16 kB
          Tuomas Vaarala
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            heimrich Karsten Heimrich
            Reporter:
            tuomas.vaarala Tuomas Vaarala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes