Comments (6)
Hello,
The TCP connection to the PLC is handled by the underlying plcpeople/nodeS7 library. Therefore, we probably need to check the code there. Do you have the full stack trace of this exception?
But, aside of that, an ECONNRESET usually means that the other side (here the PLC) has closed the connection. Are you maybe reaching the limit of the connections to the PLC? Are you connecting to the CPU or to a CP? Which model?
from node-red-contrib-s7.
Hello,
i am pretty sure the issue comes from the latest node-red v0.16.2 upgrade. What i did is that i clone a new mmc card with the node-red 0.15.3 and run it for a night without any issue. I upgrade the node-red to the latest and on the same overall system running the same code the problem appear. I did notice thought that during upgrade some errors about glyp appear that seemed the installer took care.
How i could produce a full stack trace?
I just have the output from the log of node-red.
It is connected to the CPU (S71200), i am thinking that the issue is not from the PLC side.
Thank you in advance
from node-red-contrib-s7.
I am also experiencing the error message "Error connecting to PLC: Error: read ECONNRESET". This has only started since the latest node-red v0.16.2. As trinity noted above, node-red v0.15.3 and v0.14.x did not exibit this issue. Any help is appreciated.
from node-red-contrib-s7.
I'm currently on a business trip and I'll be back by the weekend. so can check this only next week. Meanwhile, could one of you provide me the flow you're using for me to simulate your configuration?
Note: Since v0.2.4 you can enable the debugging output of the underlying nodes7 library by passing -v when running node-red, or by setting verbose: true
on settings.js. Would be also interesting to see the library's output when the error happens
from node-red-contrib-s7.
Hi,
Updating the node-red-contrib-s7 then appears a timeout field that I set it to 4000 milleseconds.
When I do this the error ECON Reset stops.
A important note: When you are working with S7 node you have to use Deploy a modified flows.
from node-red-contrib-s7.
I'm closing this issue, since the only possibility of throwing this has been fixed upstream. If any of you still has such problems after upgrading to the latest versions of node-red-contrib-s7
(currently 1.1.2
) and nodes7
(currently 0.1.15
), please let me know and I reopen it
from node-red-contrib-s7.
Related Issues (20)
- Trigger Read specific adress (S7 Control Node)
- s7-Out, send a Boolean "false" HOT 1
- checkbox for suppressing "Error: connect EHOSTUNREACH" in debug sidebar of NodeRed HOT 10
- ECONNRESET WITH S7-1200 AND S7-1500 HOT 3
- In and out nodes are in-resposive after timeout on http-request HOT 2
- Installation error Node red in Home Assistant. HOT 2
- Invalid properties S7 endpoint with nodered V3.0.2 Node.js 18.14.0 -Windows 10 HOT 14
- S7 out node invalid -endpoint properties
- I am not able to read LREAL HOT 3
- Connecting to S7 300 over NAT not possible
- different behaviour on identical PLCS
- wont work with Simatic RTX
- Dynamic configuration (address, port) change
- Connecting to plc through internet HOT 1
- Error writing arrays
- NAQ doesnt work?
- Persistent variables HOT 3
- Not able to read LREAL
- Symbolic Access (optimized block access)
- S7-in node in connecting status but not connecting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-s7.