07/10/2019
Our OPC UA Server may contain Variables that are available for Data Access from the client, but the actual data source of the variable does not exist or the connection to the data source (for example another another communication) is not defined.
To provide the OPC UA client this information we want to set the Status Code of the Variable.
The question now is which Status Code is correct or intended for this situation?
From my interpretation of the OPC UA Specification I would say BadNotConnected. Is this correct?
05/30/2017
Detailed description of error codes can be found here:
07/10/2019
Thank you I found the same reference for the Status Codes. Based on the desciption on the Status Code BadNotConnected I came to the conclusion the for the discriped situation this should be the correct Status Code but our communicaiton partner (providing the OPC UA Client) sees that differently.
Because what the desciption does not say is if the decription is in view of the server or the client. If the view is of the server I think that BadNotConnected is correct for a server variable without configured data source. But if the view is from the client BadNotConnected would meen that the value on the client is not good because no connection to the server is established.
1 Guest(s)