RequestFactory.CreateWriteRequest (METH) ¶ METHOD CreateWriteRequest : IDatasources.IDriverRequest InOut: Scope Name Type Comment Return CreateWriteRequest IDatasources.IDriverRequest Input pItems POINTER TO IDatasources.IDataItem A pointer to an array of |IDataItem| instances that should be written. itemsCount DINT The number of items within the array.
Private ¶ HelpCreateReadableRequestBase (Method)
RequestFactory.ReleaseRequest (METH) ¶ METHOD ReleaseRequest InOut: Scope Name Type Comment Input request IDatasources.IDriverRequest The request that should be released. The object will no longer be accessed after this call.
RequestFactory.ReusableRequestsSupported (PROP) ¶ PROPERTY ReusableRequestsSupported : BOOL
Requests ¶ CustomRequestResponse (FunctionBlock) FB_Exit (Method) ICDSV3Response ContentData (Property) ContentSize (Property) RawData (Property) RawSize (Property) IDriverCustomRequest Request (Property) Response (Property) IRequest Poll (Method) Release (Method) Send (Method) CustomRequestState (Enum) FailureReadRequest (FunctionBlock) NextOperation (Property) Poll (Method) Release (Method) Send (Method) IRequest (Interface) Poll (Method) Release (Method) Send (Method) IRequestNoSyncReleaseDuringShutdown (Interface) ReadItemInfo (Struct) ReadRequest (FunctionBlock) Abstract InActiveState (Property) ReleaseThis (Method) ReleaseVarList (Method) ReleasingAfterJoinDueToActiveState (Method) Init (Method) Poll (Method) Send (Method) ReadRequestState (Enum) ReadableRequestBase (FunctionBlock) Abstract InActiveState (Property) Poll (Method) ReleaseThis (Method) ReleaseVarList (Method) ReleasingAfterJoinDueToActiveState (Method) Send (Method) Init (Method) Protected AssignReadValues (Method) Release (Method) ReusableRequestState (Enum) WriteRequest (FunctionBlock) Init (Method) Poll (Method) Release (Method) Send (Method)
CustomRequestResponse (FB) ¶ FUNCTION_BLOCK CustomRequestResponse IMPLEMENTS IRequest , IDatasources.IDriverCustomRequest, IDatasources.ICDSV3Response Properties: ContentData ContentSize RawData RawSize Request Response Methods: FB_Exit Poll Release Send Structure: FB_Exit (Method) ICDSV3Response ContentData (Property) ContentSize (Property) RawData (Property) RawSize (Property) IDriverCustomRequest Request (Property) Response (Property) IRequest Poll (Method) Release (Method) Send (Method)
CustomRequestState (ENUM) ¶ TYPE CustomRequestState : Attributes: qualified_only InOut: Name Comment New New request Initialized Successfully initialized, i.e. the ICDSV3Request instance was set and the custom request can be sent Sent The custom request was sent and we are waiting for the result Completed The execution of the custom request was successful and the result is available. Failed
FailureReadRequest (FB) ¶ FUNCTION_BLOCK FailureReadRequest IMPLEMENTS IRequest , IDatasources.IDriverRequestReusable As there is no chance for signaling a lost connection when a read request is created, we return an accordingly failing object. This failing object is implemented by the current class Properties: NextOperation Methods: Poll Release Send Structure: NextOperation (Property) Poll (Method) Release (Method) Send (Method)
IRequest (ITF) ¶ INTERFACE IRequest EXTENDS IDatasources.IDriverRequest Methods: Poll Release Send Structure: Poll (Method) Release (Method) Send (Method)
IRequestNoSyncReleaseDuringShutdown (ITF) ¶ INTERFACE IRequestNoSyncReleaseDuringShutdown This optional interface can be implemented if a type of request must be released in an asynchronous way during shutdown!