FB_BA_MotMdltExt
The template is used to control a speed-controlled motor. It consists essentially of the base class FB_BA_MotMdlt.
The difference to the template FB_BA_MotMdlt is the AV object Sp with the associated MAX selection. A minimum control value for the motor could thus be specified via the Sp object.
The initialization of the template takes place within the method FB_Init. |
Block diagram
Syntax
FUNCTION_BLOCK FB_BA_MotCtlExt EXTENDS FB_BA_MotMdlt
VAR_INPUT CONSTANT
Sp : FB_BA_AV_Op;
END_VAR
Inputs CONSTANT
Name | Type | Description |
---|---|---|
Sp | The AV object can be used to specify the minimum control value for the motor. A MAX selection then uses either this setpoint or the value from the input fValPgm of the base class FB_BA_MotMdlt. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.2.1.0 |