Can't connect to controller
erikjber
✭
I'm running into a strange problem when moving my code from RobotStudio to an IRC5 controller.
The code essentially just opens a TCP/IP socket and listens for incoming connections.
This code runs fine in RobotStudio, and apparently it runs fine on the IRC5 too - at least that's what the FlexPendant is telling me.
The problem is that I can't connect to the IRC5 controller via the network.
I know the controller is on the network, since RobotStudio shows the status of the controller, I can grant/revoke write permissions, browse files and so on.
It would be much appreciated if anyone could point me in the right direction.
EDIT:
Apparently there is a socket timeout a few minutes after the program starts. This happens regardless if I try to connect to the port or not.
erikjber2010-03-11 14:32:53
0
Comments
-
Does the IRC5 system have the RobotWare Option "PC-Interface"? If not, you can connect to the controller via the service port.
Henrik Berlin
ABB0 -
Yes, it does.
I've tried connecting via the service port, same result.
0 -
Moved to RobotWare forum the problem is related to socket communication and not specifically RobotStudio.Henrik Berlin
ABB0 -
Ok, I found the problem, I was listening on the wrong address.
127.0.0.1 works under simulation - it even accepts connections from remote hosts,
but on the controller the actual ip address of the interface must be used, otherwise the SocketBind call will time out.
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings