plcpeople / nodeS7

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

Need support for DBD #89

Closed tooluke closed 4 years ago

tooluke commented 4 years ago

Hi, I have to read DB10.DBD10 variable for a new project. If I try with this string i get :

"Failed to find a match for DB10"

There are any way to get it?

plcpeople commented 4 years ago

Well, you could start with the example in the README.

You will notice a slightly different format that specifies not just the address but also the data type. So is DB10.DBD10 a REAL or DINT or other?

Run the example, but delete the items you don't need and leave DB10,REAL10 (or DB10,DINT10) and it will work.

plcpeople commented 4 years ago

Closing due to lack of activity, support of DINT and REAL data types is known to work.