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.