1.24.16. Command: Loop
Loops the underlying program commands. Depending on the selection, the underlying program
commands are either looped infinitely, a certain number of times or as long as the given
condition is true. When looping a certain number of times, a dedicated loop variable (called
loop_1
in the screen shot above) is created, which can be used in expressions within the loop.
The loop variable counts from 0 to
N
− 1.
When looping using an expression as end condition, PolyScope provides an option for
continuously evaluating that expression, so that the “loop” can be interrupted anytime during its
execution, rather than just after each iteration.
1.24.17. Command: If
If
and
If...Else
statements change the robot’s behavior based on sensor inputs or variable
values.
User Manual
181
UR10
C
o
p
yr
ig
h
t
©
2
0
0
9
–
2
0
2
0
b
y
U
n
iv
e
rs
a
l
R
o
b
o
ts
A
/S
.
A
ll
ri
g
h
ts
re
s
e
rv
e
d
.
Summary of Contents for UR10/CB3
Page 1: ...Universal Robots User Manual UR10 CB3 Original instructions en...
Page 28: ...UR10 20 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 30: ...UR10 22 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 36: ...UR10 28 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 56: ...UR10 48 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 62: ...UR10 54 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 64: ...UR10 56 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 72: ...China RoHS UR10 64 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 73: ...KCC Safety User Manual 65 UR10 Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 92: ...UR10 84 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 116: ...UR10 108 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 124: ...UR10 116 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 164: ...UR10 156 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...
Page 214: ...UR10 206 User Manual Copyright 2009 2020 by Universal Robots A S All rights reserved...