IDataItem.DriverSpecific (PROP) ¶ PROPERTY DriverSpecific : IDriverSpecificData This property can be used by the connected driver to optionally attach some driver specific data to this item.
IDataItem.Name (PROP) ¶ PROPERTY Name : REFERENCE TO ItemName Returns a readonly reference to the name information of this item. Note Please remark that this property returns the name of the according item on the side of the connected datasource. This name might be different from the instance path it is accessible on the HMI device.
IDataItem.SetError (METH) ¶ METHOD SetError Assigns an error situation to this item. Will set IDataItemBase.ErrorCode and IDataItemBase.Quality to ItemQuality.Bad InOut: Scope Name Type Comment Input errorCode SysTypes.RTS_IEC_RESULT The error code to assign. Note It is not possible to reset an error using ERR_OK
MonLog_DumpDataItemWriting (FUN) ¶ FUNCTION MonLog_DumpDataItemWriting : BOOL InOut: Scope Name Type Return MonLog_DumpDataItemWriting BOOL Input hFile SysFile.RTS_IEC_HANDLE item IDatasources.IDataItem pOptAddressInfo POINTER TO AddressGeneratedInfo
MonLog_Error (FUN) ¶ FUNCTION MonLog_Error : BOOL InOut: Scope Name Type Return MonLog_Error BOOL Input hFile SysFile.RTS_IEC_HANDLE udiErrorCode UDINT
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.