runtime dynamic modbus devices

kurtk
2025-08-19
20 hours ago
  • kurtk - 2025-08-19

    I am CODESYS neophyte getting my wheels on.
    My goal is to re-platform an existing PLC application written in 61131 ST
    I've got the majority of the code/variables in a compilable form - excluding all the IO and comms nuances
    I am not sure whether this the right forum

    An important functionality which I implemented on the other platform was totally dynamic modbus devices...
    Most configurations I have come across impose static MB configs in which
    all configured devices MUST be present and functional...
    I have monkeyed around with MB enough to know that herding a half dozen MB cats into a working config can be tricky. I just do them one at a time
    and dynamically turn them on/off in whatever combination is convenient
    with ID, IP, baud, parity etc being runtime tweakable.

    I am totally curious whether this is possible with codesys, or whether
    its device configuration corrals one into a static cage which requires
    re-building the code to support flexible variations.

    Best regards

     
    • ggaida - 1 day ago

      Kurtk, I am working through a very similar scenario. I am curious if you have had any success since your post in implementing dynamic modbus configurations? Thx!

       
    • ggaida - 1 day ago

      Kurtk, I am working through a very similar scenario. I am curious if you have had any success since your post in implementing dynamic modbus configurations? Thx!

       

Log in to post a comment.