Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

CANopen manager periodically resets slaves

2022-02-03
2022-02-03
  • jenslindruo - 2022-02-03

    I have a Codesys compatible PLC with several CANopen sensors. Three of them periodically goes in heartbeat timeout, but I found from logging the canbus, that it is caused by the CANopen master sending NMT reset (0000 2 81 xx) messages to one of the sensors peridically. The CANopen library contains implicit functions blocks that are called by the configuration, so I have difficulty determining why it happens. I have added the CAN_DEBUG in compile define, but that did not yield any valuable information regarding this issue. Can anyone provide more debugging information? Thank you

     
  • sgronchi - 2022-02-03

    "CANopen Manager -> General -> NMT error behavior" is perhaps set to "Stop Slave"?
    Shame that there isn't a "Do nothing" option...

     
    • jenslindruo - 2022-02-03

      Thank you for your reply. That is actually set to reset slave.

       

Log in to post a comment.