Running Codesys as OLE Server

Johan
2009-07-02
2009-08-02
  • Johan - 2009-07-02

    Hi

    Is it possible to run Codesys as a OLE Server or similar?

    The purpose would be to be able to import and export of code, download and so on from another application instead of using the normal user interface.

    I saw that it is possible to use CMD-files, but I would prefer to run it as a service.

    Regards

    Johan

     
  • spfeif - 2009-08-01

    It is not entirely clear what you want to do? You have an application already compiled with a CoDeSys compiler and you want to download the code to a Target and then start it running? If this is the case then you only need the CoDeSys Gateway. There is a manual for this but I believe it comes from OEM only? I'll look it up and see what I have.

     
  • Johan - 2009-08-02

    Hi

    I would like to access the source code from another application then CoDeSys software. The problem is that the code is binary coded and not text based.

    For example I need to make an application which takes all the data structs in the code and make excel lists for export to a Scada system. I know it’s possible to export the code to a text file from the CoDeSys software but that is too much work, usually we handle up to 100 PLC: s at the same time.

    But if there were a way to call the import and export functions as a service from another program or similar?

    Regards

    Johan

     

Log in to post a comment.