![IFM PDM360NG Series System Manual Download Page 330](http://html1.mh-extra.com/html/ifm/pdm360ng-series/pdm360ng-series_system-manual_3875026330.webp)
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Input/output functions
Adapting analogue values
330
10.2.1
NORM_DINT
3200
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
3307
NORM_DINT normalises a value within defined limits to a value with new limits.
The FB normalises a value of type DINT, 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
3308
Parameter
Data type
Description
X
DINT
current input value
XH
DINT
upper limit of input value range
XL
DINT
lower limit of input value range
YH
DINT
upper limit of output value range
YL
DINT
lower limit of output value range