# Communication UR10e with Siemens PLC (TIA) via Dasboard Server

**URL:** <https://forum.universal-robots.com/t/communication-ur10e-with-siemens-plc-tia-via-dasboard-server/20074>\
**Category:** Technical Questions\
**Created:** [March 23, 2022, 8:25am UTC](https://forum.universal-robots.com/t/communication-ur10e-with-siemens-plc-tia-via-dasboard-server/20074 "2022-03-23T08:25:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadams](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kadams/32/4024_2.png) [@kadams](https://forum.universal-robots.com/u/kadams)\
**Post date:** [March 23, 2022, 8:25am UTC](https://forum.universal-robots.com/t/communication-ur10e-with-siemens-plc-tia-via-dasboard-server/20074/1 "2022-03-23T08:25:34Z")

</div>

Good morning together,

I´m struggling to get a running communication between my UR10e and my Siemens PLC (CPU 1212 TIA15.1) via Dashboard Server.

To do the data exchange I use a OUC Communication which is established via TCON (and deactivated via TDISCON):

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/e/e9565a052d3d4dc327a2fa4b2068a888bf636681.png)

For sending and receiving data i have to use the blocks TSend and TRCV:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/d/df544823a406b436132a127922b678fdf40b8dec.png)

The syntax of a command looks like this (you can see on the left site of the following pic).

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/0/08445e4ba0005cf978dd0025caba63e15f55e4fc.png)

By pressing a Button on HMI the String (from left site) will be moved to the string on the right site and then will be send to the UR.

That works fine.

Now i try to read the answer from the UR.

I put the Robot on Remote control, then i activate the OUC Communication on my PLC.  
If i press now “Start” on my Siemens PLC, the string for example for “Stop” it looks like this:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/b/ba676d01f3e33ec56e2b0651cb92f41b2f5afea0.png)

I send the stop command (on Robot HMI i can see that the Robot is stopped).

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/2/2afe497b16474b79d11e8edfdffd0e4bf4709976.png)

But the Robot itself sends (to me) nonsense to the Siemens PLC.  
For my process it is very important, that i can get a correct feedback from the UR at my Siemens PLC, as i not only want to start/ stop the robot from here… I also want to open different Robot-Programms from my Siemens PLC. For that i have to get a correct answer of which program (on Robot) is loaded.

When i try this Dashboard Server Communication with the SocetTester i can receive the answers like its explained in the Dashboard Server Manual:

[https://www.universal-robots.com/articles/ur/dashboard-server-e-series-port-29999/](https://www.universal-robots.com/articles/ur/dashboard-server-e-series-port-29999/)

Does anyone has and Idea?

Thank you very much in advance.

Many greetings from Luxembourg.

---

<div class="post-metadata">

**Author:** ![kadams](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kadams/32/4024_2.png) [@kadams](https://forum.universal-robots.com/u/kadams)\
**Post date:** [March 23, 2022, 9:41am UTC](https://forum.universal-robots.com/t/communication-ur10e-with-siemens-plc-tia-via-dasboard-server/20074/2 "2022-03-23T09:41:16Z")

</div>

Update:

I´ve changed the Receiving Datablock Format. Instead of receiving a string, I´m using now an Array [0…100] of CHAR.

Now the answer from the Robot looks like this:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/d/dee2d31dba6d76d308f3437f4f5b6f5a2b17804d.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/7/7685ad93eafe6a60b413d16879cf98dbcc0b59bb.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/9/908ea9154a777168b3634a6ee3a1b205f2c7b0ae.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/2/298bf0cf51d788e1d3f9ef3fd6ab4cd051e00775.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/c/c137d131dc0137f7c8ae000c13f2179f63430549.png)

Why does the Robot send “readable” Data only from CHAR68?  
When i Send a new Command to the Robot, the Answer starts from somewhere else…  
I don´t understand how the answer of the UR is created…

---

<div class="post-metadata">

**Author:** ![igor.lana](https://avatars.discourse-cdn.com/v4/letter/i/848f3c/32.png) [@igor.lana](https://forum.universal-robots.com/u/igor.lana)\
**Post date:** [March 2, 2023, 12:34pm UTC](https://forum.universal-robots.com/t/communication-ur10e-with-siemens-plc-tia-via-dasboard-server/20074/3 "2023-03-02T12:34:59Z")

</div>

Hello Kadams,  
please can you write how do create the DB “DB\_Dashboard\_Command”. What document by UR describes these commands, please ? Only the DashboardServer\_e-Series\_2022.pdf ? TNX Igor

---

<div class="post-metadata">

**Author:** ![kadams](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kadams/32/4024_2.png) [@kadams](https://forum.universal-robots.com/u/kadams)\
**Post date:** [March 2, 2023, 12:57pm UTC](https://forum.universal-robots.com/t/communication-ur10e-with-siemens-plc-tia-via-dasboard-server/20074/4 "2023-03-02T12:57:13Z")

</div>

Hi @igor.lana,

the DB “DB\_Dashboard\_Command” looks like this (the Syntax is SUPER Important):

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/6/67809202cfd4d3fabab76445b5f78ca8b697b14b.png)

Tbh I don´t remember which Document i used… cause most of the time it was like “Trial n error” until i found a good way to send the commands to the UR.

This one helped me to find out which commands are existing:

[DashboardServer\_e-Series.pdf](https://forum.universal-robots.com/uploads/short-url/t9Igw1aezRj8DbpVWP4B82PLfNG.pdf) (115.4 KB)

Information about the Syntax of the Commands i had to find out on my own.

---

<div class="post-metadata">

**Author:** ![kxpang](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kxpang](https://forum.universal-robots.com/u/kxpang)\
**Post date:** [March 4, 2023, 10:00am UTC](https://forum.universal-robots.com/t/communication-ur10e-with-siemens-plc-tia-via-dasboard-server/20074/5 "2023-03-04T10:00:04Z")

</div>

I believe it’s something to do with the Siemens PLC. I received the same garbages data too. You can filter out them and retain only alphanumerics maybe

---

<div class="post-metadata">

**Author:** ![kadams](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kadams/32/4024_2.png) [@kadams](https://forum.universal-robots.com/u/kadams)\
**Post date:** [March 6, 2023, 5:13am UTC](https://forum.universal-robots.com/t/communication-ur10e-with-siemens-plc-tia-via-dasboard-server/20074/6 "2023-03-06T05:13:38Z")

</div>

Hi @kxpang

forget about the Post 😃

U will receive CHAR from the UR… but to use it in a propper way at ur PLC u have to convert it into Strg and only read the lenght of the received aswer…

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/4/4d9aa893bbeb6cdcbaaf848eb8b9151fbb6a4b17.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/9/9d34cb5b1d6c9e5b9a37dca955958b5fc3faa88b.png)

Only then u will get a (more or less) usfeull answer from the UR.

I remember that i still faced some issues when i send the same command twice, or when i send a command, while the UR was still answering the first command… Did u face similar problems?

Greetings from Luxembourg!

---

<div class="post-metadata">

**Author:** ![kxpang](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kxpang](https://forum.universal-robots.com/u/kxpang)\
**Post date:** [August 30, 2023, 5:12am UTC](https://forum.universal-robots.com/t/communication-ur10e-with-siemens-plc-tia-via-dasboard-server/20074/8 "2023-08-30T05:12:55Z")

</div>

Yup I have the same issue. I make the PLC to send send the command a few times to make sure the PLC receives the correct answer
