What must listen on port # 5514
I am developing an application that controls ABB robot using by PC SDK.
I can can connect to local controllers(virtual) those are running on RS installed same PC with the application I mentioned above.
But when I try to connect the same set of controllers(just copy the same rspag file to another PC and run it) running another PC in the same subnet, I cannot make it.
I checked ping packet can be sent/received, and the essential services are running well such as RobComCtrlServer, RobNetScanHost.
Turning off the windows firewall does not give any effect.
Judging by 'netstat -an' only 5512, 5513 port is being opened, not 5514, 5515.
When I capture the packet using wireshark, I could see PC application keeps trying send something on port #5514 and the PC the virtual controllers are running on it returns ICMP 89(port unreachable).
After having struggle almost 8 hours for this, I start wondering is it possible to connect to the virtual controllers over the network.
I saw some comment on manual which says I can connect VC over the network while some guys on this forum say I cannot.
Here is a piece of code I tried.
---------------------------------------------------------------------------------------------
Please help me to solve this problem.
Thank you in advance.
Comments
-
Hi Kunouk,
connecting to a Virtual Controller on one PC from another PC is not supported. What you have seen somewhere on the forum is that there is a setting in a Net Scan configuration XML file that appears to make it work. It does to some extent so you may get happy at first but there are lots of features in PC SDK which will not work. There is a big risk that you waste your time by following this path.
I have an idea that I need help from a colleague to verify and that is to use Robot Web Services instead of PC SDK. It uses Apples Bonjour protocol for discovery and as soon as you know the IP-address you can connect to the controllers port (80/8080?) and make HTTP calls.
However there are some steps you need to do to make the VCs discoverable by Bonjour and I've just read about it never done it myself. I'll try to find some information if this can be an interesting alternative.
Has your use case something to do with Virtual Commissioning?
1 -
You can have a look at Robot Web Services here:
Search for "discovery" on this page.
1 -
Niklas Skoglund said:
You can have a look at Robot Web Services here:
Search for "discovery" on this page.
I`m about giving up using VC for testing on my project.
Actually this is not essential function for my project but it would be very convenience and safer for developing some using PCSDK. (As you know applying safe-unproven code to real robot may cause many problems)
Anyway, I`m very glad to listen the fact that VC cannot be connected via network, and you saved my days by letting me know this.
Unfortunately I cannot use WebService bacause of the lack of functionality compare to the functionality of PCSDK. (I`m trying to use full-set of function PCSDK has in it)
Thank you very much for your support and developing wonderful software.0 -
Hello Kunok
Are you trying to interconnect two controllers (virtual ones) passing through your local area network ?
What is the purpose? I am interested
Depending on what you want to do, you could be able to find a solution for your problem using Rapid socketing features0
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