Task FBD4: Functions for analog value processing
Section outline
Completion requirements
a) Basic functions: FU_Norm_FBD

Add a function with the name FU_Norm_FBD to your project tree. This function is to scale an analog value provided by an analog input module according to the following scheme:

Block help from the context menu: Edit Wizard → Help on FB/FU,
Device data sheet
Chapter: Elementary Data Types
Chapter: Constants - Literals
Please note that a conversion in data types is required for scaling.
These data types are intended for parameterizing arithmetic basic functions and provide a value range sufficient for calculations.
Blocks that can be helpful for creation (not all of them must be used):
