OPCUAClient_Write (FUN)

FUNCTION OPCUAClient_Write : RTS_IEC_RESULT

This function sends a write request to the OPC UA server. Several operations can be done in one call. The results of the operation are returned by an callback interface.

InOut:

Scope

Name

Type

Comment

Return

OPCUAClient_Write

RTS_IEC_RESULT

Input

hConnection

RTS_IEC_HANDLE

Handle to the connection where to send the write request.

pNodesToWrite

POINTER TO OpcUa_WriteValue

Pointer to an array of nodeID and attributes and values to write.

numOfNodes

OpcUa_Int32

Number of nodes to write.

iWriteCallback

IOPCUAClientDataAccessCallback

Callback interface to get the results.