Open bombjackit opened 1 year ago
same on a linux machine. This error occurs every time there is a download on the plc side and is elimited as soon as I redeploy (probably because of the forced reconnect).
Same here.
After a network interruption (unplugging PLC network cable) or going to STOP and RUN it automatically reconnects. However, after downloading the program, it doesn't, throwing the following error on console. The only way to get it back working I've found is restarting node-red.
3 Aug 10:48:12 - [error] [eth-ip endpoint:myPLC] Error communicating with the PLC: {"generalStatusCode":4,"extendedStatus":[0]}
Reposted in the right place https://github.com/SerafinTech/node-red-contrib-cip-st-ethernet-ip/issues/5
@cgraun and @r4nd0wn there is a new version of node-red-contrib-cip-st-ethernet-ip (2.0.2, see https://www.npmjs.com/package/node-red-contrib-cip-st-ethernet-ip) that may resolve this issue (I try thid new version and works well but actually I haven't try if auto reconnect in case of download really works).
I tried automatic reconnect after download to plc (with node-red-contrib-cip-st-ethernet-ip 2.0.2) and all go well.
Describe the bug
When a plc, for a known reason (like maintenance, firmware upgrade or software upload), is disconnected from the lan, sometimes it does not automatically reconnect : I have to restart flow manually.
Expected behavior
I expect that the plc is reconnected, in all case, automatically
Logs
This is the log (after this plc is disconnected) 26 Jun 08:03:27 - [error] [eth-ip endpoint:Plc] Error communicating with the PLC: {"generalStatusCode":4,"extendedStatus":[0]}
Environment