# Ping 100+ PLC For Status

**URL:** https://discourse.nodered.org/t/ping-100-plc-for-status/76154
**Category:** General
**Created:** [6 March 2023 00:33 UTC](https://discourse.nodered.org/t/ping-100-plc-for-status/76154 "2023-03-06T00:33:29Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [6 March 2023 00:33 UTC](https://discourse.nodered.org/t/ping-100-plc-for-status/76154/1 "2023-03-06T00:33:29Z")

</div>

I have 100+ PLCs on the network and would like to ping them to get online or offline status. I don’t need any other information. The ping node with an array of all IPs slows down the whole node red server.

Is there any other way or flow example to get online or offline status of all the PLCs?

Thank you!

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [6 March 2023 07:31 UTC](https://discourse.nodered.org/t/ping-100-plc-for-status/76154/2 "2023-03-06T07:31:44Z")

</div>

How often are you running the ping?

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [6 March 2023 08:02 UTC](https://discourse.nodered.org/t/ping-100-plc-for-status/76154/3 "2023-03-06T08:02:28Z")

</div>

I use.... **node-red-node-ping** and have not noticed any noteable slowdown in performance.

![capture_pings](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/3/e3bd7b84bd146c4ff1eecc7506e8f532f8ebb508.png)

---

<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: [6 March 2023 08:26 UTC](https://discourse.nodered.org/t/ping-100-plc-for-status/76154/4 "2023-03-06T08:26:46Z")

</div>

You could send the array through a split node, followed by a delay node set to rate limit of 1 message per second. Lastly, since some timeouts might occur, do not operate this any faster than the total number of PLC's + 30s for timeouts.

---

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [6 March 2023 11:51 UTC](https://discourse.nodered.org/t/ping-100-plc-for-status/76154/5 "2023-03-06T11:51:19Z")

</div>

I am running the ping every 60s.

---

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [6 March 2023 11:52 UTC](https://discourse.nodered.org/t/ping-100-plc-for-status/76154/6 "2023-03-06T11:52:46Z")

</div>

Mine gets super slow with 100+ IPs and the performance improves as soon as I disable the ping node.

---

<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: [6 March 2023 12:05 UTC](https://discourse.nodered.org/t/ping-100-plc-for-status/76154/7 "2023-03-06T12:05:30Z")

</div>

How many of the IPs are offline?

Did you try what I suggested?

> [@Steve-Mcl](#):
>
> You could send the array through a split node, followed by a delay node set to rate limit of 1 message per second

And if so, you realise that 100 pings would take AT LEAST 100 seconds so you should NOT perform this every 1 minute since you will create an ever growing backlog of outstanding pings.

---

<div class="post-metadata">

### Author: ![dpatel2016](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dpatel2016/32/33730_2.png) [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)
#### Post date: [6 March 2023 12:31 UTC](https://discourse.nodered.org/t/ping-100-plc-for-status/76154/8 "2023-03-06T12:31:35Z")

</div>

Usually, only some are offline, but during weekends up to half of them are offline.  
I am working on your suggestion currently. It's working fine so far with no lags.

---

<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: [20 March 2023 12:32 UTC](https://discourse.nodered.org/t/ping-100-plc-for-status/76154/9 "2023-03-20T12:32:22Z")

</div>

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