05/15/2023
for a Project I am working on, I am using a an Electro-Zylinder. My Goal is by using OPC UA (UA-Expert) to read the data from device and to write data on the device.
I managed to connect the device with the server and now I can see all the Parameters of the CTL on UA-Expert, but the Process data i can’t change there values, I receive the message "Bad" with no other specification, in the Attributes Window this node is current read and current write in both Accesslevel and Useraccesslevel.
so how can I change the value of Process Data on OPC UA? it is possible to control process data via OPC UA?
Thank you
05/30/2017
The Server should be returning more error information. You may need to contact the vendor of the Server for an explanation of what the Bad code is supposed to mean.
That said, just because you nominally have write access that does not mean that any given value is valid given the current state of the device. Are you able to identify a value which you can change and set a value which you know should be acceptable given your understanding of how the machine works.
More importantly, you many need to specify a username/password when you connect because the device only allows authorized users to actually change values. You need to read the Server documentation to find out if this is required.
1 Guest(s)