![IFM PDM360NG Series System Manual Download Page 332](http://html1.mh-extra.com/html/ifm/pdm360ng-series/pdm360ng-series_system-manual_3875026332.webp)
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Input/output functions
Adapting analogue values
332
10.2.2
NORM_REAL
3202
Unit type = function block (FB)
Contained in the library:
Available for the following devices:
ifm_PDM_UTIL_Vxxyyzz.LIB
- PDM360: CR1050, CR1051, CR1060
- PDM360compact: CR1052, CR1053, CR1055, CR1056
ifm_PDMng_UTIL_Vxxyyzz.LIB
- PDM360NG: CR108n, CR9042
ifm_PDMsmart_UTIL_Vxxyyzz.LIB
- PDM360smart: CR1070, CR1071
Symbol in CoDeSys:
Description
3310
NORM_REAL normalises a value within defined limits to a value with new limits.
The FB normalises a value of type REAL, which is within the limits of XH and XL, to an output value
within the limits of YH and YL. This FB is for example used to generate PWM values from analogue
input values.
NOTE
The value for X must be in the defined input range between XL and XH (there is no internal plausibility
check of the value). Outside this value range the output X_OUT_OF_RANGE is set.
Due to rounding errors the normalised value can deviate by 1.
If the limits (XH/XL or YH/YL) are indicated in an inverted manner, normalisation is also done in an
inverted manner.
Parameters of the inputs
3311
Parameter
Data type
Description
X
REAL
current input value
XH
REAL
upper limit of input value range
XL
REAL
lower limit of input value range
YH
REAL
upper limit of output value range
YL
REAL
lower limit of output value range