thank you for your answer.
I managed to install libraries: "SysProcess 18.104.22.168" and "SysTypes2 Interfaces".
I am a bit confused, what and how I should write into CODESYScontrol.cfg
I have a working script (only an example) which I can run with this command:
sudo python \home\GPIO27_ON.py
What should I write into .cfg file for this command to be used from within PLC program?
I prepared this in .cfg:
I moved file to \usr\bin\ folder. I made it executable.
In Programm I define xGumb as virtual button.
This is my code:
xRisingTrigger(CLK:=xGumb);I get Result value 25 when I trigger xGumb. Script is not executed.
IF xRisingTrigger.Q THEN