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

Library is not export during export to "PLCOpenXML"

tyler-teh
2021-03-30
2021-03-31
  • tyler-teh - 2021-03-30

    Hello, i cannot find any forum or topic about this, please help. Some library is missing during exporting a program to PLCOpenXML data format, need to manually add back in when import to a empty project, the library i manually add in to solve the problem is "AC_DataLog". Is there anyway for the library to automatically add in when export to PLCOpenXML? Refer to attach figure for details. Any help would be much appreciated. Thank you.

    CODESYS version using: CODESYS V3.5 SP16 Patch 3
    General Laptop Spec:
    Window 10 Home Single Language Version 20H2
    Processor: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz 2.50 GHz
    Ram 16GB

     
  • hermsen

    hermsen - 2021-03-30

    Hi,

    Very short anwser: you can not export a library via a PLCOpenXml file. So It isn't in the xml file anyway. A PLC Open Export isn't the most "comfortable" option to transport a CODESYS project from CODESYS on PC A to CODESYS on PC B.

    A more convenient solution is asking for a .projectarchive of the project. That contains everything you need, if the person that makes the archive adds all the options/libraries etc.

    Good luck.

     
    πŸ‘
    1
  • tyler-teh - 2021-03-31

    Hello, thanks for the quick reply. i perform a PLC Open export due to i need to transfer the CODESYS project in .xml format to another software, AUTOMATIONML. So is there any possible way to include library in the PLC Open Export?

    Thank you.

     
  • tyler-teh - 2021-03-31

    Hello, thanks for the quick reply. i perform a PLC Open export due to i need to transfer the CODESYS project in .xml format to another software, AUTOMATIONML. So is there any possible way to include library in the PLC Open Export?

    Thank you.

     
  • hermsen

    hermsen - 2021-03-31

    So is there any possible way to include library in the PLC Open Export? ->
    Not that I currently know.

     
  • tyler-teh - 2021-03-31

    Thanks for the prompt reply, looks like i need to look for another way around then. Thanks again

     
    • hermsen

      hermsen - 2021-03-31

      NOTE that CLOSED source libraries like AC_Logging (a .compiledlibrary) cannot be exported to an open format anyway. The library is pre-compiled.

       

      Last edit: hermsen 2021-03-31

Log in to post a comment.