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

Codesys control for linux CmpPCANBasicDrv

Anonymous
2019-05-08
2019-05-14
  • Anonymous - 2019-05-08

    Originally created by: sbrauns@moog.com

    Hi All,

    I am trying to setup a can USB PCan dongle. I have it working under linux, but to be able to use it in Codesys I have to include CmpPCANBasicDrv to the CODESYControl.cfg.
    The first issue I had was that there was no [ComponentManager] in the configuration so I just added it.
    But now i get the error:

    libCmpPCANBasicDrv.so: cannot open shared object file: No such file or directory
    *** Error: Component <cmp>CmpPCANBasicDrv</cmp> NOT loaded
    

    Any help would be appreciated.

    thank,
    Sander

     
  • TimvH

    TimvH - 2019-05-12

    Probably you are trying to use this driver, because you have used it for a Windows based CODESYS Control. In Linux the standard SocketCAN driver will be loaded and CODESYS will communicate through the Linux CAN communication layer with the CAN device.

    I guess you mainly have to configure the CODESYS Runtime settings.
    See https://forum.codesys.com/viewtopic.php?t=7315 for some details.

     
  • eschwellinger

    eschwellinger - 2019-05-12

    Hi,
    it turned out that there is a missing component in the Linux SL runtime,
    this will be fixed with next version.
    BR
    Edwin

     
  • Anonymous - 2019-05-13

    Originally created by: sbrauns@moog.com

    Hi Edwin,

    Thank you for your reply. This explains a lot.
    Is there a possibility to already get the missing module in the meantime?

    Thanks.

    Br,
    Sander

     
  • eschwellinger

    eschwellinger - 2019-05-13

    Hi,
    yes might be possible... end of the week.
    Give me an email on the store support case.
    BR
    Edwin

     
  • Anonymous - 2019-05-14

    Originally created by: sbrauns@moog.com

    Hi,

    Not sure what you want me to do. My name is my Email.
    Or do you want me to open a ticket on the store for this issue?

    BR,

    Sander

     

Log in to post a comment.