IDriverRequestFactory.ReleaseRequest (METH) ¶ METHOD ReleaseRequest Releases the given request object. Note This method might be called while a request is still active in case the list of items is changed while a request is on it’s way. InOut: Scope Name Type Comment Input request IDriverRequest The request that should be released. The object will no longer be accessed after this call.
IDriverRequestFactoryCustom (ITF) ¶ INTERFACE IDriverRequestFactoryCustom EXTENDS IDriverRequestFactory Methods: CreateCustomRequest CreateReadRequest , inherited from IDriverRequestFactory CreateWriteRequest , inherited from IDriverRequestFactory ReleaseRequest , inherited from IDriverRequestFactory Structure: CreateCustomRequest (Method)
IDriverRequestFactoryCustom.CreateCustomRequest (METH) ¶ METHOD CreateCustomRequest : IDriverCustomRequest InOut: Scope Name Type Return CreateCustomRequest IDriverCustomRequest Input request ICustomRequest
IDriverRequestFactoryLargeRequests (ITF) ¶ INTERFACE IDriverRequestFactoryLargeRequests EXTENDS IDriverRequestFactory This interface can additionally be implemented by function blocks implementing IDriverRequestFactory to support reading/writing of possibly large requests that might require multiple requests. Note This feature is typically necessary for successfully reading/writing recipes Methods: CreateLargeReadRequest CreateLargeWriteRequest CreateReadRequest , inherited from IDriverRequestFactory CreateWriteRequest , inherited from IDriverRequestFactory ReleaseRequest , inherited from IDriverRequestFactory Structure: CreateLargeReadRequest (Method) CreateLargeWriteRequest (Method)
IDriverRequestFactory.CreateReadRequest (METH) ¶ METHOD CreateReadRequest : IDriverRequest Creates a request representing the read operation for the given list of items. The request may stay alive until the list of items changes. That means 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 Important The items may be stored as part of the request object. Nevertheless it is not allowed to access them from other threads because the list might change within the main datasources task. The list will not change as long as this object is alive. InOut: Scope Name Type Comment Return CreateReadRequest IDriverRequest A new request object representing the read operation for the given list of items. Input pItems POINTER TO IDataItem A pointer to an array of IDataItem instances that should be monitored. itemsCount DINT The number of items within the array.
IDriverRequestFactory.CreateWriteRequest (METH) ¶ METHOD CreateWriteRequest : IDriverRequest 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 Important The passed list of items must not be stored as part of the request. InOut: Scope Name Type Comment Return CreateWriteRequest IDriverRequest 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.
IDriverRequestFactoryLargeRequests.CreateLargeReadRequest (METH) ¶ METHOD CreateLargeReadRequest : IDriverLargeRequest Creates a request representing the read operation for the given list of items. The request may stay alive until the list of items changes. That means 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 In contrast to IDriverRequestFactory.CreateReadRequest , the resulting request might require being sent using several calls to IDriverStateMachine.SendRequest for completion. Important The items may be stored as part of the request object. Nevertheless it is not allowed to access them from other threads because the list might change within the main datasources task. The list will not change as long as this object is alive. InOut: Scope Name Type Comment Return CreateLargeReadRequest IDriverLargeRequest A new request object representing the read operation for the given list of items. Input pItems POINTER TO IDataItem A pointer to an array of IDataItem instances that should be monitored. itemsCount DINT The number of items within the array.
IDriverTraceAddressInfoProvider.ReleaseTraceAddressInfoWriter (METH) ¶ METHOD ReleaseTraceAddressInfoWriter : SysTypes.RTS_IEC_RESULT Releases an ITraceAddressInfoWriter instance, that was previously returned by a call to method IDriverTraceAddressInfoProvider.CreateTraceAddressInfoWriter InOut: Scope Name Type Comment Return ReleaseTraceAddressInfoWriter SysTypes.RTS_IEC_RESULT The error code Input itfTraceAddressInfoWriter ITraceAddressInfoWriter
ReusableRequestOperations (ENUM) ¶ TYPE ReusableRequestOperations : This enumeration represents operations on IDriverRequestReusable Attributes: qualified_only InOut: Name Comment Prepare The request will be prepared. This step is possible only once and is used for registering the list of items in the connected device or server. Read The next operation will be a read Write The next operation will be a write
ETraceAddressFlags (ENUM) ¶ TYPE ETraceAddressFlags : This enumeration is similar to the enumeration <c>EAddressFlags</c> of library trace manager interfaces and defines the type of address info, that will be passed to CmpTraceMgr. Attributes: qualified_only InOut: Name Initial Comment Iec 16#1 The variable is defined in an IEC-Programm. IOConfig 16#2 The recorded value is a parameter in the CoDeSys configuration. AreaOffset 16#20 The location of the recorded value is described by an area number and an offset in this area. Prop 16#40 Corresponding to the automation platform enum value <c>AddressFlags.Property</c>, which cannot be used here, because “Property” is a reserved word.