6. Function blocks
6.1 Manufacturer function blocks
Since each decimal value is represented with four bytes or
eight nibbles and each nibble in the BCD code can assume a
value of 9, the largest number that can be represented is
9999999. The smallest number that can be represented is -
9,999,999.
However, since a BCD source cannot five a negative number at I1, a negative
numeric conversion at QV is simply a theoretical case.
Values greater than 161061273 are output as 9999999.
Values less than –161061273 are output as –9999999.
The working range of the function block has been exceeded.
Example of a numerical converter function block when using the EDP pro-
gramming language
Function block input NC..EN is connected directly to device terminal I5
I 05-----------------------------Ä NC01EN
Fig. 254: Wiring the function block coils
NC02 BCD +
>I1
QV>
Fig. 255: Setting of the parameters
See also
→ Section "AL - Alarm function block", page 465
→ Section "BV - Boolean operation", page 470
→ Section "D - Text display", page 474
→ Section "D - Text display editor", page 484
→ Section "DL - Data logger", page 503
→ Section "JC - Conditional jump", page 516
→ Section "LB - Jump label", page 521
→ Section "MC - Acyclical Modbus TCP request", page 523
→ Section "MR - Master Reset", page 534
→ Section "ST - Set cycle time", page 559
558
easyE402/24 MN050009ENEaton.com