Communicating via socket in Python with GoFa CRB 1500
Options
- We succeeded in communicating with GoFa in this configuration via socket with C++ code.
- PC has a manually set IP.
- Ping to GoFa IP is OK
- Ethernet cable is plugged on WAN
- Code in Python is:
HOST = "192.168.100.61"
PORT = 20000
serversocket = socket.socket()
if serversocket :
serversocket.connect((HOST, PORT))
Feedback is :
TimeoutError: [WinError 10060] ....
same thing when trying:
serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
Thank you
0
Comments
-
Server must be started on GoFa and this works:HOST = "192.168.100.61"
PORT = 20000
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
if s :
s.connect((HOST, PORT))
1
Categories
- All Categories
- 5.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 734 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings