IDriverRequestFactoryReusable.CreateReusableRequest (METH) ¶ METHOD CreateReusableRequest : IDriverRequestReusable Creates a request representing a read or write operation for the given list of items. The request may stay alive until it is released. From the driver’s point of view the request can live as long as the connection to the connected device is alive. For the user of this request, this means that it might be issued in several calls to IDriverStateMachine.SendRequest When the request is no longer necessary, it will be released by a call to IDriverRequestFactory.ReleaseRequest InOut: Scope Name Type Comment Return CreateReusableRequest IDriverRequestReusable A new request object representing the read or write operation for the given list of items. Input pItems POINTER TO IDataItem A pointer to an array of IDataItem instances that should be written. itemsCount DINT The number of items within the array.
IDriverRequestFactoryReusable.ReusableRequestsSupported (PROP) ¶ PROPERTY ReusableRequestsSupported : BOOL This property returns whether reusable requests are supported. Note If a driver in general supports those requests but not using the current device for example, then this property can return FALSE.
IDriverRequestReusable (ITF) ¶ INTERFACE IDriverRequestReusable EXTENDS IDriverRequest Implementations of this interface represent requests that can be used several times and can be used for both reading or writing. Properties: NextOperation Structure: NextOperation (Property)
IDriverRequestReusable.NextOperation (PROP) ¶ PROPERTY NextOperation : ReusableRequestOperations Gets or sets the operation that will be executed when the request is sent the next time.
IDriverSpecificData (ITF) ¶ INTERFACE IDriverSpecificData EXTENDS __SYSTEM.IQueryInterface A derived interface of this one can be used by drivers to attach information to instances of IDataItemBase Methods: Release Structure: Release (Method)
IDriverSpecificData.Release (METH) ¶ METHOD Release This method will be called when the underlying object should be released. It’s the implementation’s responsibility to release memory correctly etc.
IDriverSpecifiedSettings (ITF) ¶ INTERFACE IDriverSpecifiedSettings This interface can optionally be implemented by IDriver too. Methods: ReconnectWaitTime TimeoutSyncShutdown Structure: ReconnectWaitTime (Method) TimeoutSyncShutdown (Method)
IDriverSpecifiedSettings.ReconnectWaitTime (METH) ¶ METHOD ReconnectWaitTime : TIME InOut: Scope Name Type Return ReconnectWaitTime TIME Output xUseDefault BOOL
IDriverSpecifiedSettings.TimeoutSyncShutdown (METH) ¶ METHOD TimeoutSyncShutdown : TIME InOut: Scope Name Type Return TimeoutSyncShutdown TIME Output xUseDefault BOOL
IDriverSpecifiedSettingsReadOnChange (ITF) ¶ INTERFACE IDriverSpecifiedSettingsReadOnChange This interface can optionally be implemented by IDriver too. The interface should be implemented by an IDriver when the according implementation does not do cyclic updates of variables but instead executes read requests only triggered by changes of according variables on the connected device. Properties: ReadOnChangeOnly Structure: ReadOnChangeOnly (Property)