IDataSourceDriver4 (ITF) ¶ INTERFACE IDataSourceDriver4 EXTENDS IDataSourceDriver3 Properties: CredentialsNeeded , inherited from IDataSourceDriver3 LastError , inherited from IDataSourceDriver State , inherited from IDataSourceDriver Methods: ReadRequest2 WriteRequest2 AssignCredentials , inherited from IDataSourceDriver3 Connecting , inherited from IDataSourceDriver GetInterface , inherited from IDataSourceDriver3 GetRequestResult , inherited from IDataSourceDriver GetSetting , inherited from IDataSourceDriver Initialize , inherited from IDataSourceDriver ReadRequest , inherited from IDataSourceDriver Reset , inherited from IDataSourceDriver ShutdownFinished , inherited from IDataSourceDriver2 ShuttingDown , inherited from IDataSourceDriver StartConnect , inherited from IDataSourceDriver StartShutdown , inherited from IDataSourceDriver UpdateRequest , inherited from IDataSourceDriver WriteRequest , inherited from IDataSourceDriver Structure: ReadRequest2 (Method) WriteRequest2 (Method)
IDataSourceDriver4.ReadRequest2 (METH) ¶ METHOD ReadRequest2 : UDINT InOut: Scope Name Type Comment Return ReadRequest2 UDINT Input pItems POINTER TO ARRAY [0..100] OF IDataItem iItemCountTotal UDINT the total number of items in the array iStartOffset UDINT the start offset for sending dwListId DWORD Output dwTransactionId DWORD iSentItems UDINT the number of items that were sent in the request
IDataSourceDriver4.WriteRequest2 (METH) ¶ METHOD WriteRequest2 : UDINT InOut: Scope Name Type Comment Return WriteRequest2 UDINT Input pItems POINTER TO ARRAY [0..100] OF IDataItem iItemCountTotal UDINT the total number of items in the array iStartOffset UDINT the start offset for sending dwListId DWORD Output dwTransactionId DWORD iSentItems UDINT the number of items that were sent in the request
IDataSourceDriver5 (ITF) ¶ INTERFACE IDataSourceDriver5 EXTENDS IDataSourceDriver4 Properties: CredentialsNeeded , inherited from IDataSourceDriver3 LastError , inherited from IDataSourceDriver State , inherited from IDataSourceDriver Methods: IsSwappingNeeded ProcessDataServerReply ProcessDataServerRequest AssignCredentials , inherited from IDataSourceDriver3 Connecting , inherited from IDataSourceDriver GetInterface , inherited from IDataSourceDriver3 GetRequestResult , inherited from IDataSourceDriver GetSetting , inherited from IDataSourceDriver Initialize , inherited from IDataSourceDriver ReadRequest , inherited from IDataSourceDriver ReadRequest2 , inherited from IDataSourceDriver4 Reset , inherited from IDataSourceDriver ShutdownFinished , inherited from IDataSourceDriver2 ShuttingDown , inherited from IDataSourceDriver StartConnect , inherited from IDataSourceDriver StartShutdown , inherited from IDataSourceDriver UpdateRequest , inherited from IDataSourceDriver WriteRequest , inherited from IDataSourceDriver WriteRequest2 , inherited from IDataSourceDriver4 Structure: IsSwappingNeeded (Method) ProcessDataServerReply (Method) ProcessDataServerRequest (Method)
IDataSourceDriver5.IsSwappingNeeded (METH) ¶ METHOD IsSwappingNeeded : SwappingInfo This method determines, whether the data source requires a swapping of the data, that was read from the remote device. InOut: Scope Name Type Return IsSwappingNeeded SwappingInfo
IDataSourceDriver5.ProcessDataServerReply (METH) ¶ METHOD ProcessDataServerReply : UDINT This method will be called after a request has been sent using method ProcessDataServerRequest. InOut: Scope Name Type Comment Return ProcessDataServerReply UDINT Input dwTransactionId DWORD The ID of the transaction, that we got by method ProcessDataServerRequest. itfRequestParameter IRequestParameter The parameters for executing the request itfRequestResult IRequestResult This instance allows to store the result
IDataSourceDriver5.ProcessDataServerRequest (METH) ¶ METHOD ProcessDataServerRequest : UDINT Generic method to pass a request from the data server to the PLC. The return value indicates, whether the processing was successful. The result (i.e. the number of rows) will be returned asynchronuously by method ProcessDataServerReply. InOut: Scope Name Type Comment Return ProcessDataServerRequest UDINT Input itfRequestParameter IRequestParameter The parameters for executing the request Output dwTransactionId DWORD Returns the ID of the transaction for the request
IDataServer.ReleaseData (METH) ¶ METHOD ReleaseData : UDINT InOut: Scope Name Type Return ReleaseData UDINT Input pstSymbol POINTER TO STRING
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)