-
Notifications
You must be signed in to change notification settings - Fork 40
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
Question: how to use the write_single_coil() to write on the different positions? #15
Comments
Very importat: I suppose that when use Edit: maybe is a good idea to have a simple doc (with examples) about how to use. |
Relates to #26 |
Relates to #35, same root cause for this issue. Access to the elements of a list of a register value is missing/not yet possible
|
Hello @brainelectronics
I'm using the #10 for tests.
How is possible to use the
write_single_coil()
to write in position 3, for example? In this example below theouput_value
is setting always to the first position:Using this register_definitions:
{'ISTS': {'EXAMPLE_ISTS': {'register': 67, 'len': 1, 'val': 0}}, 'IREGS': {'EXAMPLE_IREG': {'register': 10, 'len': 2, 'val': 60001}}, 'HREGS': {'EXAMPLE_HREG': {'register': 93, 'len': 1, 'val': 19}}, 'COILS': {'EXAMPLE_COIL': {'register': 123, 'len': 3, 'val': [0, 1, 1]}}}
The text was updated successfully, but these errors were encountered: