14.24 Command: Switch
14.24 Command: Switch
A Switch Case construction can make the robot change behavior based on sensor inputs or vari-
able values. Use the Expression Editor to describe the base condition and define the cases under
which the robot should proceed to the sub-commands of this Switch. If the condition is evaluated
to match one of the cases, the lines inside the Case are executed. If a Default Case has been
specified, then the lines will be executed only if no other matching cases were found.
Each Switch can have several Cases and one Default Case. Switches can only have one
instance of any Case values defined. Cases can be added using the buttons on the screen. A Case
command can be removed from the screen for that switch.
Version 3.10
Copyright © 2009–2019 by Universal Robots A/S. All rights reserved.
II-101 CB3