FB_BA_AV_Op_SP

FB_BA_AV_Op_SP 1:

The template FB_BA_AV_Op_SP is used to enter a setpoint within a template at system level.

It is itself a shell that represents the aggregate level and sets the internal analog object at the functional level.

A label is predefined in FB_Init that describes the internal analog object as a "setpoint"; the preselected unit is [°C].

FB_BA_AV_Op_SP 2:

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

Block diagram

FB_BA_AV_Op_SP 3:

Syntax

FUNCTION_BLOCK FB_BA_AV_Op_SP EXTENDS FB_BA_View
VAR_OUTPUT
  fPresentValue    : REAL;
END_VAR
VAR_INPUT CONSTANT
  SP               : FB_BA_AV_Op;
END_VAR

FB_BA_AV_Op_SP 4: Outputs

Name

Type

Description

fPresentValue

REAL

Entered value.

FB_BA_AV_Op_SP 5: Inputs CONSTANT

Name

Type

Description

SP

FB_BA_AV_Op

Analog value object for entering the setpoint.

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.0.0.0