Did you had a look at UR client interface documentation ?
https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/overview-of-client-interfaces/
Controlling UR via client interface is frequently used,
UR also have a ROS package to control the robot. That may be interesting for you.
http://wiki.ros.org/action/show/universal_robots?action=show&redirect=universal_robot
jensss
how can I force that?
dear