IOPCUAClientViewCallback.BrowseCallback (METH) ¶ METHOD BrowseCallback : OpcUa_StatusCode Called in response to OpcUaClient_Browser. InOut: Scope Name Type Comment Return BrowseCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call Browse. serviceResult OpcUa_StatusCode The result of the Browse service. numOfResults OpcUa_UInt32 Number of browse results results POINTER TO OpcUa_BrowseResult Pointer to an array of browse results.
IOPCUAClientViewCallback.BrowseNextCallback (METH) ¶ METHOD BrowseNextCallback : OpcUa_StatusCode Called in response to OpcUaClient_BrowseNext. InOut: Scope Name Type Comment Return BrowseNextCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call BrowseNext. serviceResult OpcUa_StatusCode The result of the BrowseNext service. numOfResults OpcUa_UInt32 Number of browse results results POINTER TO OpcUa_BrowseResult Pointer to an array of browse results.
IOPCUAClientViewCallback.RegisterNodesCallback (METH) ¶ METHOD RegisterNodesCallback : OpcUa_StatusCode Called in response to OpcUaClient_RegsiterNodes. InOut: Scope Name Type Comment Return RegisterNodesCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call RegisterNodes. serviceResult OpcUa_StatusCode The result of the RegisterNodes service. numOfNodes OpcUa_UInt32 Number of registered nodes. registeredNodeIds POINTER TO OpcUa_NodeId Pointer to the list of intermediate NodeIDs.
IOPCUAClientViewCallback.TranslateBrowsePathsToNodeIdsCallback (METH) ¶ METHOD TranslateBrowsePathsToNodeIdsCallback : OpcUa_StatusCode Called in response to OpcUaClient_TranslateBrowsePathsToNodeIds. InOut: Scope Name Type Comment Return TranslateBrowsePathsToNodeIdsCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call TranslateBrowsePathsToNodeIds. serviceResult OpcUa_StatusCode The result of the TranslateBrowsePathsToNodeIds service. numOfResults OpcUa_UInt32 Number of translated BrowsePaths. results POINTER TO OpcUa_BrowsePathResult Pointer to an array of translated results.
IOPCUAClientViewCallback.UnregisterNodesCallback (METH) ¶ METHOD UnregisterNodesCallback : OpcUa_StatusCode Called in response to OpcUaClient_UnregisterNodes. InOut: Scope Name Type Comment Return UnregisterNodesCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call unregister nodes. serviceResult OpcUa_StatusCode The result of the UnregisterNodes service.
Structs ¶ OPCAClientCredentials_UserPassword (Struct) OPCUAClientConnectionConfiguration (Struct) OPCUAClientCredentials (Union) OPCUAClientMonitoredItemConfiguration (Struct) OPCUAClientUserToken (Struct)
OPCAClientCredentials_UserPassword (STRUCT) ¶ TYPE OPCAClientCredentials_UserPassword : STRUCT InOut: Name Type Comment username OpcUa_String The username used to activate the session. password OpcUa_String The password corresponding to the username
OPCUAClientConnectionConfiguration (STRUCT) ¶ TYPE OPCUAClientConnectionConfiguration : STRUCT InOut: Name Type Comment sizeofStruct UDINT Size of the strucutre. endpoint OpcUa_EndpointDescription The endpoint to connect to. The endpoint should contain only user token policy that should be used to activate the session. sessionName OpcUa_String The sessions name. sessionTimeout UDINT The session timeout.
OPCUAClientCredentials (UNION) ¶ TYPE OPCUAClientCredentials : UNION InOut: Name Type Comment up OPCAClientCredentials_UserPassword Contains the User/Password credentials used for UserTokenType_UserName. cert RTS_IEC_HANDLE Contains the certificate Certificate used for UserTokenType_Certificate.
OPCUAClientMonitoredItemConfiguration (STRUCT) ¶ TYPE OPCUAClientMonitoredItemConfiguration : STRUCT InOut: Name Type Comment ItemToMonitor OpcUa_ReadValueId IN: The nodeID and Attribute ID of the item to monitore MonitoringMode OpcUa_MonitoringMode IN: The initial monitorng mode of the item. SamplingInterval OpcUa_Double IN: The sampling interval for sampling items. Will be revieced by the server. Filter OpcUa_ExtensionObject IN: The filter to be applied to the monitored item. QueueSize OpcUa_UInt32 IN: The initial queue size of the monitored item. Will be reviced by the server. DiscardOldest OpcUa_Boolean IN: Behavior on queue overflow: TRUE: The oldest sample will be removed. FALSE: the latest sample will be overwritten. callback IOPCUAClientMonitoredItemCallback IN: The callback interface for that monitored item. statusCode OpcUa_StatusCode OUT: The result of the operation for this item. hItem RTS_IEC_HANDLE OUT: The handle of the monitored item.