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

Interfaces visual element
wValue
WORD
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 '%'
wMinInputVisu
WORD
VAR_INPUT
0
Min input that appears on the numpad and lights up red when the value is undershot. Input is then not possible.
wMaxInputVisu
WORD
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
wSetPoint
WORD
0
Output
wOut
WORD
Last updated

