nodes7 | A javascript library to communicate with Siemens S7 PLCs
kandi X-RAY | nodes7 Summary
kandi X-RAY | nodes7 Summary
NodeS7 is a library that allows communication to S7-200/300/400/1200/1500 PLCs using the Siemens S7Communication protocol over ISO-on-TCP (RFC1006) or MPI/PPI/DP USB Adapters. Niether the software nor the authors are affiliated with Siemens in any way. S7-200, S7-300, S7-400, S7-1200 and S7-1500 are trademarks of Siemens AG. This is a complete rewrite of and inspired on the awesome work of plcpeople/nodeS7.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Write a data record in a buffer .
- Gets the value of a given buffer
- Sort item list
- Write data to an array
- Serialize request parameters
- Safely destroy a stream .
- Convert a bit - bit integer to a Number
- Convert a bit number to aBC
nodes7 Key Features
nodes7 Examples and Code Snippets
Community Discussions
Trending Discussions on nodes7
QUESTION
ANSWER
Answered 2020-Mar-19 at 11:05NPM modules referenced from the settings.js
in the functionGlobalContext
need to be installed in the userDir
because they are loaded relative to the active settings.js
file.
Both the userDIR
and settings.js
file that are in use are logged in the first few lines of output when Node-RED starts up.
You should only be editing the settings.js
file in the userDir
. The version in the Node-RED install dir is only used when setting up new userDir
's. You will also need to restart Node-RED when ever you edit this file.
QUESTION
I'm trying convert callback functions from nodeS7 API to promises. There is the code with callback, whit work correctly:
...ANSWER
Answered 2020-Feb-04 at 08:46The readAllItems
callback - called valuesReady
in your first code - accepts two parameters. The first is a possible error, and the second is the actual result:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nodes7
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page