NSC_VersionConstants (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant VERSION_GE_341_30 INT 0 Take care when changing as this identified might be accessed by other libraries!
NSClientGlobals (GVL) ¶ Attributes: qualified_only InOut: Name Type NSClient NSClientWrapper
NSClientSearchNodeFlags (ENUM) ¶ TYPE NSClientSearchNodeFlags : Attributes: qualified_only InOut: Name Initial Comment SearchByType 16#1 SearchByVersion 16#2 SearchById 16#4 SearchByNodeName 16#8 SearchForDirectChildOfUsOnly 16#10 SearchForDirectChildOfAddressOnly 16#20 SearchForDirectChildOfUsOrAddressOnly SearchForDirectChildOfUsOnly OR SearchForDirectChildOfAddressOnly SearchIgnoreOurselfsIfTwoPlcs 16#40 If this flag is used, then the scan will succeed in the following ambiguity situation too and return the info of the second found plc: - We have exactly two matches - One of these matches is our own plc The rationale behing this is, that a scan is used while we have two plcs (due to the same name probably Windows) with the same identification info. For real work, this is probably not really a usecase. Nevertheless, this will happen quickly if somebody wants to test the dataserver. Then the most simple test is to start two plcs locally and thus we have exactly this situation. To allow this usecase without causing severe compatibilty problems, we simply return the other plc and go on. This flag is only relevant for scanning for a specific node. When searching all nodes, this flag will be ignored. It is up to the caller to do the according filtering. SearchForFirstMatch 16#10000 SearchForNonAmbiguousMatch 16#20000
NSClientWrapper (FB) ¶ FUNCTION_BLOCK NSClientWrapper Properties: ErrorCode FoundNodes LastTaskFinished LastTaskName intUseDynamicMemory Methods: GetFoundNode GetSearchedNode SetMemorySettings StartResolveAllNodes StartSearchForNode StartSearchForNode2 prvReset prvStartSearchForNodeParameterChecking prvStartTaskIfPossible Structure: ErrorCode (Property) FoundNodes (Property) GetFoundNode (Method) GetSearchedNode (Method) LastTaskFinished (Property) LastTaskName (Property) SetMemorySettings (Method) StartResolveAllNodes (Method) StartSearchForNode (Method) StartSearchForNode2 (Method) intUseDynamicMemory (Property) prvReset (Method) prvStartSearchForNodeParameterChecking (Method) prvStartTaskIfPossible (Method)
NSClientWrapper.ErrorCode (PROP) ¶ PROPERTY ErrorCode : UDINT
NSClientWrapper.FoundNodes (PROP) ¶ PROPERTY FoundNodes : UDINT
NSClientWrapper.GetFoundNode (METH) ¶ METHOD GetFoundNode : UDINT InOut: Scope Name Type Return GetFoundNode UDINT Input iIndex UDINT Inout node NSC_CompleteNodeInfo
NSClientWrapper.GetSearchedNode (METH) ¶ METHOD GetSearchedNode : UDINT This function delivers the result of <see cref=”StartSearchForNode”>. The return value might be one of the <see cref=”CmpErrors.Errors”> or one of the local <see cref=”Errors”> InOut: Scope Name Type Return GetSearchedNode UDINT Inout node NSC_CompleteNodeInfo
CmpOPCUAServer Implementation Library Documentation ¶ Company System Title CmpOPCUAServer Implementation Version 3.5.17.0 Categories System|SysLibs Author CODESYS Development GmbH Placeholder CmpOPCUAServer Implementation Description 1 ¶ Access to parts of the OPC UA Server Contents: ¶ OpcUaServerGetFirstSession (Function) OpcUaServerGetNextSession (Function) OpcUaServerGetSessionInfo (Function) Indices and tables ¶ 1 Based on CmpOPCUAServer Implementation.library, last modified 20.04.2021, 15:45:51. LibDoc 4.4.0.0-b.27 The content file CmpOPCUAServer Implementation.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:45:51.
OpcUaServerGetFirstSession (FUN) ¶ FUNCTION OpcUaServerGetFirstSession : DWORD This function returns the first available session. Use this function and OpcUaServerGetNextSession to get the initial session configuration. To get notified about changes register to the EVT_CmpOPCUAServerSessionsChanged event.</description> InOut: Scope Name Type Comment Return OpcUaServerGetFirstSession DWORD SessionId of the first session. 0xFFFFFFFF if no session is availble.</result> Input pResult POINTER TO RTS_IEC_RESULT