Navigation

    REXYGEN Community Forum

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

    Change IP address for ModBus TCP/IP from HMI

    REXYGEN HMI Designer
    2
    3
    194
    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.
    • R
      RexPeter last edited by

      I'm wondering if there is a possibility to enter a new IP address for a device that is connected using Modbus Master TCP/IP.
      IP_address_Master_Modbus_TCPIP.PNG
      If I now want to change the IP address I have to change it in the configuration under MTM driver and have to load the entire project again to the raspberry.
      If it simply can be done from out of the HMI it would be much easier for the operator.

      Looking forward for feedback on this.

      cechurat 2 Replies Last reply Reply Quote 0
      • cechurat
        cechurat @RexPeter last edited by

        @rexpeter Hi Peter, Thank you for your question. Welcome back!

        The answer to your question is in Modbus Driver Documentation within Chapter 3.4: https://www.rexygen.com/doc/ENGLISH/MANUALS/MbDrv/MbDrv_ENG.html#x1-200003.4

        It is possible to change the "Slave" parameter of selected Item (e.g. GoTo flag MTM__Adam_9_Slave). However, all the Slave addresses must be declared prior to compilation. Afterwards, you can switch the reference to the Slave at each Item (by introducing the GoTo flag mentioned above).

        I hope it helps.

        Let me know if it works for you.

        Kind Regards,
        Tomas

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

          @rexpeter Hi Peter,

          I have an update on your Topic. It is possible to change the Slave IP address by configuring "Address" parameter (e.g. GoTo flag "MTM__1_Address" in your case).

          f8a090e9-9a03-4eec-9c12-a64115101392-image.png

          Cheers,
          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.