NSClientTaskBase (FB) ¶ FUNCTION_BLOCK NSClientTaskBase IMPLEMENTS IResolveCallbackHandler Properties: Finished Pending Methods: Initialize ResolveCallback abstrCallbackFailed abstrCallbackReceived abstrInitialized Structure: Finished (Property) Initialize (Method) Pending (Property) ResolveCallback (Method) abstrCallbackFailed (Method) abstrCallbackReceived (Method) abstrInitialized (Method)
NSClientTaskBase.Finished (PROP) ¶ PROPERTY Finished : BOOL
NSClientTaskBase.Initialize (METH) ¶ METHOD Initialize : UDINT InOut: Scope Name Type Return Initialize UDINT Input pClientWrapper POINTER TO NSClientWrapper optFinishedCallback ITaskFinishedCallback
NSClientTaskBase.Pending (PROP) ¶ PROPERTY Pending : BOOL
NSClientTaskBase.ResolveCallback (METH) ¶ METHOD ResolveCallback : UDINT InOut: Scope Name Type Return ResolveCallback UDINT Input udiResult RTS_IEC_RESULT addrNode NSC_NodeAddress nodeInfo POINTER TO NSC_NodeInfoExt wVersion WORD bComplete BOOL
NSClientTaskBase.abstrCallbackFailed (METH) ¶ METHOD abstrCallbackFailed : UDINT InOut: Scope Name Type Return abstrCallbackFailed UDINT Input udiError RTS_IEC_RESULT
OPCUAClient_GetEndpoints (FUN) ¶ FUNCTION OPCUAClient_GetEndpoints : RTS_IEC_RESULT This function sends a GetEndpoints request to an OPC UA server. As this service does not need a valid session this service can be sent using a client instance. An unsecure channel is automatically created to send this service. InOut: Scope Name Type Comment Return OPCUAClient_GetEndpoints RTS_IEC_RESULT Input hClient RTS_IEC_HANDLE Handle to the client to send the GetEndpoints service. psEndpointURL POINTER TO OpcUa_String The URL to send the GetEndpoints request to. callback IOPCUAClientDiscoveryCallback Callback interface to get the results.
Method ¶ OPCUAClient_Call (Function)
OpcUa_ParsingResult (STRUCT) ¶ TYPE OpcUa_ParsingResult : STRUCT InOut: Name Type StatusCode OpcUa_StatusCode NoOfDataStatusCodes OpcUa_Int32 DataStatusCodes POINTER TO OpcUa_StatusCode NoOfDataDiagnosticInfos OpcUa_Int32 DataDiagnosticInfos POINTER TO OpcUa_DiagnosticInfo
OpcUa_ProgramDiagnostic2DataType (STRUCT) ¶ TYPE OpcUa_ProgramDiagnostic2DataType : STRUCT InOut: Name Type CreateSessionId OpcUa_NodeId CreateClientName OpcUa_String InvocationCreationTime OpcUa_DateTime LastTransitionTime OpcUa_DateTime LastMethodCall OpcUa_String LastMethodSessionId OpcUa_NodeId NoOfLastMethodInputArguments OpcUa_Int32 LastMethodInputArguments POINTER TO OpcUa_Argument NoOfLastMethodOutputArguments OpcUa_Int32 LastMethodOutputArguments POINTER TO OpcUa_Argument NoOfLastMethodInputValues OpcUa_Int32 LastMethodInputValues POINTER TO OpcUa_Variant NoOfLastMethodOutputValues OpcUa_Int32 LastMethodOutputValues POINTER TO OpcUa_Variant LastMethodCallTime OpcUa_DateTime LastMethodReturnStatus OpcUa_StatusResult