EditUDINT
EditUDINT (FB)
EditUDINT (FB)FUNCTION_BLOCK EditUDINT
Short description
Input of a numeric value Typical application: input of a target temperature
Representation
Interfaces
Outputs
udiOut
UDINT
Numeric output value
Setpoints / parameters
rSetPoint
UDINT
0
Numeric input value
Function description
General
This function block is used to pass a numeric input value udiSetPoint and the direct transfer to the numeric output value udiOut.\
Behavior in case of power failure
The numeric input value udiSetPoint is stored fail-safe against power loss and automatically restored. \
Visualization
Matching visualization element from the HVACV Visu Library: EditUdint
Representation

Interfaces visual element
udiValue
UDINT
VAR_IN_OUT
Enter numeric input value here e.g. EditReal.rSetPoint
sUnit
STRING
VAR_INPUT
Enter unit in string format e.g. '°C' or '%'
rMinInputVisu
UDINT
VAR_INPUT
0
Min input that appears on the numpad and lights up red when the value is undershot. Input is then not possible.
rMaxInputVisu
UDINT
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 entry.
iFieldSizeL
INT
VAR_INPUT
0
Field enlarges by the number of entered pixels to the left. Required to display long numbers or units.
iFieldSizeR
INT
VAR_INPUT
0
Field enlarges by the number of entered pixels to the right. Required to display long numbers or units.
Note: VAR_IN_OUT interfaces must be assigned, VAR_INPUT are optional.
CODESYS
InOut:
Input Const
udiSetPoint
UDINT
0
Output
udiOut
UDINT
Last updated

