Getting Started with Python for CODESYS
See below for an simple application of a Python script in CODESYS:
In any text editor, create a text file
hello.py
with the following contents:print("Hello, automation!")
Start CODESYS and click . Select the file
hello.py
in the file system.See the result in the message view:
For more detailed examples of Python scripts for different use cases with CODESYS, see the following help pages.