Closed lsibilla closed 9 years ago
I cant imagine that this worked before. You can only read one bit inside a word if you use S7WLBit, so the amount must be 1.
JFYI the S7 protocol does not allow to read more than one bit at a time. If you want to do this you have to read the whole bytes and extract your bits.
Ok. I guess bda56fb045a25b39d0bc6eb37f39b78ca89600ac on deps/snap7/src/core/s7_micro_client.cpp screwed it up.
I adjusted my code to read bytes instead of bits and it works just fine. Thank you !
No problem, thank you for making this project better :) BTW I published a new version(0.2.0) on npm so that you can use proper versions in package.json instead of the master branch.
Hello,
I have another issue on Mac OS. When running this code
I get this error:
This issue was not present when using the branch lsibilla/node-snap7.