# Communication through tcp/ip to Aubobot

**URL:** <https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125>\
**Category:** General\
**Created:** [28 December 2020 08:47 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125 "2020-12-28T08:47:55Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![jadelu](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jadelu](https://discourse.nodered.org/u/jadelu)\
**Post date:** [28 December 2020 08:47 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/1 "2020-12-28T08:47:56Z")

</div>

I'm currently connecting from node-red to Aubobot through tcp in node. But after I connected them, it will show an intermittent state of the connection. Does anyone encounter this before?  
 ![Capture](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/3/135e4b08d3f600269a32c78940b0c5b5ea705902.png)  
 ![Capture](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/c/8ce3039d30d7c9d9fb8e8e04578cce7d6ec5f13b.png)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [28 December 2020 13:59 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/2 "2020-12-28T13:59:24Z")

</div>

> [@jadelu](#):
>
> Aubobot

??? What is that? You need to explain a bit more I'm afraid.

---

<div class="post-metadata">

**Author:** ![jadelu](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jadelu](https://discourse.nodered.org/u/jadelu)\
**Post date:** [29 December 2020 02:02 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/3 "2020-12-29T02:02:22Z")

</div>

It's an industrial robot, AUBO-i5 robot

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [29 December 2020 05:03 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/4 "2020-12-29T05:03:56Z")

</div>

It is specified it supports CAN bus communication. Have you considered that?  
Have a look here, might be what you are looking for

> **[node-red-contrib-canbus](https://flows.nodered.org/node/node-red-contrib-canbus)**
>
> A set of node-red nodes used for socketcan utilities

---

<div class="post-metadata">

**Author:** ![jadelu](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jadelu](https://discourse.nodered.org/u/jadelu)\
**Post date:** [30 December 2020 08:51 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/5 "2020-12-30T08:51:11Z")

</div>

I just want to show its status, if it's on or off

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [30 December 2020 09:14 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/6 "2020-12-30T09:14:39Z")

</div>

Then just ping its interface.

---

<div class="post-metadata">

**Author:** ![jadelu](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jadelu](https://discourse.nodered.org/u/jadelu)\
**Post date:** [1 January 2021 08:31 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/7 "2021-01-01T08:31:17Z")

</div>

I have try ping to the AuboBot's IP address from my laptop continuosly and it is successful. I also try ping from AuboBot to Node-Red 'S IP address, it is successful

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [1 January 2021 08:39 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/8 "2021-01-01T08:39:11Z")

</div>

Ok, Is that good or bad?

---

<div class="post-metadata">

**Author:** ![jadelu](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jadelu](https://discourse.nodered.org/u/jadelu)\
**Post date:** [4 January 2021 01:48 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/9 "2021-01-04T01:48:13Z")

</div>

But it shows an intermittent state of connection in node-red

---

<div class="post-metadata">

**Author:** ![jadelu](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jadelu](https://discourse.nodered.org/u/jadelu)\
**Post date:** [6 January 2021 02:54 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/10 "2021-01-06T02:54:36Z")

</div>

So anyone knows how to solve this?

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [6 January 2021 03:33 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/11 "2021-01-06T03:33:53Z")

</div>

> [@jadelu](#):
>
> I just want to show its status, if it's on or off

And then following Steve's suggestions you mention that you can **ping** it !  
Use the Ping node ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/7/77ed9d8391e5b551b9b1e4838fa4df9a6ea6b1b6.png) to do just that.  
If you get a reply in ms then it means the bot is powered on.

Or do you need additional information about the device .. not just it being powered on but if its in operation ?

If yes then you have to contact the manufacturer to provide you with the necessary documentation because i browsed through its manual and didnt find any detailed information regarding ethernet / modbus etc

---

<div class="post-metadata">

**Author:** ![jadelu](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jadelu](https://discourse.nodered.org/u/jadelu)\
**Post date:** [7 January 2021 04:43 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/12 "2021-01-07T04:43:15Z")

</div>

> "ENOENT ping command not found"

I get this as a debug message, do you know how can I solve this.  
I read other posts saying is because my OS doesn't have that command available, so it won't work.  
I using windows on my laptop, while the Aubo robot control panel uses Ubuntu.  
I'm running node-red on my laptop.

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [7 January 2021 05:09 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/13 "2021-01-07T05:09:09Z")

</div>

Thats strange .. for sure the command is there for a windows OS  
and you mentioned above that you used the ping command manually without problem.

I didnt find any problem on the forum relating to this for a windows system.

Have you restated node-red after the node installation ?

---

<div class="post-metadata">

**Author:** ![jadelu](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jadelu](https://discourse.nodered.org/u/jadelu)\
**Post date:** [7 January 2021 07:59 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/14 "2021-01-07T07:59:03Z")

</div>

> [@UnborN](#):
>
> Have you restated node-red after the node installation ?

I'm not really sure how to restart Node-red. Does it mean I need to log out of Node-red and log in again?  
If yes, I tried it.  
I'm running Node-red in Chrome.  
Sorry, I'm quite new here.

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [7 January 2021 08:45 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/15 "2021-01-07T08:45:10Z")

</div>

Just to clarify .. you are using node-red server from your laptop that is running windows ?

if yes .. then normally you have a Command Prompt open with NR running.  
You can use `Ctrl-C` or close that cmd window to stop Node-RED  
and write `node-red` to run it again

---

<div class="post-metadata">

**Author:** ![jadelu](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jadelu](https://discourse.nodered.org/u/jadelu)\
**Post date:** [7 January 2021 08:54 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/16 "2021-01-07T08:54:36Z")

</div>

> [@UnborN](#):
>
> you are using node-red server from your laptop that is running windows ?

The node-red is accessible through SICK TDCE-D. So I can't run any command on the Command Prompt of my laptop

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [7 January 2021 09:14 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/17 "2021-01-07T09:14:35Z")

</div>

I see .. so that explains why the **ping** command may indeed be missing from that linux? based device.

I found an article that explains how to install it if you have access to the device  
**[Ping command not found](https://linuxconfig.org/ping-command-not-found-on-ubuntu-20-04-focal-fossa-linux)**

_but before that its best to consult with your technicians_

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 March 2021 09:14 UTC](https://discourse.nodered.org/t/communication-through-tcp-ip-to-aubobot/38125/18 "2021-03-08T09:14:47Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
