UR published app note on how to accomplish this:http://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/setting-the-speed-slider-from-a-program-15293/
could you please give me one idea how to decrease the speed of the Robot with an input