FB_BA_Mot1st

FB_BA_Mot1st 1:

The template is used for the control of a single-step motor with fault signal, e.g. a fan.

It essentially consists of the base class FB_BA_ActuatorCmd for controlling a binary aggregate and collecting all safety-related faults. The BI object Dst indicates a motor fault.

FB_BA_Mot1st 2:

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

Block diagram

FB_BA_Mot1st 3:

Syntax

FUNCTION_BLOCK FB_BA_Mot1st EXTENDS FB_BA_ActuatorCmd
VAR_INPUT CONSTANT
  Dst    : FB_BA_BI_Raw;
END_VAR
VAR
END_VAR

FB_BA_Mot1st 4: Inputs CONSTANT

Name

Type

Description

Dst

FB_BA_BI_Raw

Binary input object is used to process a fault.

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.2.1.0