---
title: "Which protocol for which task"
description: "Routes of each robot brand, what each one needs on the controller, and the protocols used by each method of the common API, in the default order."
---

# Which protocol for which task

This page lists the routes of each robot brand and the protocols that each method of the common API uses, on Fanuc, Yaskawa, Universal Robots, ABB and Stäubli controllers. Use it to know which interface and which controller option a task needs, and which name to give in the routing settings.

## Prerequisites

- None to read this page. Every table is generated from the route data of the library: it follows the version of the library.
- The page [Routing](/robotics/documentation/routing) explains how the library chooses a route at `Connect`.

## How to read the tables

- A route is a protocol of the controller, sometimes in a given mode. Its name is the value to give to `Prefer` and `Set`, or in the text form of the settings. The name of its protocol is the value to give to `Forbid`. The tables of the methods show the name of the protocol. The name to give in the settings is in the Route column of the tables of the brands. See [Routing settings](/robotics/documentation/routing-settings).
- The routes of a method are listed in the default order of the brand. The first route whose protocol answers at `Connect` is used. The next ones are fallbacks.
- (manual) marks a route that the library never opens by itself: you enable it in the connection parameters.
- "Not available" means that the brand has no route for the method: the method throws `FeatureNotSupportedException`, and `IsAvailable` returns false.
- "n of m" is the number of methods of the service that have a route on the brand.

## Routes of each brand

Each table gives the routes of a brand, what each one needs on the controller, and the number of methods that use it as their first route, or have it in their list.

### Fanuc

Routes of Fanuc, in the default order of the brand.

| Route | Protocol | What it is and what it needs | Methods where it is first | Methods where it is listed |
| --- | --- | --- | --- | --- |
| Cgtp | Cgtp | Web server of the controller (CGTP). Firmware 8.30 or later, most methods from 9.10. No controller option. | 31 | 40 |
| CgtpKcl | Cgtp | KCL commands sent to the web server of the controller. Firmware 8.30 or later, some commands from 9.30. No controller option. | 10 | 18 |
| TelnetKcl | Telnet | KCL commands over Telnet. For old firmware. Needs the Telnet KCL password. | 0 | 18 |
| Snpx | Snpx | SNPX. Needs the controller option R553 HMI Device (or R650 FRA with R651 FRL). Fast access to registers, signals, alarms and positions. | 11 | 24 |
| Ftp | Ftp | FTP server of the controller: files, diagnostic files, alarm history. | 16 | 25 |
| Rmi | Rmi | Remote Motion Interface (RMI). Needs the controller option R912. Takes the motion control of the controller: never opened automatically. (manual) | 8 | 11 |

### Yaskawa

Routes of Yaskawa, in the default order of the brand.

| Route | Protocol | What it is and what it needs | Methods where it is first | Methods where it is listed |
| --- | --- | --- | --- | --- |
| HighSpeedEServer | HighSpeedEServer | High Speed Ethernet Server. Function of the controller, enabled in its network settings. | 42 | 53 |
| Ftp | Ftp | FTP server of the controller: files and jobs. The FTP function of the controller must be enabled. | 12 | 13 |
| Http | Http | Web server of the controller: list and read of the files. | 0 | 5 |
| EServer | EServer | Host Control commands over the Ethernet Server. | 0 | 33 |

### Universal Robots

Routes of Universal Robots, in the default order of the brand.

| Route | Protocol | What it is and what it needs | Methods where it is first | Methods where it is listed |
| --- | --- | --- | --- | --- |
| Dashboard | Dashboard | Dashboard Server: programs, power, robot mode, safety status. PolyScope 5 (CB3 and e-Series). | 15 | 17 |
| Rest | Rest | REST API of PolyScope X: power and programs. | 0 | 9 |
| Primary | PrimaryInterface | Primary Interface: robot state, global variables, breakpoints, step, kinematics information. | 8 | 16 |
| Script | PrimaryInterface | URScript sent by the Primary Interface. The program that runs on the robot stops. | 7 | 7 |
| InterpreterMode | InterpreterMode | URScript sent to the Interpreter Mode. The interpreter program must run on the robot. Never opened automatically. (manual) | 4 | 10 |
| Rtde | Rtde | Real-Time Data Exchange: positions and signals. | 3 | 3 |
| Sftp | Sftp | SFTP: programs and files. Needs the SSH user and password. | 15 | 15 |

### ABB

Routes of ABB, in the default order of the brand.

| Route | Protocol | What it is and what it needs | Methods where it is first | Methods where it is listed |
| --- | --- | --- | --- | --- |
| Rws | Rws | Robot Web Services (RWS): HTTP or HTTPS, user and password of the controller. | 60 | 60 |

On ABB, the moves also need one RAPID module, [UnderAutomationMotion.mod](https://github.com/underautomation/Robotics.NET/blob/main/Rapid/UnderAutomationMotion.mod), loaded once in the motion task of the robot. See [Routing](/robotics/documentation/routing).

### Stäubli

Routes of Stäubli, in the default order of the brand.

| Route | Protocol | What it is and what it needs | Methods where it is first | Methods where it is listed |
| --- | --- | --- | --- | --- |
| Soap | Soap | SOAP server of the controller: user and password of the controller. | 26 | 26 |
| File | File | Files of the controller: FTP server of a real controller, or folder of the .controller file of a controller emulated by Stäubli Robotics Suite. | 14 | 15 |

## Routes of each method

One table per service. Each cell gives the routes of the method on the brand, in the default order.

### Information

Identity of the controller and motion groups. See [Info](/robotics/documentation/info).

Routes of each method in the default order. The first route is used, the next ones are fallbacks. (manual) marks a route that you enable yourself.

| Method | Fanuc | Yaskawa | Universal Robots | ABB | Stäubli |
| --- | --- | --- | --- | --- | --- |
| Info.Read | CGTP (Cgtp), FTP | High Speed Ethernet Server | Dashboard Server | Robot Web Services | SOAP |
| Info.ReadGroups | CGTP (Cgtp), FTP | High Speed Ethernet Server | Dashboard Server | Robot Web Services | SOAP |
| Info | **2 of 2** | **2 of 2** | **2 of 2** | **2 of 2** | **2 of 2** |

### State

State of the controller and servo power. See [State](/robotics/documentation/state).

Routes of each method in the default order. The first route is used, the next ones are fallbacks. (manual) marks a route that you enable yourself.

| Method | Fanuc | Yaskawa | Universal Robots | ABB | Stäubli |
| --- | --- | --- | --- | --- | --- |
| State.Read | SNPX, FTP | High Speed Ethernet Server, Ethernet Server | Dashboard Server, Primary Interface (Primary) | Robot Web Services | Not available |
| State.ServoOn | CGTP (CgtpKcl), Telnet, SNPX, RMI (manual) | High Speed Ethernet Server, Ethernet Server | Dashboard Server, REST API, Primary Interface (Primary) | Robot Web Services | SOAP |
| State.ServoOff | Not available | High Speed Ethernet Server, Ethernet Server | Dashboard Server, REST API, Primary Interface (Primary) | Robot Web Services | SOAP |
| State | **2 of 3** | **3 of 3** | **3 of 3** | **3 of 3** | **2 of 3** |

### Programs

List, select, start, pause and stop the programs, and read and write their positions. See [Program](/robotics/documentation/program).

Routes of each method in the default order. The first route is used, the next ones are fallbacks. (manual) marks a route that you enable yourself.

| Method | Fanuc | Yaskawa | Universal Robots | ABB | Stäubli |
| --- | --- | --- | --- | --- | --- |
| Program.List | CGTP (Cgtp), FTP | High Speed Ethernet Server, Ethernet Server, FTP | SFTP | Robot Web Services | SOAP, Files |
| Program.Select | CGTP (Cgtp) | High Speed Ethernet Server, Ethernet Server | Dashboard Server, REST API | Robot Web Services | SOAP |
| Program.Start | CGTP (Cgtp), CGTP (CgtpKcl), Telnet | High Speed Ethernet Server, Ethernet Server | Dashboard Server, REST API | Robot Web Services | SOAP |
| Program.Pause | CGTP (Cgtp), CGTP (CgtpKcl), Telnet | High Speed Ethernet Server, Ethernet Server | Dashboard Server, REST API | Robot Web Services | SOAP |
| Program.Resume | CGTP (CgtpKcl), Telnet | High Speed Ethernet Server, Ethernet Server | Dashboard Server, REST API | Robot Web Services | SOAP |
| Program.Stop | CGTP (Cgtp), CGTP (CgtpKcl), Telnet | Not available | Dashboard Server, REST API | Robot Web Services | SOAP |
| Program.ReadExecution | SNPX, CGTP (CgtpKcl), Telnet, FTP | High Speed Ethernet Server, Ethernet Server | Dashboard Server, REST API | Robot Web Services | SOAP |
| Program.Hold | CGTP (CgtpKcl), Telnet | High Speed Ethernet Server, Ethernet Server | Not available | Not available | Not available |
| Program.SetCycleMode | Not available | High Speed Ethernet Server, Ethernet Server | Not available | Robot Web Services | Not available |
| Program.SelectAtLine | CGTP (Cgtp) | High Speed Ethernet Server, Ethernet Server | Not available | Robot Web Services | Not available |
| Program.StartAtLine | CGTP (Cgtp) | High Speed Ethernet Server, Ethernet Server | Not available | Robot Web Services | Not available |
| Program.StopTask | CGTP (Cgtp), CGTP (CgtpKcl), Telnet | Not available | Not available | Not available | SOAP |
| Program.Position.Read | FTP, CGTP (Cgtp) | FTP, High Speed Ethernet Server | Not available | Robot Web Services | Not available |
| Program.Position.Write | CGTP (Cgtp) | Not available | Not available | Robot Web Services | Not available |
| Program.Position.SetToCurrent | CGTP (Cgtp) | Not available | Not available | Robot Web Services | Not available |
| Program | **14 of 15** | **11 of 15** | **7 of 15** | **13 of 15** | **8 of 15** |

### Debug

Breakpoints and step by step execution. See [Debug](/robotics/documentation/debug).

Routes of each method in the default order. The first route is used, the next ones are fallbacks. (manual) marks a route that you enable yourself.

| Method | Fanuc | Yaskawa | Universal Robots | ABB | Stäubli |
| --- | --- | --- | --- | --- | --- |
| Debug.AddBreakpoint | CGTP (CgtpKcl), Telnet | Not available | Primary Interface (Primary) | Robot Web Services | Not available |
| Debug.RemoveBreakpoint | CGTP (CgtpKcl), Telnet | Not available | Primary Interface (Primary) | Not available | Not available |
| Debug.ReadBreakpoints | CGTP (CgtpKcl), Telnet | Not available | Not available | Robot Web Services | Not available |
| Debug.SetStepMode | CGTP (CgtpKcl), Telnet | High Speed Ethernet Server, Ethernet Server | Primary Interface (Primary) | Robot Web Services | Not available |
| Debug.Continue | CGTP (CgtpKcl), Telnet | High Speed Ethernet Server, Ethernet Server | Primary Interface (Primary) | Robot Web Services | Not available |
| Debug.SetTaskStepMode | CGTP (CgtpKcl), Telnet | Not available | Not available | Not available | Not available |
| Debug.ContinueTask | CGTP (CgtpKcl), Telnet | Not available | Not available | Not available | Not available |
| Debug | **7 of 7** | **2 of 7** | **4 of 7** | **4 of 7** | **0 of 7** |

### Variables

Read and write the variables and registers of the controller. See [Variable](/robotics/documentation/variable).

Routes of each method in the default order. The first route is used, the next ones are fallbacks. (manual) marks a route that you enable yourself.

| Method | Fanuc | Yaskawa | Universal Robots | ABB | Stäubli |
| --- | --- | --- | --- | --- | --- |
| Variable.Read | CGTP (Cgtp), SNPX | High Speed Ethernet Server, Ethernet Server | Dashboard Server, Primary Interface (Primary) | Robot Web Services | Not available |
| Variable.WriteInteger | CGTP (Cgtp), SNPX | High Speed Ethernet Server, Ethernet Server | Interpreter Mode (manual) | Robot Web Services | Not available |
| Variable.WriteReal | CGTP (Cgtp), SNPX | High Speed Ethernet Server, Ethernet Server | Interpreter Mode (manual) | Robot Web Services | Not available |
| Variable.WriteString | CGTP (Cgtp), SNPX | High Speed Ethernet Server, Ethernet Server | Interpreter Mode (manual) | Robot Web Services | Not available |
| Variable.WriteBoolean | CGTP (Cgtp), SNPX | High Speed Ethernet Server, Ethernet Server | Interpreter Mode (manual) | Robot Web Services | Not available |
| Variable.ReadPosition | CGTP (Cgtp), SNPX | Not available | Not available | Robot Web Services | Not available |
| Variable.WritePosition | CGTP (Cgtp), SNPX | Not available | Not available | Robot Web Services | Not available |
| Variable.ReadComment | CGTP (Cgtp), SNPX | High Speed Ethernet Server | Not available | Not available | Not available |
| Variable.WriteComment | CGTP (Cgtp), SNPX | High Speed Ethernet Server | Not available | Not available | Not available |
| Variable.List | CGTP (Cgtp) | High Speed Ethernet Server | Primary Interface (Primary) | Robot Web Services | Not available |
| Variable.ReadMany | CGTP (Cgtp), SNPX | High Speed Ethernet Server, Ethernet Server | Not available | Not available | Not available |
| Variable | **11 of 11** | **9 of 11** | **6 of 11** | **8 of 11** | **0 of 11** |

### Inputs and outputs

Read, write and simulate the signals. See [Io](/robotics/documentation/io).

Routes of each method in the default order. The first route is used, the next ones are fallbacks. (manual) marks a route that you enable yourself.

| Method | Fanuc | Yaskawa | Universal Robots | ABB | Stäubli |
| --- | --- | --- | --- | --- | --- |
| Io.Read | SNPX, CGTP (Cgtp) | High Speed Ethernet Server, Ethernet Server | RTDE, Primary Interface (Primary) | Robot Web Services | SOAP |
| Io.WriteBoolean | SNPX, CGTP (Cgtp), CGTP (CgtpKcl), Telnet | High Speed Ethernet Server, Ethernet Server | Primary Interface (Script), Interpreter Mode (manual) | Robot Web Services | SOAP |
| Io.WriteNumber | SNPX, CGTP (Cgtp), CGTP (CgtpKcl), Telnet | High Speed Ethernet Server, Ethernet Server | Primary Interface (Script), Interpreter Mode (manual) | Robot Web Services | SOAP |
| Io.ReadComment | CGTP (Cgtp), SNPX | High Speed Ethernet Server | Not available | Not available | Not available |
| Io.WriteComment | CGTP (Cgtp), SNPX | High Speed Ethernet Server | Not available | Not available | Not available |
| Io.List | CGTP (Cgtp) | High Speed Ethernet Server | Not available | Robot Web Services | SOAP |
| Io.ReadMany | SNPX, CGTP (Cgtp) | High Speed Ethernet Server, Ethernet Server | Not available | Not available | SOAP |
| Io.Simulate | CGTP (Cgtp) | Not available | Not available | Not available | Not available |
| Io.Unsimulate | CGTP (Cgtp) | Not available | Not available | Not available | Not available |
| Io | **9 of 9** | **7 of 9** | **3 of 9** | **4 of 9** | **5 of 9** |

### Alarms

Active alarms, alarm history and reset. See [Alarm](/robotics/documentation/alarm).

Routes of each method in the default order. The first route is used, the next ones are fallbacks. (manual) marks a route that you enable yourself.

| Method | Fanuc | Yaskawa | Universal Robots | ABB | Stäubli |
| --- | --- | --- | --- | --- | --- |
| Alarm.ReadActive | SNPX, FTP | High Speed Ethernet Server, Ethernet Server | Primary Interface (Primary), Dashboard Server | Robot Web Services | Not available |
| Alarm.ReadHistory | SNPX, FTP | Not available | Not available | Robot Web Services | Not available |
| Alarm.Reset | SNPX, CGTP (CgtpKcl), Telnet | High Speed Ethernet Server, Ethernet Server | Dashboard Server | Not available | Not available |
| Alarm | **3 of 3** | **2 of 3** | **2 of 3** | **2 of 3** | **0 of 3** |

### Motion

Positions, kinematics, frames and moves. See [Motion](/robotics/documentation/motion).

Routes of each method in the default order. The first route is used, the next ones are fallbacks. (manual) marks a route that you enable yourself.

| Method | Fanuc | Yaskawa | Universal Robots | ABB | Stäubli |
| --- | --- | --- | --- | --- | --- |
| Motion.ReadPose | SNPX, CGTP (Cgtp), RMI (manual), FTP | High Speed Ethernet Server, Ethernet Server | RTDE, Primary Interface (Primary) | Robot Web Services | SOAP |
| Motion.ReadJoints | SNPX, CGTP (Cgtp), RMI (manual), FTP | Not available | RTDE, Primary Interface (Primary) | Robot Web Services | SOAP |
| Motion.ForwardKinematics | CGTP (Cgtp) | Not available | Primary Interface (Primary) | Robot Web Services | SOAP |
| Motion.InverseKinematics | CGTP (Cgtp) | Not available | Primary Interface (Primary) | Robot Web Services | SOAP |
| Motion.ReadUserFrame | RMI (manual) | Not available | Not available | Not available | Not available |
| Motion.ReadTool | RMI (manual) | Not available | Not available | Not available | Not available |
| Motion.MoveJoint | RMI (manual) | Not available | Primary Interface (Script), Interpreter Mode (manual) | Robot Web Services | SOAP |
| Motion.MoveJointToPose | RMI (manual) | High Speed Ethernet Server, Ethernet Server | Primary Interface (Script), Interpreter Mode (manual) | Robot Web Services | SOAP |
| Motion.MoveLinear | RMI (manual) | High Speed Ethernet Server, Ethernet Server | Primary Interface (Script), Interpreter Mode (manual) | Robot Web Services | SOAP |
| Motion.MoveLinearToJoints | RMI (manual) | Not available | Primary Interface (Script), Interpreter Mode (manual) | Robot Web Services | SOAP |
| Motion.StopMotion | RMI (manual) | High Speed Ethernet Server, Ethernet Server | Primary Interface (Script), Dashboard Server | Robot Web Services | SOAP |
| Motion.WaitForMotionEnd | RMI (manual) | High Speed Ethernet Server, Ethernet Server | Dashboard Server, Primary Interface (Primary) | Robot Web Services | Not available |
| Motion.ForwardKinematicsInFrame | CGTP (Cgtp) | Not available | Not available | Not available | Not available |
| Motion.ReadKinematicModel | FTP | High Speed Ethernet Server | Not available | Not available | Not available |
| Motion | **14 of 14** | **6 of 14** | **10 of 14** | **10 of 14** | **9 of 14** |

### Files

List, download and upload the files of the controller. See [File](/robotics/documentation/file).

Routes of each method in the default order. The first route is used, the next ones are fallbacks. (manual) marks a route that you enable yourself.

| Method | Fanuc | Yaskawa | Universal Robots | ABB | Stäubli |
| --- | --- | --- | --- | --- | --- |
| File.List | FTP, CGTP (Cgtp) | FTP, High Speed Ethernet Server, HTTP | SFTP | Robot Web Services | Files |
| File.Download | FTP | FTP, High Speed Ethernet Server, HTTP | SFTP | Robot Web Services | Files |
| File.ReadBytes | FTP | FTP, High Speed Ethernet Server, HTTP | SFTP | Robot Web Services | Files |
| File.ReadText | FTP, CGTP (Cgtp) | FTP, High Speed Ethernet Server, HTTP | SFTP | Robot Web Services | Files |
| File.Upload | FTP | FTP, High Speed Ethernet Server | SFTP | Robot Web Services | Files |
| File.WriteBytes | FTP | FTP, High Speed Ethernet Server | SFTP | Robot Web Services | Files |
| File.WriteText | FTP | FTP, High Speed Ethernet Server | SFTP | Robot Web Services | Files |
| File.Delete | FTP | FTP, High Speed Ethernet Server | SFTP | Robot Web Services | Files |
| File.Exists | FTP | FTP | SFTP | Robot Web Services | Files |
| File.Rename | FTP | Not available | SFTP | Robot Web Services | Files |
| File.CreateDirectory | FTP | Not available | SFTP | Robot Web Services | Files |
| File.DeleteDirectory | FTP | Not available | SFTP | Robot Web Services | Files |
| File.ReadBytesWithProgress | FTP | FTP, High Speed Ethernet Server, HTTP | SFTP | Robot Web Services | Files |
| File.WriteBytesWithProgress | FTP | FTP, High Speed Ethernet Server | SFTP | Robot Web Services | Files |
| File | **14 of 14** | **11 of 14** | **14 of 14** | **14 of 14** | **14 of 14** |

### Pendant

Messages on the teach pendant. See [Pendant](/robotics/documentation/pendant).

Routes of each method in the default order. The first route is used, the next ones are fallbacks. (manual) marks a route that you enable yourself.

| Method | Fanuc | Yaskawa | Universal Robots | ABB | Stäubli |
| --- | --- | --- | --- | --- | --- |
| Pendant.ShowMessage | Not available | High Speed Ethernet Server, Ethernet Server | Dashboard Server, REST API | Not available | Not available |
| Pendant | **0 of 1** | **1 of 1** | **1 of 1** | **0 of 1** | **0 of 1** |

## What to read next

- [Routing settings](/robotics/documentation/routing-settings): prefer, set or forbid a route, and enable a manual route.
- [Routing](/robotics/documentation/routing): the route explorer, and the route chosen on your controller.
- [Errors](/robotics/documentation/errors): what to do when a method has no usable route.