Articles Download Safety & Security Forum myUR Go to Main Site

Universal Robots A/S
Energivej 51
DK-5260 Odense S

T: +45 8993 8989
sales@universal-robots.com

 
  • Articles
  • Download
  • Safety & Security
  • Forum
  • myUR
  • Go to Main Site
  • Support
  • Articles
  • Wait for input, time or... (Wait command)

Wait for input, time or... (Wait command)

Make the program wait for an input, a given time or something else before proceeding.

Last modified on Jan 29, 2025

Examples are valid for:
CB2 Software version: 1.8.16941
CB3 Software version: 3.1.17779
e-Series Software version: All versions

Note that older or newer software versions may behave differently.

The Wait-command can make the robot program wait for a given time, before proceeding. 
It can also be used to wait for a an input to have a defined state, before moving on. 

  1. Go to the "Program"-tab (1) in the Program Robot section.
    Click the "Structure"-tab (2) to find a pallette of the available commands. 
    Find and click the "Wait"-command (3) in the commands pallette.
    Figure1

  2. A Wait-command is inserted into the program tree to the left. 
    Mark the "Wait" command in the program tree and click the "Command" tab to see details for this command. 
    Figure2

    The Wait command gives 4 options: 
    A) Wait for a time, given in seconds. 
    Program moves on, when time has passed. 

    B) Wait for a digital input to have a given state.
    E.g. Digital Input 0 to be high. 
    Program waits here until state is reached. 

    C) Wait for an analog input to have a given value. 
    If the analog input in the "I/O" tab is set to "Current" value is in mA. 
    If the analog input in the "I/O" tab is set to "Voltage" value is in Volts.
    Program waits here until the value is higher/lower than given value. 

    D) Wait for a logic expression. 
    This enables to make the robot e.g. wait for digital input 1 to be high and analog input 0 to be lower than 4 Volts before proceeding. 
    The robot can also wait for a variable to have a defined value. 

  3. In this example, we will choose to wait for Digital Input 0 to be high, before proceeding. 
    Figure3

    The program node in the program tree now turns to green, which means the command is defined. 
logo

Product

  • UR3e Robot
  • UR5e Robot
  • UR10e Robot
  • UR16e Robot
  • UR20 Robot
  • UR+ Products

Company

  • About us
  • Contact us
  • Careers We're hiring
  • UR merchandise

Training / Resources

  • Academy
  • Technical Resources
  • Articles
  • FAQ

Insights

  • Blog
  • Case stories
  • Content library
  • News centre
  • Podcast
  • Webinars & Events

Get in touch

  • Ask an Expert
  • Schedule a no-cost assessment
  • Find a distributor
  • Customer support

Connect with us

  • LinkedIn
  • Facebook
  • Twitter
  • YouTube
  • Instagram
  • Universal Robots A/S
  • Energivej 51
  • DK-5260 Odense S
  • T: +45 89 93 89 89
  • sales@universal-robots.com
  • US Corporate Office
  • 27-43 Wormwood St.
  • 02210 Boston, MA.
  • +1-844-GO-COBOT
  • ur.na@universal-robots.com
  • Copyright @ Universal Robots 2025
  • Cookie policy
  • Privacy policy
  • Universal Robots A/S
  • Energivej 51
  • DK-5260 Odense S
  • T: +45 89 93 89 89
  • sales@universal-robots.com
  • US Corporate Office
  • 27-43 Wormwood St.
  • 02210 Boston, MA.
  • +1-844-GO-COBOT
  • ur.na@universal-robots.com

Copyright © Universal Robots 2025

Cookie policy
Privacy policy