Overview of client interfaces - 21744
Overview of client interfaces
Overall explanation of client interfaces
UR robot can interact with external devices by different types of communication interfaces.
- Primary/Secondary Interfaces
UR controller provide servers to send robot state data and receive URScript commands. The primary interface transmits robot state data and additional messages. The secondary interface transmits robot state data only. The data is mainly used for communication between GUI and controller. Both accept URScript commands with 10 Hz update rate. It makes possible to control robot remotely without robot program. Information in regards to ports and update, please check this article: Remote Control Via TCP/IP - 16496
The functionality of real-time interface is similar with primary/secondary interfaces. The controller transmits the robot state data and receives URScript commands. The main difference is update rate. Information in regards to ports and update, please check this article: Remote Control Via TCP/IP - 16496
A Universal Robot can be controlled from remote by sending simple commands to the GUI over a TCP/IP socket. This interface is called the "Dashboard Server". Main functions of the server are to load, play, pause, and stop a robot program, set user access level, and receive feedback about robot state.
UR robot can communicate with outside equipment through TCP/IP protocol. Data can be transferred via socket communication between robot and other device. In the socket communication, robot acts as client and other device play a role as server. URScript provides commands which open and close sockets, and send and receive different data formats.
XML-RPC is a Remote Procedure Call method that uses XML to transfer data between programs over sockets. With it, the UR controller can call methods/functions (with parameters) on a remote program/server and get back structured data. By using it, a complex calculation which is not available in URScript can be performed. In addition, other software packages can be combined with URScript.
- RTDE (Real-Time Data Exchange)
RTDE is designed as robust replacement for the real-time interface. This allows UR controller to transmit custom state data and accept custom set-points and register data. Information in regards to ports and update, please check this article: Remote Control Via TCP/IP - 16496
There are how-to articles for communication interfaces.