FB_BA_ActuatorMO
![FB_BA_ActuatorMO 1:](Images/png/13994241675__Web.png)
The template is used to control multi-stage aggregates. It essentially consists of an MO object for controlling an aggregate and the function block PlantLock, which collects all safety-relevant faults.
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram
![FB_BA_ActuatorMO 3:](Images/png/13994242187__Web.png)
Syntax
FUNCTION_BLOCK FB_BA_ActuatorMO EXTENDS FB_BA_View
VAR_INPUT
stCmd : ST_BA_Multistate;
END_VAR
VAR_OUTPUT
nCmd : UDINT;
bDst : BOOL;
eActivePrio : E_BA_Priority;
END_VAR
VAR_INPUT CONSTANT
Cmd : FB_BA_MO;
PlantLock : FB_BA_PlantLock;
END_VAR
VAR
bPrioSfty : BOOL;
bPrioCrit : BOOL;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
stCmd | The enables and switching values are transmitted to the template via the command structure stCmd . The command with the highest priority is output at the multistate output object Cmd. |
Outputs
Name | Type | Description |
---|---|---|
nCmd | UDINT | Current switch value of the multistate output object. |
bDst | BOOL | The variable is an evaluation of the lock priorities "Safety" and "Critical" of the project structure and indicates a triggered event. |
eActivePrio | Display of the active priority. |
Inputs CONSTANT
Name | Type | Description |
---|---|---|
Cmd | The multistate output object is used to output the current switch value. | |
PlantLock | The function block PlantLock collects all safety-relevant faults at this level of the project structure and triggers switching commands in the template accordingly. |
Variables
Name | Type | Description |
---|---|---|
bPrioSfty | BOOL | The variable is an evaluation of the "Safety" lock priority of the project structure. |
bPrioCrit | BOOL | The variable is an evaluation of the "Critical" lock priority of the project structure. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.2.1.0 |