# How to get the current TCP position from UR5 robot using TCP request node?

**URL:** https://discourse.nodered.org/t/how-to-get-the-current-tcp-position-from-ur5-robot-using-tcp-request-node/61480
**Category:** General
**Created:** [19 April 2022 09:06 UTC](https://discourse.nodered.org/t/how-to-get-the-current-tcp-position-from-ur5-robot-using-tcp-request-node/61480 "2022-04-19T09:06:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gaston](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@gaston](https://discourse.nodered.org/u/gaston)
#### Post date: [19 April 2022 09:06 UTC](https://discourse.nodered.org/t/how-to-get-the-current-tcp-position-from-ur5-robot-using-tcp-request-node/61480/1 "2022-04-19T09:06:31Z")

</div>

I tried to connect to a UR5 robot using ethernet tcp/ip. The connection is made and i can send URscript commands to the UR5 using tcp request node and the robot move.My problem now is how to get the current TCP position from the UR5 using the tcp request node. Does anyone have any idea how to do it? This is the flow used on node red:

 ![flow](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/1/f1b5ef0b67b029401bc4f645e9445c1b5afccdb2.png)  
 ![Unbenannt](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/b/5b613295759ff0a70a19b2d1f1b2192bdc104988.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [18 June 2022 09:07 UTC](https://discourse.nodered.org/t/how-to-get-the-current-tcp-position-from-ur5-robot-using-tcp-request-node/61480/2 "2022-06-18T09:07:21Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
