Positive decimal values – Rockwell Automation 1746-FIO4V SLC 500 Fast Analog I/O/ User Manual User Manual
Page 84

Publication 1746-UM009B-EN-P - September 2007
84 2’s-complement Binary Numbers
Positive Decimal Values
The far left position is always 0 for positive values. Binary notation
and 2’s-complement binary notation are identical for positive values.
This format limits the maximum positive value to 32767 when all
positions are 1 except for the far left position (see figure below).
Study these examples.
0000 1001 0000 1110 = 2
11
+ 2
8
+ 2
3
+ 2
2
+ 2
1
= 2048 + 256 + 8 + 4 + 2 = 2318
0000 0011 0010 1000 = 2
9
+ 2
8
+ 2
5
+ 2
3
= 512 + 256 + 32 + 8 = 808
0x2
15
= 0 This position is always zero for positive numbers
1x2
14
=16,384
1x2
13
= 8192
1x2
12
= 4096
1x2
11
= 2048
1x2
10
= 1024
1x2
9
= 512
1x2
8
= 256
1x2
7
= 128
1x2
6
= 64
1x2
5
= 32
1x2
4
= 16
1x2
3
= 8
1x2
2
= 4
1x2
1
= 2
1x2
0
= 1
1
2
4
8
16
32
64
128
256
512
1024
2048
0
0
0
4095
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1S
0