Articles Download Safety & Security Forum myUR Go to Main Site

Universal Robots A/S
Energivej 51
DK-5260 Odense S

T: +45 8993 8989
sales@universal-robots.com

 
  • Articles
  • Download
  • Safety & Security
  • Forum
  • myUR
  • Go to Main Site
  • Support
  • Articles
  • Get force and torque values in tool coordinate system

Get force and torque values in tool coordinate system

These examples can be used for both e-Series and for CB3.

Last modified on Jan 29, 2025

Examples are valid for:
CB3 Software version: 3.7.0
e-Series Software version: 5.1.0

 

How to achieve force and torque values in tool coordinate system

The URScript get_tcp_force()

Returns force and torque values in base coordinate system. However, force and torque values in tool coordinate system are useful in many cases. The values can be achieved by using transformation from base to tool poses.

 

Robot Program

The force and torque values can be converted from base to tool coordinate systems by using few commands within the URP file as below. Please find attached the sample program at the bottom of the page.

 

 

URScript

The URScript get_tcp_force_tool()

Has been made to achieve the force and torque values in tool coordinate system. As it is not an official URScript function, the script would be added before calling the function shown as below. Attached the URScript can be found at the bottom of the page.

 

Attached files


force_torque_tool.urp
get_tcp_force_tool.script
logo

Product

  • UR3e Robot
  • UR5e Robot
  • UR10e Robot
  • UR16e Robot
  • UR20 Robot
  • UR+ Products

Company

  • About us
  • Contact us
  • Careers We're hiring
  • UR merchandise

Training / Resources

  • Academy
  • Technical Resources
  • Articles
  • FAQ

Insights

  • Blog
  • Case stories
  • Content library
  • News centre
  • Podcast
  • Webinars & Events

Get in touch

  • Ask an Expert
  • Schedule a no-cost assessment
  • Find a distributor
  • Customer support

Connect with us

  • LinkedIn
  • Facebook
  • Twitter
  • YouTube
  • Instagram
  • Universal Robots A/S
  • Energivej 51
  • DK-5260 Odense S
  • T: +45 89 93 89 89
  • sales@universal-robots.com
  • US Corporate Office
  • 27-43 Wormwood St.
  • 02210 Boston, MA.
  • +1-844-GO-COBOT
  • ur.na@universal-robots.com
  • Copyright @ Universal Robots 2025
  • Cookie policy
  • Privacy policy
  • Universal Robots A/S
  • Energivej 51
  • DK-5260 Odense S
  • T: +45 89 93 89 89
  • sales@universal-robots.com
  • US Corporate Office
  • 27-43 Wormwood St.
  • 02210 Boston, MA.
  • +1-844-GO-COBOT
  • ur.na@universal-robots.com

Copyright © Universal Robots 2025

Cookie policy
Privacy policy