Closed PeterDezsi closed 4 years ago
It doesn't seem like a big flow.
Error ADS: Error: This socket has been ended by the other party Means the PLC closed the soced.
But, after the connection to the PLC has broken down, the component tries to reestablish the connection. Depending on the scenario, this doesn't work very well.
i don't know the performance of the siemens iot. I have over 170 notifications in Node Red on an RP4 4 G with Docker related to a cx1020 PLC with Twincat 2. 19 more containers are running on the Raspberry. The container has been running without problems for more than 2 years. In the beginning everything ran on two PI3b.
Have you ever tried to increase the ads timeout? 500 is very low value. better 1000 or 1500..
Or the problem is that the timer triggers too many simultaneous requests. Please reduce the number of inquiries at the same time. It can also help not to send constant requests to the PLC. The PLC can send the data cyclically via notification, which saves communication.
You want to be kidding me. 500ms? That's too fast for ADS on an system with less power.
The PLC must end the cycle and transfer the data. With each ADS read, the positions in the name list are queried at the PLC for the text of the variable names. Then a handle is requested and then the data. No multiread would help either.
Please use the notification component. This notifies transmit changes within milliseconds.
The socket switches without a noticeable time delay after pressing a button. The button is attached to the PLC.
Thank you for your quick answer. Before the ADS Input node, I used to the ADS notification and I have same problem. Now I changed the cycle time at the ADS node, and also at the timestamp. So I see today what will be change
I read some value from twincat 2 system with Siemens iot2040 and forward to these signals to a Siemens 1500 PLC. The main issue the ADS node is not responsing, after some hours. Here is some error messages: "Error ADS: Error: This socket has been ended by the other party" Error stopping node: Close timed out
But in this case I get the datas from TwinCat.
Thank you for your help Best Regards Peter