Hello Forum,
I have a OPC UA server where UaExpert, CTT ( conformity Test Tool) can Read/Write nodes without problems. If a make a simple flow with node-red using the node-red-contrib-opcua
to read and write this boolean node , only read operation succeeded , the write operation gives an error ( without other details..) see below:
// read
11:45:19:581 <<<<<< _on_message_received 29 ReadResponse Good (0x00000)
{ /*ReadResponse*/
responseHeader /* ResponseHeader */: {
timestamp /* DateTime */: 2020-07-17T11:45:19.581Z
requestHandle /* UInt32 */: 29 0x1d
serviceResult /* StatusCode */: Good (0x00000)
serviceDiagnostics /* DiagnosticInfo */: { /*DiagnosticInfo*/
namespaceUri /* Int32 */: null
symbolicId /* Int32 */: -1
locale /* Int32 */: -1
localizedText /* Int32 */: -1
additionalInfo /* String */: null
innerStatusCode /* StatusCode */: Good (0x00000)
innerDiagnosticInfo /* DiagnosticInfo */: null
};
stringTable /* UAString [] */: [ /* empty*/ ]
additionalHeader /* ExtensionObject */: null
}
results /* DataValue [] */: [ /* length =1*/
{ /* DataValue */
value: Variant(Scalar<Boolean>, value: true)
statusCode: Good (0x00000)
serverTimestamp: 2020-07-17T11:45:19.581Z $ 205.400.000
sourceTimestamp: 2020-07-17T11:41:50.368Z $ 108.800.000
}
]
diagnosticInfos /* DiagnosticInfo [] */: [ /* empty*/ ]
};
// write
17 Jul 13:46:06 - [error] [OpcUa-Client:f1a2b564.94ed28] Error
I have checked the permissions and the write Masks . All seems to be ok. The only currious details is that the description in the uaexpert attribute window of this node is ( written in red) :
description:Invalid Datatype: Expected OpcUaType_LocalizedText, Received OpcUaType_Null
But can not imagine that the description has an impact on the write operation...Any other ideas?
thanks a lot for your reply.