Asyncronous, non-blocking Snap7 bindings for Node.js
npm install napi-snap7
Snap7 is an open source, 32/64 bit, multi-platform Ethernet communication suite for interfacing natively with Siemens S7 PLCs (See compatibility).
I have been using the node-snap7 module since the first releases.
So this writing was inspired by the great work done previously by the author of the node-snap7 module.
As a member of the open source community I decided to contribute writing my own addon using the modern node-addon-api module.
node-addon-api is based on Node-API and supports using different Node-API versions.
All the I/O functions in the module have synchronous, callback, and promise-based forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM).
Prebuilt binaries shipped with prebuildify.
Davide Nardella for creating Snap7 and Mathias Küsel for creating node-snap7
MIT