EditMinMaxVisu (FB)¶
FUNCTION_BLOCK EditMinMaxVisu
Short Descritpion¶
Input of a numeric value with input limits (visualization)Typical application: Input of a setpoint temperature in the visualization
Portrayal¶
Interfaces¶
Outputs¶
Name Datatype
Range
Init-Value
Function
rOut REAL Numerical output value
Setpoints / Parameters¶
Name Datatype
Range
Init-Value
Function
bDecimals BYTE 1 Number of decimal places
sDialogTitle STRING Dialog title of the input value
sUnit STRING Unit of the input value
rMaxInputVisu REAL 100.0 Upper input limit of the input value
rMinInputVisu REAL 0.0 Lower input limit of the input value
rSetPoint REAL 0.0 Numerical input value
Functional description¶
General¶
This function block is used to transfer a numeric input value rSetPoint and the direct transfer
to the numeric output value rOut. In addition, you can define further input value properties here, which are
not used in the function block but in a suitable visualization element, for example.
For example, the number of decimal places bDecimals, the title of the input value sDialogTitle, the unit of the input value sUnit
as well as the input limit values rMinInputVisu and rMaxInputVisu can be transferred to the visualization element and taken
into account during input.
Behaviour in the event of a power failure
All setpoints / parameters are stored and automatically restored.
Visualization¶
Information¶
Element Authors
Date
Version Note
Function
Adam Bartod 09.2017 1.0 Initial version
Programming
Adam Bartod 09.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 Initial Comment Input bDecimals BYTE 1 Number of decimal places
sDialogTitle STRING Dialog title of the input value
sUnit STRING Unit of the input value
rMaxInputVisu REAL 100 Upper input limit of the input value
rMinInputVisu REAL 0 Lower input limit of the input value
rSetPoint REAL 0 Numerical input value
Output rOut REAL Numerical output value