Navigation

    REXYGEN Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Strange Modbus Behavior

    Modbus RTU
    diagnostics modbus rtu
    2
    6
    261
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MikeyH last edited by cechurat

      Hi All,

      I am using an NTC sensor module that I have used before with no issues. I now get this issue where the module (slave 1) seems to not work. I get a reading on val0 but it will not update, val1-9 are not plugged in but show the correct error value for open circuit, -500. If I place the cursor over the val0 it shows the reading but in red, sometimes orange. I have looked in the system log and it says that slave 1 is not responding. But I do seem to get an initial reading and the block itself never shows red when the cursor is over it. The valve of val0, 200 is 20 degC which would be correct. Any ideas what could be wrong here?

      270b7cb7-48de-4b7e-b7bc-78491e9b2e3c-image.png

      Cheers

      Mike

      1 Reply Last reply Reply Quote 0
      • cechurat
        cechurat last edited by

        Hi Mike,

        It seems that there is some communication problem - hard to say more without any diagnostics.

        Please, can you turn on all I/O driver diagnostic messages (REXYGEN Studio -> Target -> Configure System Log -> I/O driver messages) and share a bit of the System Log with us? (REXYGEN Studio -> Target -> Show System log -> right click -> Export Items -> All items)

        Kind Regards,
        Tomas

        M 1 Reply Last reply Reply Quote 0
        • M
          MikeyH @cechurat last edited by

          @cechurat Hi Tomas,

          here is the log from the Modbus

          Modbus Log.csv

          I get an initial reading then the comms seems to fail.

          Cheers

          Mike

          M 1 Reply Last reply Reply Quote 0
          • M
            MikeyH @MikeyH last edited by

            Hi Tomas

            I solved this by swapping the Monarco for one that I know works. Could that Monarco have an issue, it's new? It's the same one mentioned with the strange voltage leak I posted about, https://forum.rexygen.com/topic/209/leakage-from-usb

            Cheers

            Mike

            M 1 Reply Last reply Reply Quote 0
            • M
              MikeyH @MikeyH last edited by

              Update,

              I have now tried a 3rd Monarco and it works as perfectly as the second. How can I test the 1st Monarco to see if it has a fault?

              Cheers

              Mike

              cechurat 1 Reply Last reply Reply Quote 0
              • cechurat
                cechurat @MikeyH last edited by

                @mikeyh Hi Mike,

                thanks for update. Could you please try to test one Raspberry Pi with certain SD card (i.e. OS) and check with working Monarco HAT and then switch the one failing so we can say it is Monarco HAT failure afterwards?

                Thanks for cooperation.

                Kind Regards,
                Tomas

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

                There is also an outdated REXYGEN community forum.

                Powered by NodeBB.