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

Wago PFC200 With Codesys 3.5 CanOpen bus failure

TiakTiak
2019-02-26
2019-02-26
  • TiakTiak - 2019-02-26

    Hi
    I'm starting with a clean PFC200 project.
    Then I add the CanOpen manager and a slave with the eds file from the vendor.
    I have changed the Node address of the slave to the right one.
    And after downloading I get the following errors
    CanBus status.: Bus failure
    CanOpen status.: Bus failure
    My slave.: Bus failure

    Do I need to tell somewhere what port in the PFC200 I use? I Have a Wago 750-8203 Can Controller with only one serial port.

    thx Jesper

     
  • eschwellinger

    eschwellinger - 2019-02-26

    Hi,
    see the screenshot... for more debug information you could add
    CANOPEN_DEBUG as compiler define.
    Then check the plc logger for detailed information on the CAN startup.

    BR
    Edwin

    IMG: CANOPEN_DEBUG.png

    IMG: PFC200_CAN.png

     
  • TiakTiak - 2019-02-26

    Hi Edwin.
    Danke fΓΌr deine antwort.

    I have changed the Network id to.: 0 and the baud rate to .: 125 the specification from the vendor see below.
    Now the CANBus is running, but on the manager I get.: Not running and on the slave i get .: Module not found.

    I have checked the wiring and everything can you see what the problem can be?

    Our CANopen interface specification is as follows:
    CAN interface : 2.0B, ISO 11898
    Baud rate : 50 kbits/s…..1 Mbits/s (default 125 kbits/s)
    CANopen Node-ID : 1...126 (default 32)
    CANopen Communication profile : CiA DS 301 Version 4
    CANopen device profile : CiA 401 Generic I/O module
    LSS support : Remote node-ID and baud rate configuration
    CAN status indication : Two LEDs (R/G)
    CAN termination : On/Off (default Off)
    TPDO transmission rate : 50ms (default)
    Default baudrate : 125Kbaud
    Default CAN-ID : 32

    IMG: slave.PNG

    IMG: Manager.PNG

    IMG: log.PNG

     
  • eschwellinger

    eschwellinger - 2019-02-26

    Hi,
    seems that this slave does not respond on the object 1000 request…
    Is this not a CANopen conform slave?
    Does rightclick on CANOPEN Manager and scan lead to found slave?

    BR
    Edwin

     
  • TiakTiak - 2019-02-26

    Hi Edwin

    Yes, it's a CanOpen slave.
    And I tried the scan but the scan didn't find the device. And still, the Manager status is Not Running.

    IMG: Udklip.PNG

     
  • eschwellinger

    eschwellinger - 2019-02-26

    Hi,
    if the slave is CANopen compliant - it should have object 1000 and should
    reply on the request for this, if not how should the scan then work and even the startup work
    this is mandatory to have.

    BR
    Edwin

     

Log in to post a comment.