IDataSourceDriver3.CredentialsNeeded (PROP) ¶ PROPERTY CredentialsNeeded : BOOL
IDataSourceDriver3.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
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
IDataServer6.IsSwappingNeeded (METH) ¶ METHOD IsSwappingNeeded : SwappingInfo This method determines, whether the data server swaps the data it read from the remote device. InOut: Scope Name Type Comment Return IsSwappingNeeded SwappingInfo Input sName STRING The fully qualified name of the application on the remote device
IDataServer6.ProcessDataServerRequest (METH) ¶ METHOD ProcessDataServerRequest : UDINT Takes the given parameters and passes them to the corresponding service call in the runtime system. The return value indicates, whether the processing was successful. InOut: Scope Name Type Comment Return ProcessDataServerRequest UDINT Input sName STRING The fully qualified name of the application on the remote device itfRequestParameter IRequestParameter This instance provides access to the (input) parameters for the request. Attention: The instance to pass here must not a local variable, because the processing in the data server is asynchronuous itfRequestResult IRequestResult This instance allows to store the result Attention: The instance to pass here must not a local variable, because the processing in the data server is asynchronuous diRequestID DINT This parameter is used to distinguish multiple calls with the same DataServerRequestIdentification