IConfigurationProvider2 (ITF) ¶ INTERFACE IConfigurationProvider2 EXTENDS __SYSTEM.IQueryInterface Allows to identify the current configuration of an action provider Methods: GetConfiguration2 Structure: GetConfiguration2 (Method)
ITimingController (ITF) ¶ INTERFACE ITimingController EXTENDS __SYSTEM.IQueryInterface Applied whenever the timing related behaviour needs to be checked, for example, if a specific time limit is required. Properties: ControllerTimeLimit ControllerTimeOut CurrentControllerTime Methods: ControllerCheckTiming StartInvocationTimer StartOperationTimer Structure: ControllerCheckTiming (Method) ControllerTimeLimit (Property) ControllerTimeOut (Property) CurrentControllerTime (Property) StartInvocationTimer (Method) StartOperationTimer (Method)
ActionController.ControlStartAction (METH) ¶ METHOD ControlStartAction InOut: Scope Name Type Input itfStartActionProvider IStartActionProvider Output xComplete BOOL iErrorID INT
BehaviourModel (FB) ¶ FUNCTION_BLOCK BehaviourModel IMPLEMENTS IBehaviourModel , IConfigurationProvider , IConfigurationProvider2 The BehaviourModel function block will serve as a core for other more specialized function blocks like ETrigATl . Because PLCopen defines two different variables ( xEnable / xExecute ) for starting the function block depending on its type, a neutral name xControl has been chosen. The xControl input variable can act as a xExecute or an xEnable input variable. This depends on how the related action provider is decorated. If the action provider is decorated with IEdgeTriggered then the xControl input variable acts as an xExecute . If the action provider is decorated with ILevelControlled then the xControl input variable acts as an xEnable . Please take a look to a more detailed description of Edge Triggered Function Blocks Level Controlled Function Blocks InOut: Scope Name Type Comment Input itfActionProvider IActionProvider The ActionProvider implements the operations which are called from the StateMachine at the apropiate moment. itfTimingController ITimingController The TimingController implements the complete timing behaviour for the related BehaviourModel if neccecary. xControl BOOL xControl: ( xEnable / xExecute ) starts the defined operation xAbort BOOL TRUE : Aborts the operation udiTimeLimit UDINT Max. operating time per invocation [µs], 0: No operating time limit udiTimeOut UDINT Max. operating time for executing [µs], 0: No operating time limit Output xDone BOOL TRUE : Ready condition reached xBusy BOOL TRUE : Operation is running xError BOOL TRUE : Error condition reached xAborted BOOL TRUE : Abort condition reached iErrorID INT Error condition detail information eState STATE Current state information eInternalErrorID ERROR Internal error condition information Properties: ActionController ModelTimeLimit ModelTimeOut Methods: _CheckAbortCondition _CheckParameter _CheckTimeOutCondition _Execute _ResetAction AbortModel GetConfiguration GetConfiguration2 GetModelState ResetModel StartModel _StateMachine Structure: IBehaviourModel AbortModel (Method) ActionController (Property) GetConfiguration (Method) GetConfiguration2 (Method) GetModelState (Method) ModelTimeLimit (Property) ModelTimeOut (Property) ResetModel (Method) StartModel (Method) StateMachine _StateMachine (Method) _CheckAbortCondition (Method) _CheckParameter (Method) _CheckTimeOutCondition (Method) _Execute (Method) _ResetAction (Method)
IBehaviourModel ¶ AbortModel (Method) ActionController (Property) GetConfiguration (Method) GetConfiguration2 (Method) GetModelState (Method) ModelTimeLimit (Property) ModelTimeOut (Property) ResetModel (Method) StartModel (Method)
StateMachine ¶ _StateMachine (Method)
BehaviourModel._CheckAbortCondition (METH) ¶ METHOD PROTECTED _CheckAbortCondition : BOOL InOut: Scope Name Type Return _CheckAbortCondition BOOL
BehaviourModel._CheckParameter (METH) ¶ METHOD PROTECTED _CheckParameter InOut: Scope Name Type Output eErrorID ERROR
BehaviourModel._CheckTimeOutCondition (METH) ¶ METHOD PROTECTED _CheckTimeOutCondition
BehaviourModel._Execute (METH) ¶ METHOD PROTECTED _Execute InOut: Scope Name Type Initial Output eErrorID ERROR ERROR.NO_ERROR