Error with node.write_value(value, varianttype): BadWriteNotSupported #1162
-
Hi, I am totally new to opc-ua. The last days I tried to set up an environment with an opcua-asyncio client for communication with a running opcua server on a PLC device. So far it worked quite well for my needs with basic functionalities. I can read and write node values with the provided command line tools ("uaread" and "uawrite") and the same is possible with the "opcua-client-gui" I've installed as well. When I use a Python script I can also read all node values from my opcua server with But my problem is that it is not possible at all to write values with the client on the server, although the access level of the node is CurrentRead and CurrentWrite. I tried both The corresponding error is: Is there anything I can do to solve this problem on the client side or do I have to change settings on the server side so that it supports "writing the combination of value, status and timestamps"? I am puzzeld why it does not work since there are no problems writing values with the CLI tools and the "opcua-client-gui". I would appreciate all kinds of hints and pieces of advice to solve this issue. |
Beta Was this translation helpful? Give feedback.
https://github.com/AndreasHeine/opcua-tutorial/blob/8f1dc98e8f2301514aff5fd83ea31fdb35c82029/client/write.py#L35