Offset (FB)

FUNCTION_BLOCK Offset

Short Description

Addition of a offset value to a numerical input value

Typical application: Adjustment of a temperature sensor

Portrayal

../_images/Offset_FB.png

Interfaces

Inputs

Name

Datatype

Range

Init-Value

Function

rValueIN REAL    

Input value

Outputs

Name

Datatype

Range

Init-Value

Function

rValueOUT REAL    

Output value

Setpoints/parameters

Name

Datatype

Range

Init-Value

Function

rOffset REAL    

Offset value

Functional Description

Analog value output rOut

The output value rValueOUT is formed by adding the input value rValueIN with the offset value rOffset

Visualization




Information

Element

Authors

Date

Version

Notes

Function

Kevin Rohn 10.2017 1.0

Initial version

Programming

Kevin Rohn 10.2017 1.0

Initial version

Test Jochen Reu 11.2017 1.0

Initial version

Documentation

Jochen Reu 11.2017 1.0

Initial version

Codesys

InOut:
Scope Name Type Comment
Input rValueIN REAL

Input value

Output rValueOUT REAL

Output value

Input rOffset REAL

Offset value