Home

codesys.com Ingo aliazzz
Attachments
python-editor.png (60911 bytes)
There is a newer version of this page. You can find it here.

[[include IndexMain (not found)]]


Python in CODESYS

CODESYS comes with built-in support for Ironpython. The Ironpython scripts are running inside of the CODESYS IDE, and can be used to automate huge parts of the system. That virtually everything within CODESYS can be automated this way, and that CODESYS can even be started headless, running a python script, makes the system really mighty.

There are many use cases you can think of:

  • Test automation
  • CI / CD for CODESYS projects
  • Static analysis for CODESYS projects
  • Autodeploy applications on controllers
  • Scan for controllers and update them
  • Automatically discover diagnostic info from multiple controllers in a network
  • ...

See also CODESYS Help

Examples

... will come...

References

cforge heavily uses the scripting API to automate some workflows for developers.