# Joint Torque monitor by ROS

**URL:** <https://tech-community.robotics.abb.com/t/joint-torque-monitor-by-ros/10485>\
**Category:** RAPID Programming\
**Created:** [December 8, 2021, 12:29am UTC](https://tech-community.robotics.abb.com/t/joint-torque-monitor-by-ros/10485 "2021-12-08T00:29:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Verina](https://avatars.discourse-cdn.com/v4/letter/v/ed8c4c/32.png) [@Verina](https://tech-community.robotics.abb.com/u/Verina)\
**Post date:** [December 8, 2021, 12:29am UTC](https://tech-community.robotics.abb.com/t/joint-torque-monitor-by-ros/10485/1 "2021-12-08T00:29:42Z")

</div>

Hello. We are using ABB robot IRB120 and I need to get the joints motors torque, so is there a way to get the values using a certain rostopic or service from the ABB package. I know that there is a function in RAPID programming. But if there’s no direct way to get the joint torque, is there a way to get the value from the RAPID to ROS ?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![Richard\_Ramos](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@Richard\_Ramos](https://tech-community.robotics.abb.com/u/Richard_Ramos)\
**Post date:** [December 8, 2021, 2:48pm UTC](https://tech-community.robotics.abb.com/t/joint-torque-monitor-by-ros/10485/2 "2021-12-08T14:48:28Z")

</div>

| 

GetMotorTorque is used to read the current torque of the robot and external axes motors.

GetMotorTorque is primarily used to detect if a servo gripper holds a load or not.

 |
| 

Basic examples

 | 

The following example illustrates the function GetMotorTorque.

See also More examples.

Example 1

VAR num motor\_torque2;

motor\_torque2 := GetMotorTorque(2);

The current motor torque of the second axis of the robot is stored in motor\_torque2.

 |
