FB_BA_MotCtlExt

FB_BA_MotCtlExt 1:

The template is used to control and regulate a speed-controlled motor. It consists essentially of the base class FB_BA_MotCtl.

The difference to the template FB_BA_MotCtl are the additional BI objects ThOvrld and MntnSwi.

FB_BA_MotCtlExt 2:

The initialization of the template takes place within the method FB_Init.

Block diagram

FB_BA_MotCtlExt 3:

Syntax

FUNCTION_BLOCK FB_BA_MotCtlExt EXTENDS FB_BA_MotCtl
VAR_INPUT CONSTANT
  ThOvrld    : FB_BA_BI_Raw;
  MntnSwi    : FB_BA_BI_Raw;
END_VAR

FB_BA_MotCtlExt 4: Inputs CONSTANT

Name

Type

Description

 

 

 

ThOvrld

FB_BA_BI_Raw

The binary input object is used to process the "Thermal overload" fault.

MntnSwi

FB_BA_BI_Raw

The binary input object is used to process a maintenance switch.

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.2.1.0