plcpeople / nodeS7

Node.JS library for communication to Siemens S7 PLCs
MIT License
356 stars 120 forks source link

Provide an example how to use this library #95

Closed nagvenk closed 3 years ago

nagvenk commented 4 years ago

Can you please provide an example how to us eth is library

ceremcem commented 4 years ago

Did you see README/Examples?

ventr1x commented 4 years ago

Many things are not documented and simply not tested at all. For example a simple dropConnection() (which aparently is not used by the maintainer) is most of the time not enough as it calls the callback BEFORE the actual disconnect happens. I had to use connectionReset() and resetNow() on a simple Siemens plc to even disconnect correctly (it would block the plugin otherwise for whatever reason). These functions are not documented. Any exposed function should be mentioned.

nagvenk commented 3 years ago

i am not working anymore on this