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!
ReadItemInfo (STRUCT) ¶ TYPE ReadItemInfo : STRUCT InOut: Name Type Comment orgArrayIndex UDINT The indes of the according item within the original list of items passed in RequestFactory.CreateReadRequest
ReadRequest (FB) ¶ FUNCTION_BLOCK ReadRequest EXTENDS ReadableRequestBase Properties: InActiveState Methods: Init Poll Send AssignReadValues , inherited from ReadableRequestBase Release , inherited from ReadableRequestBase ReleaseThis ReleaseVarList ReleasingAfterJoinDueToActiveState Structure: Abstract InActiveState (Property) ReleaseThis (Method) ReleaseVarList (Method) ReleasingAfterJoinDueToActiveState (Method) Init (Method) Poll (Method) Send (Method)
ReadRequestState (ENUM) ¶ TYPE ReadRequestState : Attributes: qualified_only InOut: Name Comment New New request Initialized Successfully initialized Registering The request is trying to register itself within the remote plc Registered The request was successfully registered within the remote PLC, values are avaialable and it can be executed Reading The request is currently reading values asynchronously Failed
ReadableRequestBase (FB) ¶ FUNCTION_BLOCK ABSTRACT ReadableRequestBase IMPLEMENTS IRequest , IRequestNoSyncReleaseDuringShutdown Properties: InActiveState Methods: Init Release AssignReadValues Poll ReleaseThis ReleaseVarList ReleasingAfterJoinDueToActiveState Send Structure: Abstract InActiveState (Property) Poll (Method) ReleaseThis (Method) ReleaseVarList (Method) ReleasingAfterJoinDueToActiveState (Method) Send (Method) Init (Method) Protected AssignReadValues (Method) Release (Method)
ReusableRequestState (ENUM) ¶ TYPE ReusableRequestState : Attributes: qualified_only InOut: Name Comment New New request Initialized Successfully initialized Registering The request is trying to register itself within the remote plc Registered The request was successfully registered within the remote PLC, values are avaialable and it can be executed Reading The request is currently reading values asynchronously Writing Failed
WriteRequest (FB) ¶ FUNCTION_BLOCK WriteRequest IMPLEMENTS IRequest Methods: Init Poll Release Send Structure: Init (Method) Poll (Method) Release (Method) Send (Method)
StateMachine (FB) ¶ FUNCTION_BLOCK StateMachine IMPLEMENTS IDatasources.IDriverStateMachine2, IDatasources.IDriverStateMachineNotifyBeforeShutdown Properties: AsyncPLCHandler ShutdownAfterError Methods: BeforeShutdown Connecting DeleteAndResetInternally DisconnectSync GetDeviceInfo PollRequestResult ResetAfterError SendRequest ShuttingDown StartConnect StartShutdown WaitingForCommSetting Structure: Cleanup DeleteAndResetInternally (Method) DisconnectSync (Method) IDriverStateMachine Connecting (Method) PollRequestResult (Method) ResetAfterError (Method) SendRequest (Method) ShutdownAfterError (Property) ShuttingDown (Method) StartConnect (Method) StartShutdown (Method) IDriverStateMachine2 WaitingForCommSetting (Method) IDriverStateMachineNotifyBeforeShutdown BeforeShutdown (Method) Internal AsyncPLCHandler (Property) GetDeviceInfo (Method)