Hello everyone!
I am trying to implement a simple Robotino View 4.2.0 program in which i want to realize a communication between Robotino and a PLC (Simatic S7-1200) using OPC UA protocol. To do this, I am using the "Python Script" function block in which I created a script which connects Robotino with the PLC when executed. In this case, the Robotino acts like a client which connects to the server (PLC). My script is perfectly functional, the connection was realized successfully when i executed the script from the Linux terminal. But the problem is that when I execute the Robotino View program I made (which includes the python function block with the code I wrote), I get this weird log message in the Python Script log tab saying "Interpreter change detected - this module can only be loaded into one interpreter per process". Any piece of advice regarding this issue would help me enormously.
Thanks!
PS: Last week, I managed to somehow execute the code properly from the Robotino View and managed to get the value of a variable from the PLC. Execution of the program went well on the first run but every small modification to my code got me the error I have shown below in the pictures and I had to start all over again every time I wanted to modify something.
I am trying to implement a simple Robotino View 4.2.0 program in which i want to realize a communication between Robotino and a PLC (Simatic S7-1200) using OPC UA protocol. To do this, I am using the "Python Script" function block in which I created a script which connects Robotino with the PLC when executed. In this case, the Robotino acts like a client which connects to the server (PLC). My script is perfectly functional, the connection was realized successfully when i executed the script from the Linux terminal. But the problem is that when I execute the Robotino View program I made (which includes the python function block with the code I wrote), I get this weird log message in the Python Script log tab saying "Interpreter change detected - this module can only be loaded into one interpreter per process". Any piece of advice regarding this issue would help me enormously.
Thanks!
PS: Last week, I managed to somehow execute the code properly from the Robotino View and managed to get the value of a variable from the PLC. Execution of the program went well on the first run but every small modification to my code got me the error I have shown below in the pictures and I had to start all over again every time I wanted to modify something.
Comment