OPCUAClient_Browse (FUN) ¶ FUNCTION OPCUAClient_Browse : RTS_IEC_RESULT This function sends a Browse request to the OPC UA server. Several operations can be done in one call. The results of the operation are returned by a callback interface. InOut: Scope Name Type Comment Return OPCUAClient_Browse RTS_IEC_RESULT Input hConnection RTS_IEC_HANDLE Handle to the connection where the request should be sent. view OpcUa_ViewDescription Description of the view of intrest. requestedMaxReferencesPerNode OpcUa_Int32 The maximum numbers of references that should be returned to the client. noOfNodesToBrowse OpcUa_Int32 Number of nodes to browse. pNodesToBrowse POINTER TO OpcUa_BrowseDescription Pointer to an array of nodes to browser. iBrowseCallback IOPCUAClientViewCallback Callback interface to retrieve the results.
OPCUAClient_BrowseNext (FUN) ¶ FUNCTION OPCUAClient_BrowseNext : RTS_IEC_RESULT This function sends a BrowseNext request to the OPC UA server. Several operations can be done in one call. The results of the operation are returned by a callback interface. InOut: Scope Name Type Comment Return OPCUAClient_BrowseNext RTS_IEC_RESULT Input hConnection RTS_IEC_HANDLE Handle to the connection where the request should be sent. releaseContinuationPoints OpcUa_Boolean Release the continuation point or not. noOfContinuationPoints OpcUa_Int32 Number of continuation points sent. pContinuationPoints POINTER TO OpcUa_ByteString Pointer to an array of continuation points to do the BrowseNext. iViewCallback IOPCUAClientViewCallback Callback interface to retrieve the results.
OPCUAClient_RegisterNodes (FUN) ¶ FUNCTION OPCUAClient_RegisterNodes : RTS_IEC_RESULT This function sends a RegisterNodes request to the OPC UA server. Several operations can be done in one call. The results of the operation are returned by a callback interface. InOut: Scope Name Type Comment Return OPCUAClient_RegisterNodes RTS_IEC_RESULT Input hConnection RTS_IEC_HANDLE Handle to the connection where the request should be sent. noOfNodesToRegister OpcUa_Int32 Number of nodes to be registered by the server. pNodesToRegister POINTER TO OpcUa_NodeId Pointer to an array of nodes to register. iViewCallback IOPCUAClientViewCallback Callback interface to retrieve the results.
OPCUAClient_TranslateBrowsePathsToNodeIds (FUN) ¶ FUNCTION OPCUAClient_TranslateBrowsePathsToNodeIds : RTS_IEC_RESULT This function sends a TranslateBrowsePathsToNodeIds request to the OPC UA server. Several operations can be done in one call. The results of the operation are returned by a callback interface. InOut: Scope Name Type Comment Return OPCUAClient_TranslateBrowsePathsToNodeIds RTS_IEC_RESULT Input hConnection RTS_IEC_HANDLE Handle to the connection where the request should be sent. noOfBrowsePaths OpcUa_Int32 Number of browser paths to be translated by the server. pBrowsePaths POINTER TO OpcUa_BrowsePath Pointer to an array of BrowserPath. iViewCallback IOPCUAClientViewCallback Callback interface to retrieve the results.
OPCUAClient_UnregisterNodes (FUN) ¶ FUNCTION OPCUAClient_UnregisterNodes : RTS_IEC_RESULT This function sends an UnregisterNodes request to the OPC UA server. Several operations can be done in one call. The results of the operation are returned by a callback interface. InOut: Scope Name Type Comment Return OPCUAClient_UnregisterNodes RTS_IEC_RESULT Input hConnection RTS_IEC_HANDLE Handle to the connection where the request should be sent. noOfNodesToUnregister OpcUa_Int32 Number of nodes to be unregistered by the server. pNodesToUnregister POINTER TO OpcUa_NodeId Pointer to an array of nodes to unregister. iViewCallback IOPCUAClientViewCallback Callback interface to retrieve the results.
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 24.05.2023, 11:48:20 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpOPCUAClient Implementation.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpOPCUAClient Implementation.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True SourceLibrary False LastModificationDateTime date 24.05.2023, 11:48:18 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace Description See: Description DocFormat reStructuredText Placeholder CmpOPCUAClient Implementation Project CmpOPCUAClient Implementation Title CmpOPCUAClient Implementation Version version 3.5.19.10
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 3SLicense ¶ Library Identification ¶ Placeholder: 3SLicense Default Resolution: 3SLicense, * (3S - Smart Software Solutions GmbH) Namespace: _3S_LICENSE Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: 3SLicense CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) CmpOPCUAClient Interfaces ¶ Library Identification ¶ Name: CmpOPCUAClient Interfaces Version: newest Company: System Namespace: CmpOPCUAClient_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpOPCUAClient Interfaces, * (System) CmpOPCUAStack Interfaces ¶ Library Identification ¶ Name: CmpOPCUAStack Interfaces Version: newest Company: System Namespace: CmpOPCUAStack_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpOPCUAStack Interfaces, * (System) SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
IOPCUAClientConnectionCallback (ITF) ¶ INTERFACE IOPCUAClientConnectionCallback EXTENDS __SYSTEM.IQueryInterface This interface must be implemented to handle OPC UA connectin properly. It is used to inform the implementaiton on state changes of the UA connectin. Futher this interface is used to verify the OPC UA servers certificate and to retrieve the credentails used to activate the session. The callbacks are called when needed. The GetUserCredentials callback will not be called for connection using the AnonymousUserToken, as the VerifyServerCertificate callback will not be called for unprotected UA connections. Methods: ConnectionStateCallback GetUserCredentials VerifyServerCertificate Structure: ConnectionStateCallback (Method) GetUserCredentials (Method) VerifyServerCertificate (Method)
IOPCUAClientConnectionCallback.ConnectionStateCallback (METH) ¶ METHOD ConnectionStateCallback : OpcUa_StatusCode This callback is called whenever the state of the connection changes. InOut: Scope Name Type Comment Return ConnectionStateCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE Handle of the connection that changed the staet. connectionState OPCUAClientConnectionState The new connection state. reason OpcUa_StatusCode The reason why the connection state changed.
IOPCUAClientConnectionCallback.GetUserCredentials (METH) ¶ METHOD GetUserCredentials : OpcUa_StatusCode This callback is called when user credentials are needed to connect to the UA server. InOut: Scope Name Type Comment Return GetUserCredentials OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE Handle to the UA connection. pUserToken POINTER TO OPCUAClientUserToken Pointer to the user token data structure that needs to be filled up. Don’t return your own pointer here.