# Change speed slider through Profinet with PLC

**URL:** <https://forum.universal-robots.com/t/change-speed-slider-through-profinet-with-plc/14355>\
**Category:** Robot Communication\
**Created:** [May 17, 2021, 1:35pm UTC](https://forum.universal-robots.com/t/change-speed-slider-through-profinet-with-plc/14355 "2021-05-17T13:35:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon74067353](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@anon74067353](https://forum.universal-robots.com/u/anon74067353)\
**Post date:** [May 17, 2021, 1:35pm UTC](https://forum.universal-robots.com/t/change-speed-slider-through-profinet-with-plc/14355/1 "2021-05-17T13:35:40Z")

</div>

Hello there,

i have a problem and would be thankful if you could help me. I have connected UR10e with a PLC from Phönix Contact through Profinet. I would like to change the speed slider to 100% by sending this value from PLC to UR. I have set SSM so that the speed slider value can be changed.

The problem is that i get really big values when i send 100% in bits in 8\_O2T Module.  
Here I inverted the decimal number into float. I first tried to send 0.1 and then 100, but none of them give me the value i want but some other big value.

 ![0.1_inv](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/6/6ae106ca4565c3f7b55a57b9312f89173c640962.jpeg)  
 ![0.1_sig](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/d/d4553e7408d6e3db7e783d8b5f64fd3d04b8febb.jpeg)  
 ![0.1_ur](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/d/dd8a9ca3dbc8999bcf52dd4c56ceb27fa4cefc7b.jpeg)  
 ![100_inv](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/4/497d448ceca43cc57a822110b83c932704832265.jpeg)  
 ![100_sig](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/7/75f3e8aea7b549411bd0c27d270b715030862d64.jpeg)  
 ![100_ur](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/0/0369fd8113deb3008538b0ac6494558727bb9fec.jpeg)

I would really appreciate it, if someone would send me an example of how to set the bits for example for 100% or tell me if i am doing something somewhere else wrong.

Thank you in advance!

---

<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:** [May 18, 2021, 8:11pm UTC](https://forum.universal-robots.com/t/change-speed-slider-through-profinet-with-plc/14355/2 "2021-05-18T20:11:58Z")

</div>

This is how we are doing it in a system where two robots need to have their speed sliders matched so they are always running at the same speeds, coordinated motion between them. This is a Siemens PLC in Siemens TIA software. Instead of triggering individual bits we are just moving the value from one robot to the other.

ID22 is the incoming UR 1 T2O Speed Slider Fraction and we are moving it to to the other robot UR 8 O2T Speed Slider Fraction QD330

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

Maybe you need to switch your byte order in the PLC?

---

<div class="post-metadata">

**Author:** ![mvrooij](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mvrooij/32/2151_2.png) [@mvrooij](https://forum.universal-robots.com/u/mvrooij)\
**Post date:** [May 21, 2021, 2:35pm UTC](https://forum.universal-robots.com/t/change-speed-slider-through-profinet-with-plc/14355/3 "2021-05-21T14:35:02Z")

</div>

Hi,

I’m no Profinet expert, but from what I can tell is that you’re looking at a BINARY value in your PLC system while the robot expects a FLOATING POINT value. If this checks out, then it’s a byte ordering thing, like @mbush pointed out…

Regards,

Max
