
Using RobotWebServices to access a remote Virtual Controller

Maxim Riabichev
Sweden 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:
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:
Comments
-
Perfect, I was just about to ask why it didn't work remotely! Thanks!//Markus Näslund
-
Is it possible to white list multiple ip addresses?
-
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 Engineer