• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    More modbus extensions

    Scheduled Pinned Locked Moved Unipi Extension Modules
    7 Posts 2 Posters 4.5k Views
    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.
    • SorakCzS
      SorakCz
      last edited by

      Hi do you have some manual how I can connect more Modbus extensions? I have xS40 and it works fine with my M303. But when I connect another xS40 I cannot connect it via Modbus. There is no connection. I try sett up addresses on pins, setup Mervis, but LED diodes for connection are off.

      T 1 Reply Last reply
      Reply Quote 0
      • T
        tomas_hora administrators @SorakCz
        last edited by

        @SorakCz Baudrate and parity have to be same for the whole bus but addresses have to be different.

        If you have address 0 configured via DIP switches, then the Extensions are using SW address (which can be changed via modbus registers). If you use any other addres via DIP switches, then the DIP switch configuration is also used for baudrate and parity.

        So: Decide which baudrate and parity you want to use (eg, start with 9600, N), configure it in Mervis and on both extensions, and select different addresses. Also do not forget to set address of extensions in Mervis.

        1 Reply Last reply
        Reply Quote 0
        • SorakCzS
          SorakCz
          last edited by

          i think I have all setted. I changed address on the extensions, restart extension, upload program and it dont work.
          0_1521393606390_Screenshot_18_03_2018__18_16.png
          0_1521393614041_Screenshot_18_03_2018__18_16_2.png
          0_1521393621632_Screenshot_18_03_2018__18_17_3.png
          0_1521393981310_IMG_1745.JPG
          0_1521393991299_IMG_4908.JPG
          0_1521393998734_IMG_6377.JPG

          T 1 Reply Last reply
          Reply Quote 0
          • T
            tomas_hora administrators @SorakCz
            last edited by

            @SorakCz The extensions are configured to use Even parity but in the IDE, the parity is None. Those have to be the same too. Also, make sure to power cycle the extensions after you make a change in the DIP switch configuration.

            1 Reply Last reply
            Reply Quote 0
            • SorakCzS
              SorakCz
              last edited by SorakCz

              Parity is pin 8? I will try it. What is better? Parity no or yes?

              Thank You

              T 1 Reply Last reply
              Reply Quote 0
              • T
                tomas_hora administrators @SorakCz
                last edited by

                @SorakCz Yes, its pin 8. It depends on the application. Parity helps to detect an error in a word on the line. Its either None(disabled) or Even in this case...

                1 Reply Last reply
                Reply Quote 0
                • SorakCzS
                  SorakCz
                  last edited by

                  Thank you Tomas, it was very helpful. Now it working. I only switch off parity on external modules and communication started :-)

                  1 Reply Last reply
                  Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post