Skip to content

Universal Robots

UR10e Image

Summary

  • General information about the universal robot
  • Prepare the universal robot to work with drag&bot
  • Setup network configuration

Information

Use the Offline Simulator described here for testing UR without hardware

Introduction

Before working with the robot, please download the latest User Guide for your UR model and read it especially the safety instructions. (e.g https://www.universal-robots.com/). For downloading the right manual, you will need the robot model and the software version e.g. UR 5 / CB3.

When working with the robot, please take care of below points:

  • Follow the safety instruction of the manufacturer.
  • Keep a safety distance between the robot and its surrounding objects/human (working space area), especially during the robot movement.
  • Press the Emergency-Stop button on the front side of the teach pendant in case of any emergency or in case of leaving the robot alone in a holding status.

Quick Start Robot

To quickly start up the robot after it has been installed, perform the following steps:

  1. Press the Emergency-Stop button on the front side of the teach pendant.
  2. Press the Power button on the teach pendant.
  3. Wait a minute while the system is starting up.
  4. When the system is ready, a pop-up will be shown on the touch screen, stating that the robot needs to be initialized.
  5. Press the button on the pop-up dialog. You will be taken to the initialization screen.
  6. Wait for the Confirmation of applied Safety Configuration dialog and press the Confirm Safety Configuration button. This applies an initial set of safety parameters that need to be adjusted based on a risk assessment.

    Confirm the safety configuration in the UR Teach Pendant

  7. Release the Emergency Stop button. The robot state changes from Emergency Stopped to Power off.
  8. Move to outside the robot workspace area.
  9. Press the ON-Button on the touch screen, then wait for few seconds until the robot state changed to Idle.
  10. Verify that the payload mass and selected mounting are correct. You will be notified if the mounting detected based on sensor data does not match the selected mounting.
  11. Press the Start button on the touch screen. The robot now makes a sound and moves a little while releasing the brakes. The robot state goes to green as shown in the following figure.

    Universal Robots Homescreen Pendant

  12. Press the OK-Button to get to the Homescreen.

Instructions are taken from the UR manual pages II-4 and II-5.

Reset UR Installation

Information

This step is only necessary when you have a robot with an existing installation.

To use drag&bot a clean installation file has to be loaded. This means that no TCP (Tool Center Point) is configured in the controller or the respective transformation must be a zero transformation.

  1. From the Homescreen move to the installation preferences. Therefore press Program Robot, select the Installation Tab and then select the Load/Save entry.
  2. Press on the Load button and load the default.installation> file.
  3. Backup the default installation file to keep the older settings. Press the Save as ... button and give the new file a name such as backup.default, then click Submit-Button.
  4. Now load again the default.installation file.
  5. Check, if the TCP Configuration is correct in the TCP Configuration entry.
  6. If there are more than one TCP configured, select the TCP called TCP in the drop-down or create it new with the buttons New and Rename.
  7. Make sure the transformation of TCP is zero for all coordinates.
  8. Make sure TCP is set as default (the button Set as default is then disabled).
  9. After checking the TCP, save your changes in the Load/Save entry with the Save button. The selected installation should be the default installation.

Configure Feature "Pause and Resume"

Newer versions of drag&bot provide a feature to pause the robot during movements and resume the movement later (it's marked as experimental feature). As this feature requires special configuration at the robot controller, which is described in the following.

To configure a CB robot controller for the pause and resume feature, perform the following steps in the teach pendant (Configuring the controller for an e-Series robot is described in the e-Series section):

  1. Restart the robot controller
  2. Touch the "Program Robot" button.
  3. Touch the "Empty Program" button.
  4. Select the "Structure" tab.
  5. Touch the "Wait" button.
  6. Select the "Command" tab.
  7. Select the "Wait 0.01 seconds" option.
  8. Open the "File" menu at the top bar.
  9. Select the "Save As ..." menu item.
  10. Select the filename textfield.
  11. Enter the program name "DNB-Program" (without .urp ending)
  12. Press the "Submit" button
  13. Setup the robot to load the program on startup.
  14. Restart the robot controller

Now you can enable the "Experimental Pause/Resume Interface" in the drag&bot Studio Component Manager settings for the UR robot.

Digital Inputs and Outputs

The UR controller provides several Digital I/Os, which are accessible through drag&bot:

Controller Ports Type drag&bot Pin Notes
Digital Input 0 to 7 Digital Input DI[0] to DI[7]
Configurable Input 0 to 7 Digital Input CI[0] to CI[7] Available since controller software version 3.1
Tool Input 0 to 1 Digital Input TI[0] to TI[1] Available since controller software version 3.1
Tool Input 8 to 9 Digital Input TI[8] to TI[9] Available before controller software version 3.1
Digital Output 0 to 7 Digital Output DO[0] to DO[7]
Configurable Output 0 to 7 Digital Output CO[0] to CO[7] Available since controller software version 3.1
Tool Output 0 to 1 Digital Output TO[0] to TO[1] Available since controller software version 3.1
Tool Output 8 to 9 Digital Output TO[8] to TO[9] Available before controller software version 3.1

To interact with the Digital I/Os using this numbering in your programs use the function blocks

  • Digital I/O Device - Get
  • Digital I/O Device - Set
  • Digital I/O Device - Wait For

as described in the Function Block Library overview.