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
- InOut:
Scope
Name
Type
Comment
Input
itfActionProviderThe
ActionProviderimplements the operations which are called from theStateMachineat the apropiate moment.itfTimingControllerThe
TimingControllerimplements the complete timing behaviour for the relatedBehaviourModelif neccecary.xControlBOOLxControl: (
xEnable/xExecute) starts the defined operationxAbortBOOLTRUE: Aborts the operationudiTimeLimitUDINTMax. operating time per invocation [µs], 0: No operating time limit
udiTimeOutUDINTMax. operating time for executing [µs], 0: No operating time limit
Output
xDoneBOOLTRUE: Ready condition reachedxBusyBOOLTRUE: Operation is runningxErrorBOOLTRUE: Error condition reachedxAbortedBOOLTRUE: Abort condition reachediErrorIDINTError condition detail information
eStateCurrent state information
eInternalErrorIDInternal error condition information
Properties:
Methods:
Structure: