6. Function blocks
6.1 Manufacturer function blocks
Other
Retention
The function block does not recognize retentive data.
Example for BIN operating mode
For simulation purposes in easySoft 8, function block input I1 can be connected to a
marker double word instead of to a binary source. The value of this marker double
word can be entered in hexadecimal or decimal format. It will always be interpreted
as binary at function block input I1.
MD value I1   QV
(dec) (hex) BIN  BCD (dec)

 
9
9
0000 1001

0000 1001

9
23
17
0001 0111

0010 0011

35
37
25
0010 0101

0011 0111

55
9 999 999
00 989 67F
0000 0000
1001 1000
1001 0110
0111 1111


0000 1001
1001 1001
1001 1001
1001 1001
161 061 273
-9 999 999
FF 676 981
1111 1111
0110 0111
0110 1001
1000 0001


1111 0110
0110 0110
0110 0110
0110 0111
-161 061 273

-10 000 000
1001 0000
0000 0000
0000 0000
0000 0000
Value range
exceeded
1001 1001
1001 1001
1001 1001
1001 1001
-161 061 273
The most significant nibble determines the
sign. For negative numbers, the two's com-
plement will be calculated.
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.
556
easyE402/24 MN050009ENEaton.com