Errors (GVL) ¶ Attributes: qualified_only InOut: Name Type Initial ERR_NSC_AMBIGUOUSDEVICE UDINT 16#2201
External Functions ¶ NSClientClose (Function) NSClientOpen (Function) NSClientResolveAll (Function)
NSClientClose (FUN) ¶ FUNCTION NSClientClose : RTS_IEC_RESULT Close an instance of the nameservice client. Callbacks that arrive after the client has been closed will no longer be forwarded. Returns the result of the operation, ERR_OK if a valid instance has been given in. InOut: Scope Name Type Comment Return NSClientClose RTS_IEC_RESULT Input hNSClient RTS_IEC_HANDLE Handle of the nameservice client that is to be closed
NSClientOpen (FUN) ¶ FUNCTION NSClientOpen : RTS_IEC_HANDLE Opens an instance of the nameservice client. Returns the handle to the created name service client. InOut: Scope Name Type Comment Return NSClientOpen RTS_IEC_HANDLE Input pResult POINTER TO RTS_IEC_RESULT Will optionally receive an error code if the creation of a nameservice client has failed. Otherwise ERR_OK will be returned.
NSClientResolveAll (FUN) ¶ FUNCTION NSClientResolveAll : RTS_IEC_RESULT Initiates the resolving of all available runtimes. Returns the result of the operation. InOut: Scope Name Type Comment Return NSClientResolveAll RTS_IEC_RESULT Input hNSClient RTS_IEC_HANDLE The instance of a nameservice client that shall to do the nameresolving udiReqId __UXINT Identifies the request. pfnResponseCallback POINTER TO BYTE Prototype see NSClientResponseCallback. This callback will be triggered for each available node
ITaskFinishedCallback (ITF) ¶ INTERFACE ITaskFinishedCallback Methods: Finished Structure: Finished (Method)
ITaskFinishedCallback.Finished (METH) ¶ METHOD Finished : UDINT InOut: Scope Name Type Return Finished UDINT Input udiResult UDINT
Internal Implementation ¶ FillNodeInfoInt (Function) IResolveCallbackHandler (Interface) Finished (Property) Initialize (Method) ResolveCallback (Method) Logging ComponentConstants (GVL) LoggingHelper (FunctionBlock) FB_Exit (Method) FB_Init (Method) NSClientUtil_DumpAddress (Function) NSClientUtil_DumpAddressHelp (Function) NSClientUtil_DumpCallback (Function) NSClientUtil_DumpNodeInfo (Function) NSClientUtil_DumpStartSearchNodeParams (Function) NSClientUtil_Log1 (Function) NSClientUtil_Log2 (Function) NSClientUtil_Log3 (Function) NSClientGeneralResolveCallback (Function) NSClientSysMemAllocator (FunctionBlock) Activated (Property) CurrentEntriesSpace (Property) DataPtr (Property) Increase (Method) NSClientTaskBase (FunctionBlock) Finished (Property) Initialize (Method) Pending (Property) ResolveCallback (Method) abstrCallbackFailed (Method) abstrCallbackReceived (Method) abstrInitialized (Method) NSClientTaskResolveAllNodes (FunctionBlock) abstrCallbackFailed (Method) abstrCallbackReceived (Method) NSClientTaskSearchForSpecificNode (FunctionBlock) FB_Exit (Method) GetFoundNode (Method) IsMatch (Method) IsOurAddress (Method) Pending (Property) SetSearchInfo (Method) abstrCallbackFailed (Method) abstrCallbackReceived (Method) abstrInitialized (Method) prvParentAddrMatches (Method) ReadArbitraryStringFromBuffer (Function) ResetNodeInfo (Function) ResetNodeInfoInt (Function) UtilAddrEqual (Function) UtilBytesFromHexSubString (Function) UtilFillNodeAddress (Function) UtilReadAddressFromRouter (Function) WStringsEqual (Function)
FillNodeInfoInt (FUN) ¶ FUNCTION FillNodeInfoInt : BOOL InOut: Scope Name Type Return FillNodeInfoInt BOOL Inout nodeInfoExt NSC_NodeInfoExt nodeInfoInt NSC_NodeInfoInt wVersion WORD Input bUseDynamicMemory BOOL
IResolveCallbackHandler (ITF) ¶ INTERFACE IResolveCallbackHandler Properties: Finished Methods: Initialize ResolveCallback Structure: Finished (Property) Initialize (Method) ResolveCallback (Method)