script with codesys

sarathbabu
2014-08-01
2014-08-01
  • sarathbabu - 2014-08-01

    Hi

     Is there any example to understand how a v3 pgm can used with python script?
    

    So far there is no example simple v3 pgm with winNT run time and python script

    Can any one pls help out to create one?

    I can understand python but there is not even a single program of both codesys & python together

    Thanks

     
  • Anonymous - 2014-08-01

    Originally created by: M.Schaber

    Hi, Sarathbabu,

    I think there is some misconception.

    The python scripts run in the CODESYS IDE, while the IEC Code is executed in the runtime.

    Scripts are meant to automate tasks which the user usually performs manually by clicking and typing in the CODESYS IDE.

    Also, Scripts are not contained in CODESYS projects, and cannot be downloaded to the runtime. It is the other way round - scripts themselves can load and close projects, and trigger downloads of applications to devices.

    http://forum.codesys.com/viewtopic.php?f=18&t=2052 or http://forum.codesys.com/viewtopic.php?f=18&t=1890.

    HTH,
    Markus

     

Log in to post a comment.