XML-RPC communication with Universal Robots

This is my demo code on how to use the XML-RPC to communicate with Universal Robots (UR). UR is the client and PC is the server that runs the Python script. On the demo code, the script only changes the x coordinate.

Enable remote control on the robot side.

You must change the server IP address and port in the UR code. Execute the server first then UR.

Pose format: Pose = [x, y, z, rx, ry, rz]

XML-RPC is a remote procedure call (RPC) protocol which uses XML to encode its calls and HTTP as a transport mechanism.

My example code on my GitHub: github.com/taunoe/UR-scripts


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.