CODESYS Pi PLC - execute python scripts in the PLC application
ERROR! The markdown supplied could not be parsed correctly.
Did you forget to surround a code snippet with "~~~~"?
[[embed url=https://www.youtube.com/watch?v=R9x-QX28to8]]
Add python scripts in CODESYS as external files and execute them in you CODESYS PI plc application
Unicorn HAT example Project is available here: http://forge.codesys.com/hax/blog/_discuss/thread/82598d1c/3050/attachment/DownloadPythonScript_and_Exec_onPI.project
![Screenshot](http://forge.codesys.com/hax/blog/_discuss/thread/82598d1c/3050/attachment/Python_as_ExternalFile.jpg)