RequestFactory (FB) ¶ FUNCTION_BLOCK RequestFactory IMPLEMENTS IDatasources.IDriverRequestFactory, IDatasources.IDriverRequestFactoryCustom, IDatasources.IDriverRequestFactoryLargeRequests Methods: CreateReadRequest CreateWriteRequest ReleaseRequest CreateCustomRequest CreateLargeReadRequest CreateLargeWriteRequest Structure: CreateReadRequest (Method) CreateWriteRequest (Method) IDriverRequestFactoryCustom CreateCustomRequest (Method) IDriverRequestFactoryLargeRequests CreateLargeReadRequest (Method) CreateLargeWriteRequest (Method) ReleaseRequest (Method)
TracePropertyByCallAddressInfoWriter (FB) ¶ FUNCTION_BLOCK TracePropertyByCallAddressInfoWriter EXTENDS TraceAbstractAddressInfoWriter IMPLEMENTS IDatasources.ITraceAddressInfoWriter This function block is the implementation of the ITraceAddressInfoWriter interface for an address info “Property by call”. Methods: FB_Exit SetAddressInfo GetAddressFlags GetSize , inherited from TraceAbstractAddressInfoWriter GetType , inherited from TraceAbstractAddressInfoWriter Release SetDataItem , inherited from TraceAbstractAddressInfoWriter WriteAddressInfo Structure: FB_Exit (Method) ITraceAddressInfoWriter GetAddressFlags (Method) Release (Method) WriteAddressInfo (Method) SetAddressInfo (Method)
RequestFactory.CreateReadRequest (METH) ¶ METHOD CreateReadRequest : IDatasources.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 IDatasources.IDriverRequest A new request object representing the read operation for the given list of items. 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.CreateWriteRequest (METH) ¶ METHOD CreateWriteRequest : IDatasources.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 IDatasources.IDriverRequest A new request object representing a write operation for the given list of items. 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.
IDriverRequestFactoryCustom ¶ CreateCustomRequest (Method)
PlcCryptType (ENUM) ¶ TYPE PlcCryptType : Attributes: qualified_only InOut: Name Initial Comment Invalid 0 Change values with care as these might be used in online services too! Crypt_Xor 1 Crypt_Asym 2
Request (FB) ¶ FUNCTION_BLOCK Request Properties: Content Service ServiceGroup Methods: Finish Init Structure: Content (Property) Finish (Method) Init (Method) Service (Property) ServiceGroup (Property)
CredentialsHandling (FB) ¶ FUNCTION_BLOCK CredentialsHandling IMPLEMENTS IDatasources.IDriverCredentialsHandling Properties: CredentialsNecessary Methods: SetCredentials Structure: CredentialsNecessary (Property) SetCredentials (Method)
CredentialsHandling.CredentialsNecessary (PROP) ¶ PROPERTY CredentialsNecessary : BOOL
CredentialsHandling.SetCredentials (METH) ¶ METHOD SetCredentials : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return SetCredentials SysTypes.RTS_IEC_RESULT Input credentials IDatasources.ICredentials