FB_BA_HtgLmt

FB_BA_HtgLmt 1:

Heating limit switch for enabling automatic heating operation depending on the input value fIn and the heating limit value Sp.

FB_BA_HtgLmt 2:

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

Block diagram

FB_BA_HtgLmt 3:

Syntax

FUNCTION_BLOCK FB_BA_HtgLmt EXTENDS FB_BA_View
VAR_INPUT
  fIn         : REAL;
END_VAR
VAR_OUTPUT
  bQ          : BOOL;
END_VAR
VAR_INPUT CONSTANT
  Sp          : FB_BA_AV_Op;
  Q           : FB_BA_BV_Op;
END_VAR
VAR
  Swi2P       : FB_BA_Swi2P;
END_VAR

FB_BA_HtgLmt 4: Inputs

Name

Type

Description

fIn

REAL

The actual value for the controller Ctrl is connected to the input.

FB_BA_HtgLmt 5: Outputs

Name

Type

Description

bQ

BOOL

Indicates whether the heating limit switch is active.

FB_BA_HtgLmt 6: Inputs CONSTANT

Name

Type

Description

SP

FB_BA_AV_Op

AV object for entering the heating limit value for night reduction.

Q

FB_BA_BV_Op

Indicates that the heating limit switch is active.

Variables

Name

Type

Description

Swi2P

FB_BA_Swi2P

The two-position switch enables heating mode depending on the input value fIn and the heating limit value.