# How to send the pose data to float register?

**URL:** <https://forum.universal-robots.com/t/how-to-send-the-pose-data-to-float-register/17975>\
**Category:** URScript\
**Created:** [December 4, 2021, 4:52am UTC](https://forum.universal-robots.com/t/how-to-send-the-pose-data-to-float-register/17975 "2021-12-04T04:52:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon76480228](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@anon76480228](https://forum.universal-robots.com/u/anon76480228)\
**Post date:** [December 4, 2021, 4:52am UTC](https://forum.universal-robots.com/t/how-to-send-the-pose-data-to-float-register/17975/1 "2021-12-04T04:52:59Z")

</div>

I wanted to send the robot position values(x,y,z,rx,ry,rz) to float register, which function need to use!!

regards,  
vinay

---

<div class="post-metadata">

**Author:** ![MikeM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mikem/32/3114_2.png) [@MikeM](https://forum.universal-robots.com/u/MikeM)\
**Post date:** [December 4, 2021, 5:31am UTC](https://forum.universal-robots.com/t/how-to-send-the-pose-data-to-float-register/17975/2 "2021-12-04T05:31:13Z")

</div>

Not sure you will be able to send a list of floats to a specific register. I see the command:

```auto
write_output_float_register(register #, float #.#)

```

in the URscript manual, however you would have to do six separate registers for each of the pose values.

Might want to try:

- sending pose as string over socket communication
- reading modbus registers
- using RTDE to read real time position

Not super familiar with sending data over registers so someone else in urcommunity might have a better answer for you.

Anyways hope that helps, and good luck!

---

<div class="post-metadata">

**Author:** ![mbush](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mbush/32/76_2.png) [@mbush](https://forum.universal-robots.com/u/mbush)\
**Post date:** [December 4, 2021, 9:40pm UTC](https://forum.universal-robots.com/t/how-to-send-the-pose-data-to-float-register/17975/3 "2021-12-04T21:40:05Z")

</div>

It takes 6 registers, write each of the pose values to a separate register.

---

<div class="post-metadata">

**Author:** ![dingyanwei](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/dingyanwei/32/2795_2.png) [@dingyanwei](https://forum.universal-robots.com/u/dingyanwei)\
**Post date:** [January 25, 2024, 7:44am UTC](https://forum.universal-robots.com/t/how-to-send-the-pose-data-to-float-register/17975/4 "2024-01-25T07:44:00Z")

</div>

I have a similar question. My UR Robot is executing a script, which is sent through the secondary port.  
I want to write 6 float numbers to a register using **write\_output\_float\_register,** and ensure **not interrupte the ongoing script**.  
How can I do this?  
I sent the follow script by RTDE,it not workd. but secondary port is ok.  
def writeOutputFloatRegister():  
write\_output\_float\_register(3, 1.1)  
write\_output\_float\_register(4, 2.2)  
write\_output\_float\_register(5, 3.3)  
write\_output\_float\_register(6, 4.4)  
write\_output\_float\_register(7, 5.5)  
end  
@mbush
