For the complete documentation index, see llms.txt. This page is also available as Markdown.

Offset

Offset (FB)

FUNCTION_BLOCK Offset

Short description

Addition of a correction value to a numerical input value Typical application: Calibration of a temperature sensor

Representation

Interfaces

Inputs

Name
Data type
Value range
Initial value
Function

rValueIN

REAL

eInit2.InputValue

Outputs

Name
Data type
Value range
Initial value
Function

rValueOUT

REAL

Output value

Setpoints / Parameters

Name
Data type
Value range
Initial value
Function

rOffset

REAL

Correction value

Functional description

Analog value output rOut

The output value rValueOUT is formed by adding the input value rValueIN to the correction value rOffset formed.

CODESYS

InOut:

Scope
Name
Type

Input

rValueIN

REAL

Output

rValueOUT

REAL

Input Const

rOffset

REAL

Last updated