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

call codesys v2.3 from CoDeSys v3

hhz
2017-06-13
2017-06-13
  • hhz - 2017-06-13

    Hello,

    as your know, user can create/call CoDeSys v2.3 project in CoDeSys v3 by using Python script. following script works well with CoDesys 3.5.7 sp3:

    command = codesys23.create("PLC_project","Application")
    

    but it does not work with CDS v3.5.9 SP9 and SP11. Error diagnose shows "Path to CoDeSys object in 'names' is invalid."

    Have some one any idea or solution about that?

    Thanks for help!
    BR.

     
  • mkeller - 2017-06-13

    Hi hhz.

    hhz hat geschrieben:

    command = codesys23.create("PLC_project","Application")
    

    is not a symbol/object from the CODESYS Scripting API. Are you using a derivate of CODESYS or any AddOns which add additional Scripting API?

    BR
    Martin

     
  • hhz - 2017-06-13

    Oh, yes. thanks for information and good clue . That is an Add-one from 3rd. party. I will find the quell.

     

Log in to post a comment.