Profibus DP master with EL6731 and automatic restart of slaves

1 day ago
9 hours ago
  • WHEREAS, I have already searched various posts and forums, where mostly there are few references and mostly geared toward integration in TwinCAT.

    I am looking for how to properly configure the EL6731 board as a DP master, (where I have its 3S license), with CoDeSys 3.5.19.x.
    I have three types of slaves, all integrated with their GSD descriptors.
    In the tab for the various slaves, I don't see options related to node restart on 'station return'.
    On the card manual, I read that for each slave I should be able to configure parameter 8000:2C:
    β€œ8000:2C Restart behavior after DP fault Reserve, must be 0 BIT1 RW 0x00 (0dec)” However, in the project I see no way to configure this parameter, in any of the boards; and the arrays do not always have such an extensive size; most of the time they are only two or three words in size.
    The problem is that, after the hot reset of CoDeSys, the master restarts by starting all slave nodes, but if one or more get lost and go offline, there is then no automatic restart upon their return.
    I would need to figure out any solution, even via software, how to figure out that this one is back available and restart it.

     
  • The problem is looking for a bug somewhere in CoDeSys in that, when the slave returns, the cyclic data exchange resumes, but the diagnostics do not update and the node continues to resulting off-line. it is not a problem with the PB master, but with its 3S/CoDeSys management.
    CoDeSys 3.5.19.20 runtime.

    Any ideas on how to fix it?
    Thank you.

     

    Last edit: Gustavo Antonio Banchetti Brucatori 13 hours ago

Log in to post a comment.