5 Function blocks
5.23 NC, numerical converter
Control Relay easy800
11/11 MN04902001Z-EN
www.eaton.com
225
Function of the function block
BCD mode
The BCD value present at input I1 is converted to a binary value and supplied
on the output QV. The binary value is displayed as a decimal value.
Examples:
I1
(dec)
BCD
BIN
QV
(dec)
9
0000 1001
1001
9
17
0001 0001
1011
11
25
0001 1001
0001 0011
19
19
0001 0011
1101
13
161061273 0000 1001
1001 1001
1001 1001
1001 1001
0001 0001
0001 0110
0111 1111
9999999
-18585
1000 0000
0000 0000
1001 0000
1001 1001
10000 0000
0000 0000
0010 0011
1000 1011
-9099
→
Bit 32 is the sign bit.
Bit 32 = 1 Sign = Minus.
→
As each value is represented with 4 nibbles and each nibble can
take on the value 9 in BCD code, the highest number that can
be represented is 9999999. The smallest representable number
is -9999999.
NC