EditReal
EditReal (FB)
FUNCTION_BLOCK EditReal
Short description
Input of a numeric value Typical application: Input of a target temperature
Representation

Interfaces
Outputs
rOut
REAL
Numeric output value
Setpoints / parameters
rSetPoint
REAL
0
Numeric input value
Function description
General
This function block is used to pass a numeric input value rSetPoint and to directly transfer it to the numeric output value rOut.
Visualization
Matching visualization element from the HVACV Visu Library: EditReal
Representation
Interfaces Visu-Element
rValue
REAL
VAR_IN_OUT
Enter numeric input value here e.g. EditReal.rSetPoint
bDecimals
BYTE
VAR_INPUT
0
Enter number of decimal places here e.g. 0 = XX ; 1 = XX.X ; 2 = XX.XX The display is not rounded but truncated.
sUnit
STRING
VAR_INPUT
Enter unit as a string format e.g. '°C' or '%'
rMinInputVisu
REAL
VAR_INPUT
-1000
Min input that appears on the numpad and lights up red when the value is undercut. Input is then not possible.
rMaxInputVisu
REAL
VAR_INPUT
1000
Max input that appears on the numpad and lights up red when the value is exceeded. Input is then not possible.
sDialogTitle
STRING
VAR_INPUT
Enter the title in string format e.g.: 'Input room temperature' - appears on the numpad during input.
iFieldSizeL
INT
VAR_INPUT
0
Field expands by the number of entered pixels to the left. Required to display long numbers or units.
iFieldSizeR
INT
VAR_INPUT
0
Field expands by the number of entered pixels to the right. Required to display long numbers or units.
CODESYS
InOut:
Input Const
rSetPoint
REAL
0
Output
rOut
REAL
Last updated

