FB_Bias (Function Block)

Adds a fixed offset to the input signal.

A positive value shifts the output up; a negative value shifts it down.

Extends: FB_SisoComponent

Properties

Bias

Type: LREAL

Gets or sets the fixed offset added to the input. Negative values subtract.

Methods

FB_init

Inputs

Name

Type

Description

bInitRetains

BOOL

if TRUE, the retain variables are initialized (warm start / cold start)

bInCopyCode

BOOL

if TRUE, the instance afterwards gets moved into the copy code (online change)

fBias

LREAL

Fixed offset added to the input.

Run

Adds Bias to the current input.