Good Morning,
I want to realise the following behaviour: The robot shall rotate an object (turning around Rz) until a code was scanned and then put it down.
I tried the following approach: Just increment a position variable and move to it again and again in a loop.
*LOOP
GETE D000 P081 (6)
ADD D000 -10000
SETE P081 (6) D000
MOVJ P081 VJ=100.00
JUMP *LOOP
(Just imagine an If expression asking if the code was scanned additionally in the loop)
This does not look good at all, since the robot is always stopping before every move. Adding the Nwait Flag does not make it better.
Does anyone have a better approach? I was thinking about something like turning around Rz until the code was scanned but I really do not know how to realise it.
Thank you in advance