ETrigA (FB) ¶ FUNCTION_BLOCK ETrigA EXTENDS ETrig IMPLEMENTS IETrigA This function block is a base implementation of a PLCopen Edge Triggered Behavior Model (see: IETrigA ). For use, this block should be extended and the specific inputs and outputs must be supplemented. The output eErrorID of the application-specific enum type ERROR must be added. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Starts defined operation FALSE : Resets the defined operation after ready condition was reached ETrig Output xDone BOOL TRUE : Ready condition reached ETrig xBusy BOOL TRUE : Operation is running ETrig xError BOOL TRUE : Error condition reached ETrig Input xAbort BOOL TRUE : Aborts the operation Output xAborted BOOL TRUE : Abort condition reached Properties: ActionController , inherited from BehaviourModelBase ModelTimeLimit , inherited from BehaviourModelBase ModelTimeOut , inherited from BehaviourModelBase Methods: _Execute AbortModel CleanupAction , inherited from BehaviourModelBase CyclicAction , inherited from BehaviourModelBase ExitAction , inherited from BehaviourModelBase GetConfiguration , inherited from BehaviourModelBase GetConfiguration2 , inherited from BehaviourModelBase GetModelState ResetAction , inherited from BehaviourModelBase ResetModel SampleAction , inherited from EdgeTriggeredBehaviourModelBase StartAction , inherited from BehaviourModelBase StartModel , inherited from ETrig Structure: IBehaviourModel AbortModel (Method) GetModelState (Method) ResetModel (Method) _Execute (Method)
IBehaviourModel ¶ AbortModel (Method) GetModelState (Method) ResetModel (Method)
ETrigA._Execute (METH) ¶ METHOD PROTECTED _Execute InOut: Scope Name Type Output eErrorID ERROR
Function Blocks ¶ AskCredentialsHelper (FunctionBlock) LoginFailed (Method) SetCredentialsProvider (Method) Assigners AssignerBase (FunctionBlock) AssignReadValue (Method) AtomicAssignIfPossible (Method) FB_Exit (Method) GetBitValuePtr (Method) GetRawValue (Method) IsValueForBitAssignment (Property) SetRawValue (Method) DirectAssigner (FunctionBlock) GetRawValue (Method) SetRawValue (Method) ILocalAssigner (Interface) FB_Exit (Method) SwappedDirectAssigner (FunctionBlock) DoSwapValueBuffer (Method) GetRawValue (Method) SetRawValue (Method) Collections CustomRequestQueue (FunctionBlock) FB_Exit (Method) FB_Init (Method) Override abstrAssign (Method) abstrDataPtrChanged (Method) abstrGetElementPtr (Method) abstrSizeOfElement (Method) DataItemAndPtrVectors (FunctionBlock) AddItem (Method) Clear (Method) Count (Property) FB_Exit (Method) GetArrayPtr (Method) Remove (Method) DataItemListPublic (FunctionBlock) FB_Exit (Method) IDataIemListInternal Release (Method) IDataItemList Clear (Method) Count (Property) CreateAndAdd (Method) GetItem (Method) IDataItemListExpanding CreateAndAddExpanding (Method) Internal Initialize (Method) Protected CanItemBeAdded (Method) DataItemListPublicPersistant (FunctionBlock) FB_Exit (Method) IDataItemListPersistant FinishedAdding (Method) Usage (Property) UsageDetails (Property) Internal Initialize (Method) Protected CanItemBeAdded (Method) DataItemPtrVector (FunctionBlock) AddItem (Method) GetItem (Method) Remove (Method) DataItemVector (FunctionBlock) AddItem (Method) GetArrayPtr (Method) GetItem (Method) Remove (Method) abstrAssign (Method) abstrDataPtrChanged (Method) abstrGetElementPtr (Method) abstrSizeOfElement (Method) DintSetBitBased (FunctionBlock) AddDint (Method) Clear (Method) Contains (Method) DintSetFull (FunctionBlock) AddDint (Method) Contains (Method) IDintSet (Interface) AddDint (Method) Clear (Method) Contains (Method) IPStringAndIntElement (Interface) IPStringElement (Interface) PStringValue (Property) PStringElement (FunctionBlock) ElementCompareTo (Method) ElementEquals (Method) ElementHashCode (Method) PStringValue (Property) PStringElementFactory (FunctionBlock) Create (Method) prvInstCount (Property) prvInstPoolExtendsFactor (Property) prvInstSize (Property) Components ComponentBase (FunctionBlock) BitOffset (Property) QueryInterface (Method) ComponentPseudo (FunctionBlock) QueryInterface (Method) ComponentRenamed (FunctionBlock) QueryInterface (Method) RemoteName (Property) ComponentSimple (FunctionBlock) CredentialsProviders StaticCredentialsProvider (FunctionBlock) ICredentialsProvider GetCredentials (Method) IsGetCredentialsFinished (Method) LoginFailed (Method) LoginSucceeded (Method) StartGetCredentials (Method) ICredentialsUserPassword Password (Property) Username (Property) DataItem (FunctionBlock) FB_Exit (Method) IDataItem Assigner (Property) DriverSpecific (Property) SetError (Method) SizeLocal (Property) SizeRemote (Property) IDataItemBase ErrorCode (Property) Quality (Property) TimeStamp (Property) Internal SetErrorHelp (Method) SetErrorNoLog (Method) ValueAddress (Property) WriteCopyAddress (Property) DataItemBase (FunctionBlock) FB_Exit (Method) IDataItem-parts Name (Property) IElement ElementCompareTo (Method) ElementEquals (Method) ElementHashCode (Method) DataItemList (FunctionBlock) AddItem (Method) AssureReadOnlyHaveWriteCopy (Method) Clear (Method) FillReadOnlyList (Method) GetPendingWriteVars (Method) GetReadVars (Method) ResetModifiedReadonlyItems (Method) DataItemLocation (FunctionBlock) AssureWriteCopy (Method) BitOffset (Property) FB_Exit (Method) Init (Method) LocalAddress (Property) SizeLocal (Property) SizeRemote (Property) WriteCopyAddress (Property) Datasource (FunctionBlock) Cyclic (Method) FB_Exit (Method) ICDSV3RequestHandling CreateCDSV3Request (Method) ReleaseRequest (Method) TargetByteOrder (Property) IDatasource CustomRequestHandling (Property) EnqueueCustomRequest (Method) SetCredentialsProvider (Method) IDatasource2 Error (Property) State (Property) IDatasource3 SetUpdateRateReduction (Method) UpdateRate (Property) IDatasourceTraceAddressInfoProvider CreateTraceAddressInfoWriter (Method) GetPointerSizeInBytes (Method) ReleaseTraceAddressInfoWriter (Method) Init (Method) Internal SetDatasourceIndex (Method) ItemList (Property) ListChangesDone (Method) ListChanging (Method) Private UpdateWriteCopies (Method) RunWhileStopped (Property) ShutdownInfo (Property) StartShutdown (Method) DatasourceShutdownInfo (FunctionBlock) BeforeShutdown (Method) Done (Method) Init (Method) ShutdownDone (Property) Timedout (Method) TimeoutValue (Property) DatasourcesActionRecord (FunctionBlock) AddEntry (Method) BeginUpdate (Method) Count (Property) EndUpdate (Method) FB_Exit (Method) GetEntry (Method) Release (Method) DatasourcesMgr (FunctionBlock) Cyclic (Method) FB_Exit (Method) ICmpEventCallback EventCallback (Method) IDataSourcesMgr Action Records ActionRecordDelete (Method) ActionRecordReplay (Method) ActionRecordingGetResult (Method) ActionRecordingStart (Method) AllItemsOk (Method) BeginDataConfiguration (Method) EndDataConfiguration (Method) GetDatasource (Method) GetItemInfo (Method) ItemList CreateItemList (Method) DeleteItemList (Method) ReadItemsSync (Method) ReleaseData (Method) SetCredentialsProvider (Method) UseData (Method) WriteItemsSync (Method) IDatasourcesMgr2 AddNotificationClient (Method) CreatePersistantItemList (Method) DeletePersistantItemList (Method) GetPersistantItemList (Method) Lock (Method) PersistantItemListCount (Property) RemoveNotificationClient (Method) Unlock (Method) IDatasourcesMgr3 UseDataExpanding (Method) IDatasourcesMgr4 CountDatasources (Property) GetDatasourceItfByIndex (Method) IDatasourcesMgrInternal CreateItemFromSymbolinfo (Method) NotificationClient (Property) Init (Method) Internal GetItemInfoWithDatasourceIndex (Method) GetPersistantItemListImpl (Method) ReleaseDataWithDatasourceIndex (Method) UseDataWithDatasourceIndex (Method) Private ActivateDefaultUpdateItems (Method) AreAllShutdown (Method) DeriveMaxShutdownTimeoutValue (Method) ExistsPersistantItemList (Method) InitSources (Method) ReadWriteItemsSyncHelp (Method) Releasing ReleaseEvents (Method) TriggerStartShutdownComm (Method) UpdateLists (Method) Frameswitching FrameManager (FunctionBlock) GetCount (Method) GetReplacedPath (Method) GetReplacementInfo (Method) Initialize (Method) Mappings MappingDesc_ArrayArbitrary (FunctionBlock) FindChild (Method) protTokenLength (Method) MappingDesc_ArraySubRange (FunctionBlock) protDoNotifyArrayAccess (Method) Nodefinding OurVarInfo (FunctionBlock) AccessRights (Property) ArrayAccessDetected (Method) SetArrayNotificationClient (Method) Requests CDSV3Request (FunctionBlock) ContentData (Property) ContentSize (Property) FB_Exit (Method) Service (Property) ServiceGroup (Property) SetContentData (Method) SetInfo (Method) Roots RootDatasourceIndex (FunctionBlock) DatasourceIndex (Property) IsMapped (Property) QueryInterface (Method) RootPseudo (FunctionBlock) QueryInterface (Method) RootRenamed (FunctionBlock) QueryInterface (Method) RemoteName (Property) RootRenamedDatasourceIndex (FunctionBlock) BitOffset (Property) DatasourceIndex (Property) IsMapped (Property) QueryInterface (Method) Utils AffectedSourcesHelp (FunctionBlock) Initialize (Method) Sources (Property) GetBitValue (Function) Logging Assert (Function) ComponentConstants (GVL) ErrorToString (Function) LogComponent (FunctionBlock) FB_Exit (Method) FB_Init (Method) PtrToString (Function) Severity (Enum) ValueToString (Function) Memory StatDynMemory (FunctionBlock) FB_Exit (Method) FB_Init (Method) Ptr (Property) Reserve (Method) QuickSortAddrItemHelpers (FunctionBlock) SetBitValue (Function) SettingValue (FunctionBlock) ValueAsTime (Property) SettingsHelper (FunctionBlock) ReconnectWaitTime (Method) TimeoutSyncShutdown (Method) SortByAddrItemHelper (FunctionBlock) CompareToByAddrAndSize (Method) CompareToByReadListIndex (Method) StringBuilderSysMemExtending (FunctionBlock) FB_Init (Method)
AskCredentialsHelper (FB) ¶ FUNCTION_BLOCK AskCredentialsHelper InOut: Scope Name Type Input optCredentialsProvider IDatasources.ICredentialsProvider Methods: LoginFailed SetCredentialsProvider Structure: LoginFailed (Method) SetCredentialsProvider (Method)
AskCredentialsHelper.LoginFailed (METH) ¶ METHOD LoginFailed : BOOL InOut: Scope Name Type Comment Return LoginFailed BOOL If TRUE is returned, then there should be a retry, otherwise there should be no retry at all Output retryWaitTime TIME Contains an override of the waittime if value <> 0
AskCredentialsHelper.SetCredentialsProvider (METH) ¶ METHOD SetCredentialsProvider : IDatasources.SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return SetCredentialsProvider IDatasources.SysTypes.RTS_IEC_RESULT Input provider IDatasources.ICredentialsProvider
Assigners ¶ AssignerBase (FunctionBlock) AssignReadValue (Method) AtomicAssignIfPossible (Method) FB_Exit (Method) GetBitValuePtr (Method) GetRawValue (Method) IsValueForBitAssignment (Property) SetRawValue (Method) DirectAssigner (FunctionBlock) GetRawValue (Method) SetRawValue (Method) ILocalAssigner (Interface) FB_Exit (Method) SwappedDirectAssigner (FunctionBlock) DoSwapValueBuffer (Method) GetRawValue (Method) SetRawValue (Method)
Datasources ¶ Enums DataSourceError (Enum) DataSourceMonitoringState (Enum) DataSourceState (Enum) DatasourcesAction (Enum) Function Blocks AskCredentialsHelper (FunctionBlock) LoginFailed (Method) SetCredentialsProvider (Method) Assigners AssignerBase (FunctionBlock) AssignReadValue (Method) AtomicAssignIfPossible (Method) FB_Exit (Method) GetBitValuePtr (Method) GetRawValue (Method) IsValueForBitAssignment (Property) SetRawValue (Method) DirectAssigner (FunctionBlock) GetRawValue (Method) SetRawValue (Method) ILocalAssigner (Interface) FB_Exit (Method) SwappedDirectAssigner (FunctionBlock) DoSwapValueBuffer (Method) GetRawValue (Method) SetRawValue (Method) Collections CustomRequestQueue (FunctionBlock) FB_Exit (Method) FB_Init (Method) Override abstrAssign (Method) abstrDataPtrChanged (Method) abstrGetElementPtr (Method) abstrSizeOfElement (Method) DataItemAndPtrVectors (FunctionBlock) AddItem (Method) Clear (Method) Count (Property) FB_Exit (Method) GetArrayPtr (Method) Remove (Method) DataItemListPublic (FunctionBlock) FB_Exit (Method) IDataIemListInternal Release (Method) IDataItemList Clear (Method) Count (Property) CreateAndAdd (Method) GetItem (Method) IDataItemListExpanding CreateAndAddExpanding (Method) Internal Initialize (Method) Protected CanItemBeAdded (Method) DataItemListPublicPersistant (FunctionBlock) FB_Exit (Method) IDataItemListPersistant FinishedAdding (Method) Usage (Property) UsageDetails (Property) Internal Initialize (Method) Protected CanItemBeAdded (Method) DataItemPtrVector (FunctionBlock) AddItem (Method) GetItem (Method) Remove (Method) DataItemVector (FunctionBlock) AddItem (Method) GetArrayPtr (Method) GetItem (Method) Remove (Method) abstrAssign (Method) abstrDataPtrChanged (Method) abstrGetElementPtr (Method) abstrSizeOfElement (Method) DintSetBitBased (FunctionBlock) AddDint (Method) Clear (Method) Contains (Method) DintSetFull (FunctionBlock) AddDint (Method) Contains (Method) IDintSet (Interface) AddDint (Method) Clear (Method) Contains (Method) IPStringAndIntElement (Interface) IPStringElement (Interface) PStringValue (Property) PStringElement (FunctionBlock) ElementCompareTo (Method) ElementEquals (Method) ElementHashCode (Method) PStringValue (Property) PStringElementFactory (FunctionBlock) Create (Method) prvInstCount (Property) prvInstPoolExtendsFactor (Property) prvInstSize (Property) Components ComponentBase (FunctionBlock) BitOffset (Property) QueryInterface (Method) ComponentPseudo (FunctionBlock) QueryInterface (Method) ComponentRenamed (FunctionBlock) QueryInterface (Method) RemoteName (Property) ComponentSimple (FunctionBlock) CredentialsProviders StaticCredentialsProvider (FunctionBlock) ICredentialsProvider GetCredentials (Method) IsGetCredentialsFinished (Method) LoginFailed (Method) LoginSucceeded (Method) StartGetCredentials (Method) ICredentialsUserPassword Password (Property) Username (Property) DataItem (FunctionBlock) FB_Exit (Method) IDataItem Assigner (Property) DriverSpecific (Property) SetError (Method) SizeLocal (Property) SizeRemote (Property) IDataItemBase ErrorCode (Property) Quality (Property) TimeStamp (Property) Internal SetErrorHelp (Method) SetErrorNoLog (Method) ValueAddress (Property) WriteCopyAddress (Property) DataItemBase (FunctionBlock) FB_Exit (Method) IDataItem-parts Name (Property) IElement ElementCompareTo (Method) ElementEquals (Method) ElementHashCode (Method) DataItemList (FunctionBlock) AddItem (Method) AssureReadOnlyHaveWriteCopy (Method) Clear (Method) FillReadOnlyList (Method) GetPendingWriteVars (Method) GetReadVars (Method) ResetModifiedReadonlyItems (Method) DataItemLocation (FunctionBlock) AssureWriteCopy (Method) BitOffset (Property) FB_Exit (Method) Init (Method) LocalAddress (Property) SizeLocal (Property) SizeRemote (Property) WriteCopyAddress (Property) Datasource (FunctionBlock) Cyclic (Method) FB_Exit (Method) ICDSV3RequestHandling CreateCDSV3Request (Method) ReleaseRequest (Method) TargetByteOrder (Property) IDatasource CustomRequestHandling (Property) EnqueueCustomRequest (Method) SetCredentialsProvider (Method) IDatasource2 Error (Property) State (Property) IDatasource3 SetUpdateRateReduction (Method) UpdateRate (Property) IDatasourceTraceAddressInfoProvider CreateTraceAddressInfoWriter (Method) GetPointerSizeInBytes (Method) ReleaseTraceAddressInfoWriter (Method) Init (Method) Internal SetDatasourceIndex (Method) ItemList (Property) ListChangesDone (Method) ListChanging (Method) Private UpdateWriteCopies (Method) RunWhileStopped (Property) ShutdownInfo (Property) StartShutdown (Method) DatasourceShutdownInfo (FunctionBlock) BeforeShutdown (Method) Done (Method) Init (Method) ShutdownDone (Property) Timedout (Method) TimeoutValue (Property) DatasourcesActionRecord (FunctionBlock) AddEntry (Method) BeginUpdate (Method) Count (Property) EndUpdate (Method) FB_Exit (Method) GetEntry (Method) Release (Method) DatasourcesMgr (FunctionBlock) Cyclic (Method) FB_Exit (Method) ICmpEventCallback EventCallback (Method) IDataSourcesMgr Action Records ActionRecordDelete (Method) ActionRecordReplay (Method) ActionRecordingGetResult (Method) ActionRecordingStart (Method) AllItemsOk (Method) BeginDataConfiguration (Method) EndDataConfiguration (Method) GetDatasource (Method) GetItemInfo (Method) ItemList CreateItemList (Method) DeleteItemList (Method) ReadItemsSync (Method) ReleaseData (Method) SetCredentialsProvider (Method) UseData (Method) WriteItemsSync (Method) IDatasourcesMgr2 AddNotificationClient (Method) CreatePersistantItemList (Method) DeletePersistantItemList (Method) GetPersistantItemList (Method) Lock (Method) PersistantItemListCount (Property) RemoveNotificationClient (Method) Unlock (Method) IDatasourcesMgr3 UseDataExpanding (Method) IDatasourcesMgr4 CountDatasources (Property) GetDatasourceItfByIndex (Method) IDatasourcesMgrInternal CreateItemFromSymbolinfo (Method) NotificationClient (Property) Init (Method) Internal GetItemInfoWithDatasourceIndex (Method) GetPersistantItemListImpl (Method) ReleaseDataWithDatasourceIndex (Method) UseDataWithDatasourceIndex (Method) Private ActivateDefaultUpdateItems (Method) AreAllShutdown (Method) DeriveMaxShutdownTimeoutValue (Method) ExistsPersistantItemList (Method) InitSources (Method) ReadWriteItemsSyncHelp (Method) Releasing ReleaseEvents (Method) TriggerStartShutdownComm (Method) UpdateLists (Method) Frameswitching FrameManager (FunctionBlock) GetCount (Method) GetReplacedPath (Method) GetReplacementInfo (Method) Initialize (Method) Mappings MappingDesc_ArrayArbitrary (FunctionBlock) FindChild (Method) protTokenLength (Method) MappingDesc_ArraySubRange (FunctionBlock) protDoNotifyArrayAccess (Method) Nodefinding OurVarInfo (FunctionBlock) AccessRights (Property) ArrayAccessDetected (Method) SetArrayNotificationClient (Method) Requests CDSV3Request (FunctionBlock) ContentData (Property) ContentSize (Property) FB_Exit (Method) Service (Property) ServiceGroup (Property) SetContentData (Method) SetInfo (Method) Roots RootDatasourceIndex (FunctionBlock) DatasourceIndex (Property) IsMapped (Property) QueryInterface (Method) RootPseudo (FunctionBlock) QueryInterface (Method) RootRenamed (FunctionBlock) QueryInterface (Method) RemoteName (Property) RootRenamedDatasourceIndex (FunctionBlock) BitOffset (Property) DatasourceIndex (Property) IsMapped (Property) QueryInterface (Method) Utils AffectedSourcesHelp (FunctionBlock) Initialize (Method) Sources (Property) GetBitValue (Function) Logging Assert (Function) ComponentConstants (GVL) ErrorToString (Function) LogComponent (FunctionBlock) FB_Exit (Method) FB_Init (Method) PtrToString (Function) Severity (Enum) ValueToString (Function) Memory StatDynMemory (FunctionBlock) FB_Exit (Method) FB_Init (Method) Ptr (Property) Reserve (Method) QuickSortAddrItemHelpers (FunctionBlock) SetBitValue (Function) SettingValue (FunctionBlock) ValueAsTime (Property) SettingsHelper (FunctionBlock) ReconnectWaitTime (Method) TimeoutSyncShutdown (Method) SortByAddrItemHelper (FunctionBlock) CompareToByAddrAndSize (Method) CompareToByReadListIndex (Method) StringBuilderSysMemExtending (FunctionBlock) FB_Init (Method) Functions AllocAndCopyPString (Function) CompatibilitySafeGetPrepareExitCommProcessingLastCall (Function) CompatibilitySafeSetPrepareExitCommProcessingFurtherCallNecessary (Function) GlobalConstants InterfaceIds (GVL) InternalConstants (GVL) SpecialChars (GVL) GlobalVariables ErrorSituationTests (GVL) GVL (GVL) Settings (GVL) Interfaces IDataItemCompound (Interface) IDataItemListInternal (Interface) Release (Method) IDatasourcesActionRecordInternal (Interface) Count (Property) GetEntry (Method) Release (Method) IExpandSubNodeAdapterSingleRelease (Interface) ReleaseSubNode (Method) IProvidesBitOffset (Interface) BitOffset (Property) IProvidesDifferentRemoteName (Interface) RemoteName (Property) IProvidesRootInfo (Interface) DatasourceIndex (Property) IsMapped (Property) IPseudoNode (Interface) IUseDataContextSubNodes (Interface) NodeFinder (Property) PathOffset (Property) Structs AllScalarsUnion (Union) Datasources (Struct) EnqueuedRequest (Struct) FrameRegistrationData (Struct) ReusableRequestInfo (Struct) SymbolInfo (Struct) UpdateByDefaultInfo (Struct) UpdateByDefaultItem (Struct) Tests Test (Program)
Enums ¶ DataSourceError (Enum) DataSourceMonitoringState (Enum) DataSourceState (Enum) DatasourcesAction (Enum)