RequestFactory (FB) ¶ FUNCTION_BLOCK RequestFactory IMPLEMENTS IDataSources.IDriverRequestFactory, IDatasources.IDriverRequestFactoryCustom, IDatasources.IDriverRequestFactoryReusable no implementation of IDriverRequestFactoryLargeRequests necessary because PLCHandler already supports sending big lists using the normal read/write mechanism Properties: ReusableRequestsSupported Methods: CreateCustomRequest CreateReadRequest CreateReusableRequest CreateWriteRequest ReleaseRequest HelpCreateReadableRequestBase Structure: CreateCustomRequest (Method) CreateReadRequest (Method) CreateReusableRequest (Method) CreateWriteRequest (Method) Private HelpCreateReadableRequestBase (Method) ReleaseRequest (Method) ReusableRequestsSupported (Property)
RequestFactory.CreateCustomRequest (METH) ¶ METHOD CreateCustomRequest : IDatasources.IDriverCustomRequest InOut: Scope Name Type Return CreateCustomRequest IDatasources.IDriverCustomRequest Input request IDatasources.ICustomRequest
RequestFactory.CreateReadRequest (METH) ¶ METHOD CreateReadRequest : IDatasources.IDriverRequest InOut: Scope Name Type Comment Return CreateReadRequest IDatasources.IDriverRequest Input pItems POINTER TO IDatasources.IDataItem A pointer to an array of |IDataItem| instances that should be monitored. itemsCount DINT The number of items within the array.
RequestFactory.CreateReusableRequest (METH) ¶ METHOD CreateReusableRequest : IDatasources.IDriverRequestReusable InOut: Scope Name Type Return CreateReusableRequest IDatasources.IDriverRequestReusable Input pItems POINTER TO IDatasources.IDataItem itemsCount DINT
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)
ReadRequest.SetSentItemsCount (METH) ¶ METHOD PROTECTED SetSentItemsCount InOut: Scope Name Type Input itemsCount UDINT
ReadRequest.Release (METH) ¶ METHOD Release
ReadRequest.Send (METH) ¶ METHOD Send : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return Send SysTypes.RTS_IEC_RESULT Inout conn PlcConnection
WriteRequest.FB_Exit (METH) ¶ METHOD FB_Exit : BOOL InOut: Scope Name Type Return FB_Exit BOOL Input bInCopyCode BOOL