How write bytes in PLC #1372
sergeishugaev
started this conversation in
General
Replies: 1 comment 1 reply
-
"Byte" in OPC UA is an unsigned byte. Try using the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I try to write some variables to PLC use Milo 0.6.14, but not all variables are written.
In example below I write 4 variable: boolean control, byte index, byte output, int weight.
In PLC, these variables have the type: BOOL, BYTE, BYTE, DINT
boolean and int variable are being written successfully, but byte variables aren't.
I try changed type of variable in java to short, int, but it didn't help.
In PCL BYTE (0...255), in java byte (-128...127).
What am I doing wrong?
How do I write byte variables?
I'll notice, the reading byte variables was successful.
Please help me.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions