Command: If - Universal Robots UR5 Original Instructions Manual

Hide thumbs Also See for UR5:
Table of Contents

Advertisement

13.18 Command: If

13.18 Command: If
An "if...else" construction can make the robot change its behavior based on sensor
inputs or variable values. Use the expression editor to describe the condition under
which the robot should proceed to the sub-commands of this If. If the condition is
evaluated to True, the lines inside this If are executed.
Each If can have several ElseIf and one Else command. These can be added using
the buttons on the screen. An ElseIf command can be removed from the screen for
that command.
The open Check Expression Continuously allow the conditions of the If and
ElseIf statements to be evaluated while the contained lines are executed. If a expres-
sion evaluates to False while inside the body of the If-part, the following ElseIf or
Else statement will be reached.
Version 3.1
(rev. 17782)
II-67
CB3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cb3

Table of Contents