beautypg.com

Loop process – Hudson Robotics SoftLinx 5.0 User Manual

Page 30

background image

30

Loop Process

Loops are composite steps, which will execute a set of activities within itself repeatedly for a set number of
iterations. Steps must be placed between the loop and end loop boxes to be considered as part of the
loop, and repeat as defined.

Users can define the number of times a loop runs by one of three ways:

- Forever (until stopped by an internal step or the stop button).

- Finite number, either predefined or variables.

- Loop by condition.

Loops are defined using the setup window shown below:

Finite loops are predefined, and will always run the loops for that number of iterations unless stopped by
the stop button or an internal step. Loops that run forever can only be stopped by an internal step or the
stop button.

Conditional loops will run depending on whether or not a condition is satisfied. Users define a conditional
statement, which if evaluated to true, will allow the loop will run. As long as that condition is true at the