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

    Modbus RTU communication with custom Device

    Scheduled Pinned Locked Moved Node-RED
    2 Posts 1 Posters 1.0k 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.
    • S
      sknobloch
      last edited by sknobloch

      Hello,

      i want to read Sensor Data and Control a Stepper connected to an Arduino via Modbus.
      Currently only a photoelectric barrier is connected to the Arduino.
      The Slave Id for the Arduino is 10 and the Address for the barrier is 99.
      Successfully testet the communication using mbpoll like so:
      mbpoll -a 10 -b 9600 -P none -t 1 -r 100 -c 1 /dev/extcomm/0/0

      Followed this Tutorial: https://www.unipi.technology/news/plc-programming-3-working-with-external-peripherals-using-modbus-360
      My Modbus Read Node does only show "reconnecting after 1000 msec."

      Hopefully someone can help me as this is my first Project with Node-RED and Modbus![alt text](image url)

      1 Reply Last reply
      Reply Quote 0
      • S
        sknobloch
        last edited by

        Seems like the problem was a bad Connection or so.
        Testet something else and had to reconnect the rs485 wires and now it works.
        Bit weird that mbpoll worked without a problem...

        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