# ABB Robot Web Services

**URL:** <https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523>\
**Category:** RobotStudio\
**Created:** [May 25, 2020, 4:47am UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523 "2020-05-25T04:47:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![duesentrieb66](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@duesentrieb66](https://tech-community.robotics.abb.com/u/duesentrieb66)\
**Post date:** [May 25, 2020, 4:47am UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523/1 "2020-05-25T04:47:20Z")

</div>

Hello all,

how can I write - e.g. a signal value - from a rapid code on the controller to a web service client (my PC)? Would I have to write a loop in my software and periodically check the value? This would produce a lot of unnecessary traffic. Or do i misunderstand something?

Thanks for help!

---

<div class="post-metadata">

**Author:** ![Maxim](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/maxim/32/4429_2.png) [@Maxim](https://tech-community.robotics.abb.com/u/Maxim)\
**Post date:** [May 25, 2020, 9:35am UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523/2 "2020-05-25T09:35:11Z")

</div>

Hello,

On your PC you would create a subscription (for example via Robot Web Services) to a signal in the controller.

Look for information on subscriptions to signals.

---

<div class="post-metadata">

**Author:** ![duesentrieb66](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@duesentrieb66](https://tech-community.robotics.abb.com/u/duesentrieb66)\
**Post date:** [May 25, 2020, 10:10pm UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523/3 "2020-05-25T22:10:53Z")

</div>

Thanks Maxim,

I tried the example of your video (thanks for the effort!!) and they run via robotstudio. But wen I send the request to the controller I get the error: “Error: connect ECONNREFUSED”.

Is this on a different port or do i need to buy the WebService option first? FTP, NFS is working fine.

Thanks!

---

<div class="post-metadata">

**Author:** ![Sample](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@Sample](https://tech-community.robotics.abb.com/u/Sample)\
**Post date:** [May 26, 2020, 1:49am UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523/4 "2020-05-26T01:49:43Z")

</div>

> [@Maxim Riabichev](#):
>
> Hello,
> 
> On your PC you would create a subscription (for example via Robot Web Services) to a signal in the controller.
> 
> Look for information on subscriptions to signals.

Can you give me a sample code? I tried,but it was wrong.Thank you

---

<div class="post-metadata">

**Author:** ![Maxim](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/maxim/32/4429_2.png) [@Maxim](https://tech-community.robotics.abb.com/u/Maxim)\
**Post date:** [May 26, 2020, 8:34am UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523/5 "2020-05-26T08:34:57Z")

</div>

@Sample the sample code is available on these forums.

@duesentrieb66 do you have PC Interface option on your RC?

---

<div class="post-metadata">

**Author:** ![duesentrieb66](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@duesentrieb66](https://tech-community.robotics.abb.com/u/duesentrieb66)\
**Post date:** [May 26, 2020, 12:10pm UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523/6 "2020-05-26T12:10:22Z")

</div>

Yes, I do

---

<div class="post-metadata">

**Author:** ![duesentrieb66](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@duesentrieb66](https://tech-community.robotics.abb.com/u/duesentrieb66)\
**Post date:** [May 26, 2020, 1:55pm UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523/7 "2020-05-26T13:55:08Z")

</div>

I just scanned the ports and it looks like only 21 and 111 is open. Where would I open the port 80? There is no firewall between. laptop is directly hooked up to the RC.

Thanks

---

<div class="post-metadata">

**Author:** ![dnilsson](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/dnilsson/32/795_2.png) [@dnilsson](https://tech-community.robotics.abb.com/u/dnilsson)\
**Post date:** [June 1, 2020, 11:26am UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523/8 "2020-06-01T11:26:21Z")

</div>

Solved!  
Error due to wrong RW installation. Webservices is only availible from RW 6.0.

---

<div class="post-metadata">

**Author:** ![Sample](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@Sample](https://tech-community.robotics.abb.com/u/Sample)\
**Post date:** [June 3, 2020, 8:58am UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523/9 "2020-06-03T08:58:50Z")

</div>

> [@](#):
>
> @Sample the sample code is available on these forums.
> 
> @duesentrieb66 do you have PC Interface option on your RC?

I found a subscription operation written in C# on the forum, but it is not suitable for remote mobile. I don’t see the subscription code written in javescript or HTML. Is there any corresponding code to read the subscribed data?  
Can you send it to me if you have it?thank you

---

<div class="post-metadata">

**Author:** ![Maxim](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/maxim/32/4429_2.png) [@Maxim](https://tech-community.robotics.abb.com/u/Maxim)\
**Post date:** [June 3, 2020, 7:03pm UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523/10 "2020-06-03T19:03:59Z")

</div>

Unfortunately there is no such code written in java or html.  
Perhaps you could create a new thread asking the community for assistance?

---

<div class="post-metadata">

**Author:** ![Sample](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@Sample](https://tech-community.robotics.abb.com/u/Sample)\
**Post date:** [June 4, 2020, 1:09am UTC](https://tech-community.robotics.abb.com/t/abb-robot-web-services/9523/11 "2020-06-04T01:09:10Z")

</div>

> [@](#):
>
> Unfortunately there is no such code written in java or html.  
> Perhaps you could create a new thread asking the community for assistance?

Ok, I tried to post a question
