plcpeople / nodeS7

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

Cannot access some addresses on S7 1200 #55

Closed semihtezcan closed 6 years ago

semihtezcan commented 6 years ago

Hi, We are having trouble reading from some addresses.

watchtables

For the addresses above, we can always read from and write to "MW100" whereas we cannot read from or write to "DB3.DBD0" using same code. When we try to read, the console says "Failed to find a match for DB3".

What are we doing wrong?

plcpeople commented 6 years ago

Try DB3,REAL0 - the syntax is slightly different as you are specifying the data type as well, as NodeS7 can't determine that any other way. The data block has to be non-optimized as well, although it looks like this is already the case from your picture.

plcpeople commented 6 years ago

Did the suggested address change work for you?

plcpeople commented 6 years ago

Closing due to lack of activity.