Bug: Flow of robot program returns to the start

Hi.

I found a bug of robot program.
Flow of robot program returns to the start when “return” statement is insufficient due to the conditional branch in the ur script.

Robot type: UR3
Controller version: SW3.12.1

1 Like

We have seen the same issue in both 3.X and 5.X versions of the software

We are also experiencing this

Temporary work around for us was to put a statement in between the final end statements. We use sync() or sleep(0).

e.g.

def myscript(a):
if (a ==1):
return True
end
sync()
end

The behavior is confirm and reported. Thanks!

1 Like

Hi @Ebbe

Thank you for your confirmation.
I look forward to the next update.