fabioriva / napi-snap7

Asyncronous, non-blocking Snap7 (aka s7 protocol) bindings for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

napi-snap7

Build status

Asyncronous, non-blocking Snap7 bindings for Node.js

npm install napi-snap7

About Snap7

Snap7 is an open source, 32/64 bit, multi-platform Ethernet communication suite for interfacing natively with Siemens S7 PLCs (See compatibility).

Motivation

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.

Features

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.

Acknowledgements

Davide Nardella for creating Snap7 and Mathias Küsel for creating node-snap7

License

MIT

About

Asyncronous, non-blocking Snap7 (aka s7 protocol) bindings for Node.js

License:MIT License


Languages

Language:C++ 96.9%Language:Python 3.0%Language:JavaScript 0.1%