Display MoreHello,
And for the backgroup program:
.PROGRAM autostart.pc ()
loop:
IF SIG(1001) OR SIG(1002) THEN
SIGNAL 2001
ELSE
SIGNAL -2001
END
TWAIT 0.1
GOTO loop
Use XMOVE TILL 2001
I know that the XMOVE function had some bugs with the old AS version, make sure to have the lastest version from AS and SV. And also make sure to have a watchdog for the background program, If it is in stopped mode, the robot might collide or do other silly thing.
Hello, thank you for reply
I made like that yesterday.
Today, I tested and everything working good with background logic. I put on the beginning program PCEXECUTE command with this logic and everything is OK.