Robot setup

The robot needs to be prepared before it can be used with the client library.

Enable services:

  1. Go to the hamburger menu -> settings.

  2. Go to Security -> Services.

  3. Unlock the menu using the admin password.

  4. Enable the Primary Client Interface and Real-Time Data Exchange (RTDE) interfaces.

  5. Lock the menu and press exit.

Screenshot from PolyScope X screen.

URCap installation

To use the client library with a robot, you’ll have to have the External Control URCap installed. It allows a remote PC to control the robot externally. Generally, you will launch the driver on the remote PC and then start a program from the tech pendant to connect to the remote application.

The latest release can be downloaded from GitHub (URCapX).

To install it you first have to copy it to a USB stick and plug that into the robot’s teach pendant.

On the welcome screen click on the hamburger menu in the top-left corner and select System Manager to enter the robot’s setup. There select URCaps to enter the URCaps installation screen. You’ll have to press unlock and enter the admin password to be able to install new URCaps.

Welcome screen of a PolyScope X robot

There, click the “+URCap” button at the top-right to open the file selector. There you should see all urcap files stored on a plugged USB drive. Select and open the external-control-X.Y.Z.urcapx file and click Confirm. A popup should ask you to confirm the installation.

URCaps screen with installed urcaps

Upon confirmation, the external-control URCap should be listed as installed.

After the robot rebooted you should find the External Control URCapX on the Application Screen. If you open it, you will get to its configuration screen.

Configuration screen of External Control URCapX

Here you’ll have to setup the IP address of the external PC which will be running the remote application. Note that the robot and the external PC have to be in the same network, ideally in a direct connection with each other to minimize network disturbances. The custom port should be left untouched for now.

To use the new URCaps, create a new program and insert the External Control program node into the program tree

Insert the external control node Program view of external control

If you select the External Control program node, you’ll see a button “Update program” appearing next to it. With the external application started, press it to receive the script code.