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

CANbus Error

polygj
2018-01-21
2018-01-22
  • polygj - 2018-01-21

    If I don't enable the FB of MC_POWER , the axis is all right!
    But when I enable the FB of MC_POWER, the axis is error.

    I don't know the reason. Please help !

    IMG: 5.jpg

    IMG: 4.jpg

    IMG: 3.jpg

    IMG: 2.jpg

    IMG: 1.jpg

     
  • eschwellinger

    eschwellinger - 2018-01-22

    Hi,
    set the compiler define in the application properties:

    CANOPEN_DEBUG

    then download the project and check the plc logger for more details on These Problems on the CAN communication.

    BR
    Edwin

    IMG: CANOPEN_DEBUG.jpg

     
  • polygj - 2018-01-22

    Thank you !

    The servo error code is AL3E2 or AL3E3.

    AL3E2: CANopen SYNC signal error
    The CANopen SYNC signal is received too early.

    AL3E3: CANopen SYNC timeout
    The CANopen SYNC signal is not received within the specified time.

    When I use LMC058 of Schneider in Somachine , the SYNC way is different.
    They use the External signal. Can pi use this way?

    IMG: 2.jpg

    IMG: 1.jpg

     
  • eschwellinger

    eschwellinger - 2018-01-22

    Hi,
    from your screenshots your realtime should be good enough (maybe I'm wrong) but I would give this a try
    to generate the sync on the Raspberry PI

    BR
    Edwin

    IMG: Sync.jpg

     

Log in to post a comment.