codesys win64下难以调用dll

问题原地址

“这是一个非常好的问题。要回答这个问题并不容易。但实际上,从 CODESYS 应用程序中打开 C 库的方法并不简单。
PLC 制造商可以通过运行时工具包来实现这一功能,或者您也可以使用自己用 c 编写的进程来打开库,并通过共享内存或套接字与 CODESYS 应用程序通信。”

在codesys runtime设备中下,codesys提供了调用dll的方案 extension SDK,案例,但没找到WIN64下的解决方案


扩展阅读

No C code for simulation mode In simulation mode, C code is not generated and loaded to the runtime system. To simulate the code contained in the C modules anyway, you can implement it for this purpose in the respective IEC objects of the C code module.即仿真模式无法使用C语言模块

posted @ 2024-03-12 16:00  中庭之园  阅读(52)  评论(0编辑  收藏  举报