I can see that CODESYS has a python automation interface, where everything with CODESYS should be possible to automate. But I cannot find a good getting started example.
For example, how do I load a project and run a python script. I have only found examples to run the script, but not to load a project.
What I want to do for now is to be able to build a boot application from my CI. And I want to do it from the command line, preferably using CODESYS 4 Linux.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can see that CODESYS has a python automation interface, where everything with CODESYS should be possible to automate. But I cannot find a good getting started example.
For example, how do I load a project and run a python script. I have only found examples to run the script, but not to load a project.
What I want to do for now is to be able to build a boot application from my CI. And I want to do it from the command line, preferably using CODESYS 4 Linux.
You can start CODESYS and automatically run a script through the command line. See:
https://content.helpme-codesys.com/en/CODESYS%20Scripting/_cds_starting_script_via_command_line.html
Here you can find some examples, which don't answer your question, but hopefully give you more information to get started:
https://content.helpme-codesys.com/en/CODESYS%20Scripting/_cds_access_cds_func_in_python_scripts.html