plcpeople / nodeS7

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

Cannot Read DB1,BOOL type on S7 1200 #51

Closed ouinouin closed 6 years ago

ouinouin commented 6 years ago

Hi, while trying to read BOOL located in a DB, I cannot access to it, I tried DB1,BOOL0 DB1,BOOL0.0 with no success. Is this a lack from your implementation, or shall I investigate on PLC/firmware/TIAportal side ?

Lichtjaeger commented 6 years ago

Try DB1,X0.0.

plcpeople commented 6 years ago

Closing due to no updates in 3 months. If you are still having issues, please reply with more details. If the correct addressing is used, DB1 is NOT set up as an optimized data block, and "Enable GET/PUT" is checked in TIA portal, accessing data blocks in an S7-1200 is very well tested.