st-one-io / node-red-contrib-s7

A Node-RED node to interact with Siemens S7 PLCs
GNU General Public License v3.0
108 stars 55 forks source link

Multiple connections to plc when deploy instance #102

Open avlpjwt opened 2 years ago

avlpjwt commented 2 years ago

Describe the bug

Every time we deploy the instance, it creates a new connection to plc and when it gets more than 32conn plc stops with conn limit

To Reproduce

contact us at: marcelino.eilert@volkswagen.com.br

Expected behavior

reset the connection to plc when deploy de instance

Dabbadoeber commented 2 years ago

Hi i have the Same issue with an IM151-8 No connection Anymore, even TIA is unable to connect, i think probably al Connection resource are full. is it possible to flush these ?

matthew-larner commented 1 year ago

I'm also seeing a similar issue when it fails to connect to the PLC - every time it retires, it opens another connection without closing the previous.