# Send Data from UR to Phyton

**URL:** <https://forum.universal-robots.com/t/send-data-from-ur-to-phyton/31622>\
**Category:** Robot Communication\
**Created:** [November 29, 2023, 1:41pm UTC](https://forum.universal-robots.com/t/send-data-from-ur-to-phyton/31622 "2023-11-29T13:41:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon2612012](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@anon2612012](https://forum.universal-robots.com/u/anon2612012)\
**Post date:** [November 29, 2023, 1:41pm UTC](https://forum.universal-robots.com/t/send-data-from-ur-to-phyton/31622/1 "2023-11-29T13:41:23Z")

</div>

Hello,  
How can I send the status of the robot, e.g. that it is running or going into a safety stop, send to a Raspberry Pi?  
Our aim is to use the status to control a Werma lamp via a relayshield which is controlled with a Raspberry Pi . All the Digital Outputs are in Use, so there is no Option to use them. Which commands (maybe for RTDE when it should be the best tool for this application) or other tools can I use to read out the safety/emergency status of the robot?

---

<div class="post-metadata">

**Author:** ![quentinwang](https://avatars.discourse-cdn.com/v4/letter/q/13edae/32.png) [@quentinwang](https://forum.universal-robots.com/u/quentinwang)\
**Post date:** [December 1, 2023, 2:59am UTC](https://forum.universal-robots.com/t/send-data-from-ur-to-phyton/31622/2 "2023-12-01T02:59:53Z")

</div>

As you said, using RTDE is a good choice, it can give you the information you want, such as robot\_mode, safety\_mode…
