Comments (5)
Hey, I looked at the code and yes there is a bug that needs to be fixed. I never had the chance to test this function because I only own a S71200/1500. You can use the command until I fixed it if you use var res = s7client.DBGet(100, 65535);
The second parameter should be hidden in the lib and describes the maximum size for a DB (AFAIK).
from node-snap7.
Thanks for your very fast response!!!
I now tried with the second parameter and it seems to work, unfortunately my sps also does not
support that function ;-) (Got an error response #20971520 - CPU : Function not available).
So I will work with DBReads and DBWrites.
from node-snap7.
fixed in 4bd69dd
from node-snap7.
Hello, I'm using the same method DBGet(3) but the library is throwing me this:
Function not available (20971520)
wich is preatty much the same case and I do have the latest version of the library.
1.0.6
from node-snap7.
Your error is from the PLC itself and not the library. Not all Siemens PLCs support all functions. See http://snap7.sourceforge.net/compatibility.html
from node-snap7.
Related Issues (20)
- Not able to install in node15 HOT 2
- S7 1200 Poll error Last-Error Info: 36700160: CLI HOT 2
- termux linux aarch64 not compatible! HOT 3
- Read OB & FC data ? HOT 2
- how to force ??
- Electron 13 support HOT 2
- read MD real values
- Missing wrapper for S7WLChar
- Collaboration request HOT 1
- why i install node-snap7 error ? help
- webpack5 | Module not found: Error: Can't resolve 'fs'
- can not install node-snap7
- S7Server.GetParam() always returns boolean
- Won't build with nodejs19 HOT 2
- Electron 21 Support
- In Centos7.9, an error occurred when running a program referencing node-snap7 through the nodejs environment
- Set local port
- Won't work with Node.js v20.x HOT 2
- Uncaught Error: Dynamic require of “events” is not supported HOT 2
- Sporadic transfer of random numbers to the S7 HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-snap7.