#140 DLL library issues

wont-fix
nobody
None
2021-06-14
2021-05-26
tesla
No

Hello everyone,CodeSys,

I am quite new with CodeSys and am working with CodeSys 3.5.16.20 right now.
I would like to integrate a third party device(FANUC or Keyence device...) to my project,here for example we use Keyence LJV7_IF.dll,I could not find any documents about how to import DLL file and how to use it,except the CodeSys onlinehelp with a very short discription on the chapter'Integrating C Modules'.Unfortunately,it seems some mistake.
Generally,in my before LabVIEW project I could use the 'call library function' block,then the function name list out,we can config the input parameters for the function accordingly.

Are there some official manuals for this topic about the procedure of DLL import and implementation.
Any help will be appriciate,thanks

Best Wishes!

Discussion

  • Ingo

    Ingo - 2021-06-14

    Hi tesla!
    This is a very good question. And it is not easy to answer. But actually there is no easy way to open a C-Library from a CODESYS application.

    PLC manufacturers can do this with the Runtime Toolkit, or you can use an own process, written in c, which opens the library and communicates with your CODESYS application via shared memory or sockets.

    But on the other hand, such questions should be asked and discussed on CODESYS Talk. So I will close that ticket.

     
  • Ingo

    Ingo - 2021-06-14
    • status: open --> wont-fix
     

Log in to post a comment.