IDataServer.AllItemsOk (METH) ¶ METHOD AllItemsOk : UDINT This method will return ERR_OK when all active items of all datasources have the quality good else it will return ERR_DS_BADITEMS. It might return ERR_DS_MULTITASKING_LOCKED when it is currently not possible to have access to all datasources. In this case the client should call this method again later. InOut: Scope Name Type Return AllItemsOk UDINT
IDataServer.BeginDataConfiguration (METH) ¶ METHOD BeginDataConfiguration : UDINT InOut: Scope Name Type Return BeginDataConfiguration UDINT Input bBlocking BOOL
IDataServer.UseData (METH) ¶ METHOD UseData : UDINT InOut: Scope Name Type Return UseData UDINT Input pstSymbol POINTER TO STRING
IDataServer2 (ITF) ¶ INTERFACE IDataServer2 EXTENDS IDataServer Properties: InstancePathPrefix Methods: GetInterface SetCredentialsProvider AllItemsOk , inherited from IDataServer BeginDataConfiguration , inherited from IDataServer EndDataConfiguration , inherited from IDataServer GetItemInfo , inherited from IDataServer ReleaseData , inherited from IDataServer UseData , inherited from IDataServer Structure: GetInterface (Method) InstancePathPrefix (Property) SetCredentialsProvider (Method)
IDataServer2.GetInterface (METH) ¶ METHOD GetInterface : POINTER TO BYTE Optionally returns an interface with the given id when it is implemented by the impelementing function block. The return value will be pointer to the requested interface InOut: Scope Name Type Return GetInterface POINTER TO BYTE Input dwItfId DWORD
IDataServer2.InstancePathPrefix (PROP) ¶ PROPERTY InstancePathPrefix : STRING
IDataServer2.SetCredentialsProvider (METH) ¶ METHOD SetCredentialsProvider : UDINT InOut: Scope Name Type Comment Return SetCredentialsProvider UDINT Input pstDataSource POINTER TO STRING If pstDataSource is NULL then, the provider will be assigned to all datasources. credProv ICredentialsProvider
IDataServer3 (ITF) ¶ INTERFACE IDataServer3 EXTENDS IDataServer2 Properties: InstancePathPrefix , inherited from IDataServer2 Methods: ResolveSymbol AllItemsOk , inherited from IDataServer BeginDataConfiguration , inherited from IDataServer EndDataConfiguration , inherited from IDataServer GetInterface , inherited from IDataServer2 GetItemInfo , inherited from IDataServer ReleaseData , inherited from IDataServer SetCredentialsProvider , inherited from IDataServer2 UseData , inherited from IDataServer Structure: ResolveSymbol (Method)
IDataServer3.ResolveSymbol (METH) ¶ METHOD ResolveSymbol : UDINT InOut: Scope Name Type Comment Return ResolveSymbol UDINT Input pstSymbol POINTER TO BYTE The symbolic name of the variable whose address should be resolved Output pLocal POINTER TO BYTE The local address itemType PlcDataItemType The type of the found item pAddrInfo POINTER TO PlcAddressInfo The returned address of the remote item. This return value is allocated using system memory! Thus it has to be released by calling SysMemFreeData
IDataServer4 (ITF) ¶ INTERFACE IDataServer4 EXTENDS IDataServer3 Properties: InstancePathPrefix , inherited from IDataServer2 Methods: CreateItemList DeleteItemList ReadItems WriteItems AllItemsOk , inherited from IDataServer BeginDataConfiguration , inherited from IDataServer EndDataConfiguration , inherited from IDataServer GetInterface , inherited from IDataServer2 GetItemInfo , inherited from IDataServer ReleaseData , inherited from IDataServer ResolveSymbol , inherited from IDataServer3 SetCredentialsProvider , inherited from IDataServer2 UseData , inherited from IDataServer Structure: CreateItemList (Method) DeleteItemList (Method) ReadItems (Method) WriteItems (Method)