Actions
It is not legal to connect a specific variable with a trap routine more than once
I feel i must write an error handler but i m not so experienced in RAPID programming. It is needed to automatically restart execution of processes.
Programm looks like (simple)
after execution of path1 and path2 i get the error i v mentioned above and i have to manually press ok to the error message, PP to main and start button. ANy advice how to automate this?
Thx.
This solution is not so good. It will cause a execution stack overflow. It is recursive; your call heirarchy has already started in the main and then you call main from within. A better solution for an infinite loop would be: WHILE (TRUE) DO
Proc1;
Proc2;
ENDWHILE
or if you wanted some control over it. You can set the robot to run in continous cycle instead of single execution and when it finished main it will start again.