Connecting the Arduino with an UR3

I have the arduiono new and do not know very well with it but wanted to ask if you can connect the Arduino (or Elegoo UNO R3) with a robot from Universal Robots. I plan to control the robot via Arduino. E.g. I have a distance sensor connected to the Arduino, which converts the voltage emitted by the sensor into a distance. However, I want to pass this distance to the robot in the best case and wanted to ask how. The robot has interfaces, like Modbus, Profinet and also digital and analog inputs and outputs.

Many thanks in advance.

2 posts were merged into an existing topic: Arduino mit einem UR3 verbinden