Communicating via socket in Python with GoFa CRB 1500
- 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.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings