Hello
Sorry about the language, but I've decided to post here as it looks like people on this forum know Heidenhain very well.
I'm trying to create an extra menu in the machine to gather data about machine utilisation.
Operators would press those buttons to explain why the machine is not running.
As you can see in the picture I've managed to create those buttons but I'm struggling to link them to the python script.
I've got the script in folder PLC:\Python\test.py
In file SK_PROJ.SPJ I've added the command below:
ACTION PN_SetupProg PyName:test.py PYSCRIPT:PLC:\Python\test.py
At the moment I just try to run the script
print ("test") just to test if the script is being executed but nothing is happening.
Any ideas on what am I doing wrong?
Thanks
Pat
Der Beitrag wurde von pa3c bearbeitet: 19.08.2020, 18:32 Uhr
Angehängte Datei(en)
Buttons.jpg ( 107.43KB )
Anzahl der Downloads: 38