

Using RobotWebServices to access a remote Virtual Controller

Maxim Riabichev
admin
Hello,
WARNING: Performing the steps below allows access to the whole filesystem on the PC that hosts the VC and not only the files in the VC.
To access a remote VC with RWS successfully, please perform the following steps:
On the PC which is hosting the remote VC:
1) If it doesn't already exist, create a file called "vcconf.xml" in "C:\Users\{user}\AppData\Roaming\ABB Industrial IT\Robotics IT\RobVC\"
2) Put the following content in it:
<VCConfiguration><RemoteVCConfiguration PublicationEnabled="true" /><hosts><host ip="192.168.125.55"/></hosts>
</VCConfiguration>
3) Change the ip address (bold above) to the ip of the local PC from which you will be accessing the remote VC resources.
That should do it.
You're basically white-listing the IP of the client.
If you don't, you'll get either:
1. "RAPI Unidentified Error" when trying to access resources on the remote VC.
2. "401 Unauthorized" error if trying to access the VC via RWS.
WARNING: Performing the steps below allows access to the whole filesystem on the PC that hosts the VC and not only the files in the VC.
To access a remote VC with RWS successfully, please perform the following steps:
On the PC which is hosting the remote VC:
1) If it doesn't already exist, create a file called "vcconf.xml" in "C:\Users\{user}\AppData\Roaming\ABB Industrial IT\Robotics IT\RobVC\"
2) Put the following content in it:
<VCConfiguration><RemoteVCConfiguration PublicationEnabled="true" /><hosts><host ip="192.168.125.55"/></hosts>
</VCConfiguration>
3) Change the ip address (bold above) to the ip of the local PC from which you will be accessing the remote VC resources.
That should do it.
You're basically white-listing the IP of the client.
If you don't, you'll get either:
1. "RAPI Unidentified Error" when trying to access resources on the remote VC.
2. "401 Unauthorized" error if trying to access the VC via RWS.

—
Maxim Riabichev
PC Software Support Engineer
Post edited by Maxim Riabichev on
Tagged:
1
Comments
-
Perfect, I was just about to ask why it didn't work remotely! Thanks!//Markus Näslund0
-
Is it possible to white list multiple ip addresses?
1 -
Yes, it's possible to white list up to 10 IP's:
<hosts>
<host ip="10.11.125.1" />
<host ip="10.11.125.2" />
<host ip="10.11.125.3" />
...
<host ip="10.11.125.10" />
</hosts>
Wildcards are not supported.—Maxim RiabichevPC Software Support Engineer0 -
Hello Maxim
I don't have this directory on my PC when RobotStudio is installed ?
"C:\Users\{user}\AppData\Roaming\ABB Industrial IT\Robotics IT\RobVC\"
Neither "C:\Users\{user}\AppData\Roaming\ABB Industrial IT\Robotics IT"
Post edited by Maxim Riabichev on0 -
Hello JC,
Yes, if the path doesn't exist, it needs to be created and the missing file put into the necessary folder.—Maxim RiabichevPC Software Support Engineer0 -
Hi Maxim,
I followed your instructions and created vcconf.xml under RobVC. Still, the remote VC cannot be found neither by RobotStudio (2021.4 is used) nor by PCSDK. What could possibly be the problem?0 -
Hard to guess without knowing more details regarding your setup. Firewall maybe? Are you on the same subnet as the VC? Could be many reasons..—Maxim RiabichevPC Software Support Engineer0
Categories
- All Categories
- 5.4K RobotStudio
- 377 UpFeed
- 15 Tutorials
- 12 RobotApps
- 286 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 241 ScreenMaker
- 2.7K Robot Controller
- 270 IRC5
- 41 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 729 RAPID Programming
- 15 Wizard Easy Programming
- 108 Collaborative Robots
- 3 Job listings