Hello,
I have problems with connecting my Laptop with RTDE everytime I try to use the example_controll_loop.py I get the following Error:
File “example_control_loop.py”, line 50, in
con.connect()
File “rtde.py”, line 92, in connect
self.__sock.connect((self.hostname, self.port))
ConnectionRefusedError: [WinError 10061]
If I didn’t get that Error I got connection Timeout right at the start. The Fieldbus EtherNet/IP on the UR is always Yellow.
I tried many diffrent IPs (localhost, 192.268.x.x, 127.0.0.1. and other) Port is on 30004
At the UR5e I have the Network settings on Static Address and tried diffrent IPs there too.
Subnet is on 255.255.255.0
Gatway 0.0.0.0
Can someone explain me step by step how I setup the RTDE connection? I am new to this Topic and didnt find anything spicific that helped.
If you need more Infos just say it.
Thanks
Michael