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

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

s7-200 Error: read ECONNRESET #51

Closed lixinxiaobai closed 4 years ago

lixinxiaobai commented 4 years ago

I connected S7 200 PLC, suggesting Error connecting to PLC: Error: read ECONNRESET。 Who can help me? windows10 "node-red": "^0.20.7", "node-red-contrib-s7": "^1.6.3"

gfcittolin commented 4 years ago

Hi, could you please provide a bit more details about it like what are you using to connect to the PLC, (CP, PPI-USB adapter, ethernet gateways, ...) and what is your configuration? Please provide your flow. Also, have you configured the connection at the PLC side (needed for S7-200 and Logo)?

lixinxiaobai commented 4 years ago

thank you

I've already solved that, because I've been unsuccessful with slot before, and I don't know what happened.

Then I tried TSAP mode to solve the problem

lixinxiaobai commented 4 years ago

But how to write data to PLC? I don't know how to use it

tstockner commented 4 years ago

If someone else comes over ECONNRESET again, for me it was the wrong Portnumber.

gfcittolin commented 4 years ago

Closing this issue due to lack of activity