6. Function blocks
6.1 Manufacturer function blocks
 Description Note
Edit interrupt routine
Clicking on the button will open the
interrupt routine in the Pro-
gramming view

Simulation possible


Other
Retention
The function block does not recognize retentive data.
Application example LS
An analog pressure sensor I1 in a tank delivers a value ranging from 0 (empty) to
10000 (full). When the cylindrical, upright tank is completely full, it holds 600 liters.
The purpose is for the current fill level to be converted to liters. The relationship
between the pressure and the fill level, and accordingly the volume as well, is linear,
meaning that an LS function block can be used.
The parameters would need to be configured as follows: X1=0, X2= 10000, Y1=0,
Y2=600
QV will then deliver the fill level in liters.
See also
 → Section "AR - Arithmetic", page 335
 → Section "AV - Average", page 340
 → Section "CP – Comparator", page 349
 → Section "MM - Min-/Max function", page 358
 → Section "PW - Pulse width modulation", page 367
 → Section "PM - Performance map ", page 361
easyE402/24 MN050009ENEaton.com
357