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 0to 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
Copyright © 2009–2020 by UniversalRobotsA/S. All rights reserved.