Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    MODBUS Libraries

    Scheduled Pinned Locked Moved MicroPython
    modbus
    14 Posts 6 Posters 4.1k Views 8 Watching
    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.
    • B Offline
      bradnz
      last edited by

      Hi

      I have seen some queries regarding modbus libraries but nothing that concludes this is available. I did see something that indicated it was being worked on. I need something for a project I am working on and was hoping someone might have written some MODBUS RTU library example code that they would be happy to share?

      If not does anyone know when this might be avaliable? Have also asked on the uPythono forum but no answer there yet.

      Thanks

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino @bradnz
        last edited by

        @bradnz
        It is being developed, but I don't have an ETA yet.

        Can you share a bit more of the intended purpose? It would help as there are several aspects to the protocol.

        1 Reply Last reply Reply Quote 0
        • B Offline
          bradnz
          last edited by

          Thanks for your reply.

          We have an industrial controller that uses MODBUS RTU over RS485 that we are trying to interface to and get exception error codes off when they occur for alerting. Nothing over complicated

          1 Reply Last reply Reply Quote 0
          • D Offline
            daniel
            last edited by

            @bradnz the ETA for the libraries is ~2 weeks. We are currently testing the implementation and documenting it. Is that soon enough for you?

            B A Charly86C H 7 Replies Last reply Reply Quote 2
            • B Offline
              bradnz @daniel
              last edited by

              @daniel Wahoo! Perfect :) Thanks for the update.

              1 Reply Last reply Reply Quote 0
              • A Offline
                alg @daniel
                last edited by

                @daniel thanks - this should be a big help for me too!

                In the meantime though, if whoever is working on the library had a comment on my issue (https://forum.pycom.io/topic/2095/uart-read-and-uart-write-not-cooperating-with-modbus-slave) that would be great. I guess this may be an issue that they've already overcome?

                1 Reply Last reply Reply Quote 0
                • Charly86C Offline
                  Charly86 @daniel
                  last edited by Charly86

                  @daniel
                  I'm coming here because saw the lib on official doc but I was unable to find the library.
                  So now, I know it's coming, great, I'll get my chance later
                  Any possibility to have access to beta code, I've got a POC in one week, and would love to show it's working ;-)

                  1 Reply Last reply Reply Quote 1
                  • B Offline
                    bradnz @daniel
                    last edited by

                    @daniel Any word on this? I see its in the docs, but the links are broken. If this is expected to be delayed is there any view on when this might be ready?

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      heut @daniel
                      last edited by

                      @daniel I would also be very interested in a rough timeline or a teaser

                      1 Reply Last reply Reply Quote 0
                      • Charly86C Offline
                        Charly86 @daniel
                        last edited by

                        @daniel is there any news on this library? last time you talked about 2 weeks, we're on 6 ;-)
                        Not really an issue, just to know because it may impact some delay to my customers and I need to be transparent ;-)

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          bradnz @daniel
                          last edited by

                          @daniel Yep, still keen to have this, so if some more detailed time frame can be provided this would be appreciated. I also need to go back to my customer and advise. Thanks!

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            daniel
                            last edited by

                            Hello guys,

                            We are aiming to have this sorted by early next week. Thanks for your patience.

                            Cheers,
                            Daniel

                            1 Reply Last reply Reply Quote 2
                            • D Offline
                              daniel
                              last edited by

                              Hello everyone,

                              I'm pleased to announce that the Modbus library has been released: https://github.com/pycom/pycom-modbus

                              We have developed it with the support and sponsorship of one of our customers. Looking forward to read your feedback on it.

                              Cheers,
                              Daniel

                              Charly86C 1 Reply Last reply Reply Quote 2
                              • Charly86C Offline
                                Charly86 @daniel
                                last edited by

                                thanks @daniel

                                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
                                • 1 / 1
                                • First post
                                  Last post

                                Pycom on Twitter

                                Pycom