# Nodered pccc in node stopped after running for few days

**URL:** <https://discourse.nodered.org/t/nodered-pccc-in-node-stopped-after-running-for-few-days/67226>\
**Category:** Industrial\
**Created:** [1 September 2022 18:10 UTC](https://discourse.nodered.org/t/nodered-pccc-in-node-stopped-after-running-for-few-days/67226 "2022-09-01T18:10:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaleaditi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kaleaditi/32/67204_2.png) [@kaleaditi](https://discourse.nodered.org/u/kaleaditi)\
**Post date:** [1 September 2022 18:10 UTC](https://discourse.nodered.org/t/nodered-pccc-in-node-stopped-after-running-for-few-days/67226/1 "2022-09-01T18:10:37Z")

</div>

I have been using Nodered v3.0.3 to collect the data from micrologix PLC with the pccc node. The connection was successful and I was able to get the data required form PLC, but suddenly, yesterday I got an error: "Error connecting to PLC: Error: connect ECONNREFUSED 172.19.57.170:44818".  
other PLC's are running fine and I have not modified anything in any of the nodes.  
Can anyone suggest me why the node stopped working all of sudden?

---

<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:** [1 September 2022 19:49 UTC](https://discourse.nodered.org/t/nodered-pccc-in-node-stopped-after-running-for-few-days/67226/2 "2022-09-01T19:49:45Z")

</div>

The first thing to do is to see if you can make it work. For example you could

1. restart node-red
2. power cycle the machine running node-red
3. power cycle the PLC

Obviously note which one it is that fixes it.  
If none of those work, can you ping the PLC from the node-red machine? If not can you ping the other PLCs from the node-red machine? If it is only the one PLC that you cannot ping then either the IP address of the PLC has changed or there is a networking or hardware fault of some sort.

---

<div class="post-metadata">

**Author:** ![kaleaditi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kaleaditi/32/67204_2.png) [@kaleaditi](https://discourse.nodered.org/u/kaleaditi)\
**Post date:** [1 September 2022 20:23 UTC](https://discourse.nodered.org/t/nodered-pccc-in-node-stopped-after-running-for-few-days/67226/3 "2022-09-01T20:23:55Z")

</div>

> [@Colin](#):
>
> power cycle the PLC

I have restarted node-red and power cycled the machine but I can check if I can power cycle the PLC. I will try that and let you know. Thank you so much for the response.

---

<div class="post-metadata">

**Author:** ![kaleaditi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kaleaditi/32/67204_2.png) [@kaleaditi](https://discourse.nodered.org/u/kaleaditi)\
**Post date:** [2 September 2022 14:37 UTC](https://discourse.nodered.org/t/nodered-pccc-in-node-stopped-after-running-for-few-days/67226/4 "2022-09-02T14:37:37Z")

</div>

Hello, I was able to re-establish the connection by power cycling the PLC.

thanks to you...!

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [1 October 2022 15:31 UTC](https://discourse.nodered.org/t/nodered-pccc-in-node-stopped-after-running-for-few-days/67226/5 "2022-10-01T15:31:54Z")

</div>

You should check to see if you have any logs. (depending on what your setup is) The Log will give you details on what caused the communication failure and perhaps something to give the node developers. Also, you should check the GitHub pages to see if there are any messages left from others who have had similar issues recently. I have had better success getting to the developers through GitHub contacts. Recovery by restarting your PLC is a method, but that is not good behavior for process control systems.

---

<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:** [30 November 2022 15:31 UTC](https://discourse.nodered.org/t/nodered-pccc-in-node-stopped-after-running-for-few-days/67226/6 "2022-11-30T15:31:55Z")

</div>

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