AsyncBase (FB) ¶ FUNCTION_BLOCK AsyncBase InOut: Scope Name Type Initial Input ulAsyncState UDINT CmpAsyncMgr.ASYNCSTATE_INVALID _jobParam CmpAsyncMgr.ASYNCJOB_PARAM Properties: LastActionCompleted LastActionFailed Methods: CanTrigger FB_Init JoinLastAction Reset TriggerCall TriggerCallWithTaskInfo Structure: CanTrigger (Method) FB_Init (Method) JoinLastAction (Method) LastActionCompleted (Property) LastActionFailed (Property) Reset (Method) TriggerCall (Method) TriggerCallWithTaskInfo (Method)
AsyncBase.CanTrigger (METH) ¶ METHOD PROTECTED CanTrigger : BOOL InOut: Scope Name Type Return CanTrigger BOOL
AsyncBase.FB_Init (METH) ¶ METHOD FB_Init : BOOL InOut: Scope Name Type Return FB_Init BOOL Input bInitRetains BOOL bInCopyCode BOOL
AsyncBase.JoinLastAction (METH) ¶ METHOD JoinLastAction
AsyncBase.LastActionCompleted (PROP) ¶ PROPERTY LastActionCompleted : BOOL Returns whether the last action completed (either successfully or failed)
AsyncBase.LastActionFailed (PROP) ¶ PROPERTY LastActionFailed : BOOL Returns whether the execution of the last action failed due to reasons of the AsyncHandling
AsyncBase.Reset (METH) ¶ METHOD Reset : BOOL Resets all internal state of this instance InOut: Scope Name Type Return Reset BOOL
AsyncBase.TriggerCall (METH) ¶ METHOD PROTECTED TriggerCall : RTS_IEC_RESULT InOut: Scope Name Type Return TriggerCall RTS_IEC_RESULT Input pCallee POINTER TO BYTE
AsyncBase.TriggerCallWithTaskInfo (METH) ¶ METHOD PROTECTED TriggerCallWithTaskInfo : RTS_IEC_RESULT InOut: Scope Name Type Return TriggerCallWithTaskInfo RTS_IEC_RESULT Input pCallee POINTER TO BYTE xInSeparateTask BOOL
AsyncWrapper (FB) ¶ FUNCTION_BLOCK AsyncWrapper EXTENDS AsyncBase InOut: Scope Name Type Initial Comment Inherited from Input ulAsyncState UDINT CmpAsyncMgr.ASYNCSTATE_INVALID AsyncBase _jobParam CmpAsyncMgr.ASYNCJOB_PARAM AsyncBase Output lastActionResult PLCH.Error hVarList SysTypes.RTS_IEC_HANDLE SysTypes.RTS_INVALID_HANDLE Only valid after a successfully async execution of TriggerDefineVarList or TriggerSyncReadVars ppVarValues POINTER TO POINTER TO PLCH.VariableValue Only valid after a successfully async execution of TriggerSyncReadVars or TriggerSyncReadVarList numVarValues UDINT Only valid after a successfully async execution of TriggerSyncReadVars or TriggerSyncReadVarList Properties: LastActionCompleted , inherited from AsyncBase LastActionFailed , inherited from AsyncBase Methods: Connect DefineVarList Disconnect Init ReleaseRequest SyncDefineVarList SyncReadVarList SyncReadVarListFromPlc SyncReadVars SyncSendService SyncWriteVarListToPlc TriggerConnect TriggerDefineVarList TriggerDisconnect TriggerReleaseRequest TriggerSyncDefineVarList TriggerSyncReadVarList TriggerSyncReadVarListFromPlc TriggerSyncReadVars TriggerSyncSendService TriggerSyncWriteVarListToPlc CanTrigger , inherited from AsyncBase FB_Init , inherited from AsyncBase JoinLastAction , inherited from AsyncBase Reset , inherited from AsyncBase TriggerCall , inherited from AsyncBase TriggerCallWithTaskInfo , inherited from AsyncBase Structure: Connect (Method) DefineVarList (Method) Disconnect (Method) Init (Method) ReleaseRequest (Method) SyncDefineVarList (Method) SyncReadVarList (Method) SyncReadVarListFromPlc (Method) SyncReadVars (Method) SyncSendService (Method) SyncWriteVarListToPlc (Method) TriggerConnect (Method) TriggerDefineVarList (Method) TriggerDisconnect (Method) TriggerReleaseRequest (Method) TriggerSyncDefineVarList (Method) TriggerSyncReadVarList (Method) TriggerSyncReadVarListFromPlc (Method) TriggerSyncReadVars (Method) TriggerSyncSendService (Method) TriggerSyncWriteVarListToPlc (Method)