Offset
Offset (FB)
Offset (FB)FUNCTION_BLOCK Offset
Short description
Addition of a correction value to a numeric input value Typical application: calibration of a temperature sensor
Representation

Interfaces
Inputs
Name
Data type
Value range
Initial value
Function
rValueIN
REAL
Input value
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
Function description
Analog value output rOut
The output value rValueOUT is formed by adding the input value rValueIN with the correction value rOffset formed
CODESYS
InOut:
Scope
Name
Type
Input
rValueIN
REAL
Output
rValueOUT
REAL
Input Const
rOffset
REAL
Last updated

