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

Script engine

2023-01-18
2023-03-13
  • chiaradifelice - 2023-01-18

    Hi!
    I 'm using a controller lenze c300 (with windows embedded CE inside).
    I want to execute automatically a python script that add a variable. The only method I see is use command line ( open codesys.exe and add the --runscript with parameter).
    Is there other method ?

    Thanks!!

     
  • snhatton - 2023-03-13

    Hi there,

    I would take a look at the SysProcess library which allows you to execute OS commands from IEC code. I hope this helps!

     

Log in to post a comment.