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
Содержание easy800
Страница 1: ...11 11 MN04902001Z EN replaces AWB2528 1423GB Manual Control Relay 800 4 patpks nycmyn...
Страница 4: ...2...
Страница 16: ...0 About This Manual 0 5 Writing conventions 12 Control Relay easy800 11 11 MN04902001Z EN www eaton com...
Страница 138: ...4 Wiring with 800 4 7 Working with function blocks 134 Control Relay easy800 11 11 MN04902001Z EN www eaton com...
Страница 300: ...7 SmartWire DT 7 4 Errors on the SWD line 296 Control Relay easy800 11 11 MN04902001Z EN www eaton com...
Страница 336: ...10 Diagnostics possibilities 10 4 Transistor output 332 Control Relay easy800 11 11 MN04902001Z EN www eaton com...