Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Write Byte Array - by: phil56

$
0
0
Hello OPC-Labs team,

In my PLC I have an array of bytes variable, I can read them with the "Read" method but if I want to write bytes into it with the "Write" method, an exception is thrown:



If I use the "WriteValue" method, I can write the bytes without exception.
Where is my mistake?

Sample code with Write method :


Sample code with WriteValue method :


QuickOPC-UA version 2020.2

best regards
Phil

Viewing all articles
Browse latest Browse all 1794

Trending Articles