RTDE can't read data from UR10e

Hello everyone,

I want to read the data via RTDE interface in my pc. I connected control box with my pc via ethernet cable and pinged that. When I send script to get data from the robot, it writes that there is connection problem. I use RTDE example file ( Real-Time Data Exchange (RTDE) Guide - 22229 (universal-robots.com)) control loop file.

Do you have any suggestion about that?

Are you sure you set the correct address for your robot in the ROBOT_HOST = ‘IP_ADRESS’ line?

I already connected it. Actually it was problem of gate. Gate wasn’t open from router and that’s why it couldn’t be connected.
Thanks for response.