Replies: 1 comment
-
Hi @gborre |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I was wondering if I was misusing the set_lreal function or there's something not working. This is the current implementation.
`
def set_lreal(bytearray_: bytearray, byte_index: int, lreal: float) -> bytearray:
Using the function as it is I got wrong results writing on PLC. I did a small change to make it work:
def set_lreal(bytearray_: bytearray, byte_index: int, lreal: float) -> bytearray:
`
Is this correct? Am I doing something wrong?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions