plcpeople / nodeS7

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

Make globalTimeout configurable through connection opts #126

Open ostollmann opened 2 years ago

ostollmann commented 2 years ago

This makes it possible to configure the globalTimeout as follows:

var conn = new nodes7({ globalTimeout: 5000 });

The motivation is that this reduced the number of connection resets.