MonLog_ErrorAndClose (FUN) ¶ FUNCTION MonLog_ErrorAndClose : BOOL InOut: Scope Name Type Return MonLog_ErrorAndClose BOOL Input hFile SysFile.RTS_IEC_HANDLE udiErrorCode UDINT
MonLog_LogLine (FUN) ¶ FUNCTION MonLog_LogLine : BOOL InOut: Scope Name Type Return MonLog_LogLine BOOL Input hFile SysFile.RTS_IEC_HANDLE st1 STRING(255) st2 STRING(255) st3 STRING(255) st4 STRING(255)
IDriverRequestFactoryLargeRequests.CreateLargeWriteRequest (METH) ¶ METHOD CreateLargeWriteRequest : IDriverLargeRequest Creates a request representing a write operation for the given list of items. When the request is no longer necessary, it will be released by a call to IDriverRequestFactory.ReleaseRequest In contrast to IDriverRequestFactory.CreateWriteRequest , the resulting request might require being sent using several calls to IDriverStateMachine.SendRequest for completion. Important The passed list of items must not be stored as part of the request. InOut: Scope Name Type Comment Return CreateLargeWriteRequest IDriverLargeRequest A new request object representing a 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 (ITF) ¶ INTERFACE IDriverRequestFactoryReusable EXTENDS IDriverRequestFactory Implementations of this interface support the creation of request objects that can be reused for issuing several read or write requests using the same object. Note The idea behind this interface is to being able to preregister a list of variables (a request from the driver’s point of view) within the connected device for quicker response times when it comes to reading/writing because symbolic resolutions etc. can be done before. Properties: ReusableRequestsSupported Methods: CreateReusableRequest CreateReadRequest , inherited from IDriverRequestFactory CreateWriteRequest , inherited from IDriverRequestFactory ReleaseRequest , inherited from IDriverRequestFactory Structure: CreateReusableRequest (Method) ReusableRequestsSupported (Property)
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)
IDriver.CredentialsHandling (PROP) ¶ PROPERTY CredentialsHandling : IDriverCredentialsHandling If this kind of driver requires credentials for logging in to a specific kind of device, then this property can return an object handling the assignment of credentials.