Closed yonas124 closed 6 years ago
Hi, that's weird. I have done extensive testing with a non-existent PLC. What system do you use? (Windows /Linux) I have observed once that the TCP stack of node. js reacts differently to the systems. However, this was the case with an earlier version of node. js.
So my setup is:
The node actually shows 'disconnected' but the payload.error is still 0 with array of last good values, not null. I left my raspi at home so I cannot attach the screenshot. I will later.
In version 1.0.2 there is an error when reading an array of values. The error will be fixed in the next version (release date is Friday). I suggest that you run the test again with the new version.
Hi, a new version is relesed. Is the issue fixed with this version or still available?
close due to inactivity
I got it working easily so kudos to you but the payload.error is 0 even though I disconnected the plc. It becomes -1 only if I put non-existent address.