Hi everyone,
I was wondering if there is a way to write a partial document to a OPC Server without set to default value the part of the document not being considered.
In my case I’m using a Siemens S7-1500 as OPCUA Server.
Lets say for example that i have a data struct in my DB1 looking like this :
a -> int
b -> int
c -> int
When i perform an OPC.Read on DB1, i get back a document with the information i need.
Now my question is, let’s assume i’d like to change at some point, only the value of C, leaving A,B unchanged.
I tried to pop out A and B from the dict but as result i see that the OPC Write is performed correctly for C, while A and B are being set to 0 (guessing is the default value for the data type).
Is there a way to read a document and store it for future use, while popping out every time tags that are not supposed to change for a write request?
Thanks for the support