IDatasource2 (ITF) ¶ INTERFACE IDatasource2 EXTENDS IDatasource Extension of IDatasource supporting some new properties Properties: Error State CustomRequestHandling , inherited from IDatasource Methods: EnqueueCustomRequest , inherited from IDatasource SetCredentialsProvider , inherited from IDatasource Structure: Error (Property) State (Property)
IDatasource2.Error (PROP) ¶ PROPERTY Error : UDINT Gets the last error of communication
IDatasource2.State (PROP) ¶ PROPERTY State : MonitoringState Gets the state of communication
IDatasource3 (ITF) ¶ INTERFACE IDatasource3 EXTENDS IDatasource2 Extension of IDatasource2 supporting some new properties Properties: UpdateRate CustomRequestHandling , inherited from IDatasource Error , inherited from IDatasource2 State , inherited from IDatasource2 Methods: SetUpdateRateReduction EnqueueCustomRequest , inherited from IDatasource SetCredentialsProvider , inherited from IDatasource Structure: SetUpdateRateReduction (Method) UpdateRate (Property)
IDatasource3.SetUpdateRateReduction (METH) ¶ METHOD SetUpdateRateReduction Sets the parameters for update rate reduction InOut: Scope Name Type Comment Input uiFactor UINT Reduction factor tMaxValue TIME The maximum level allowed
ICustomRequestCallback.RequestFinished (METH) ¶ METHOD RequestFinished This method will be called when the execution of the given request is finished. Note The method will be called no matter whether the request was executed successfully or not. Callees can find out about this fact by evaluating the according result. InOut: Scope Name Type Comment Input request ICustomRequest The request that was finished response ICustomResponse The response to the request. Valid only in case the result is ERR_OK. Note Please remark that this object is no longer valid when this method returns. result SysTypes.RTS_IEC_RESULT The result of the execution as one of the runtime system error codes (see CmpErrors.library) or one of Errors . In case the service was sent successfully, ERR_OK will be set as the result
ICustomRequestHandling (ITF) ¶ INTERFACE ICustomRequestHandling EXTENDS __SYSTEM.IQueryInterface Methods: ReleaseRequest Structure: ReleaseRequest (Method)
ICustomRequestHandling.ReleaseRequest (METH) ¶ METHOD ReleaseRequest : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ReleaseRequest SysTypes.RTS_IEC_RESULT Input request ICustomRequest
ICustomResponse (ITF) ¶ INTERFACE ICustomResponse EXTENDS __SYSTEM.IQueryInterface
IDataItemBase (ITF) ¶ INTERFACE IDataItemBase EXTENDS __SYSTEM.IQueryInterface Properties: ErrorCode Quality TimeStamp TypeClass Structure: ErrorCode (Property) Quality (Property) TimeStamp (Property) TypeClass (Property)