Publication 1766-RM001A-EN-P - October 2008
Number Systems
663
Hexadecimal Numbers
Hexadecimal numbers use single characters with equivalent decimal
values ranging from 0…15.
The position values of hexadecimal numbers are powers of 16, beginning
with 16
0 at the right:
Example
Hexadecimal number 218A has a decimal equivalent value of 8586.
1x2
14
= 16384
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 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
32767
1x2
15
= 32768 This position is always 1 for negative numbers.
HEX
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
Decimal 0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
3
16
2
16
1
16
0
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive