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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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:
Any help would be appreciated.
thank,
Sander
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.
Hi,
it turned out that there is a missing component in the Linux SL runtime,
this will be fixed with next version.
BR
Edwin
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
Hi,
yes might be possible... end of the week.
Give me an email on the store support case.
BR
Edwin
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