Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to read/write a single bit? #1

Closed
psi-4ward opened this issue Dec 7, 2014 · 2 comments
Closed

How to read/write a single bit? #1

psi-4ward opened this issue Dec 7, 2014 · 2 comments

Comments

@psi-4ward
Copy link

Hi,
with can access a single bit in WinCC.
Can i do this with your lib too?

Thanks!

@mathiask88
Copy link
Owner

Hi,
try

S7Client.ReadArea(area, dbNumber, start, amount, wordLen, [callback])

and

S7Client.WriteArea(area, dbNumber, start, amount, wordLen, buffer, [callback])

with wordLen=S7WLBit. But keep in mind, that this library is still a work in progress.

@psi-4ward
Copy link
Author

Please contact me via skype: psitrax
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants