Appendix b, Hexadecimal/decimal conversions – B&B Electronics RS-485 Digital I/O Module 485SDD16 User Manual

Page 20

Advertising
background image

485SDD16-1005 Manual

Appendix B

B-1

B&B Electronics -- 707 Dayton Road -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5104

APPENDIX B

Hexadecimal/Decimal Conversions

B-2

Appendix B

485SDD16-1005 Manual

B&B Electronics -- 707 Dayton Road -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5104

The decimal (base 10) numbering system represents each

position in successive powers of 10, with each decimal symbol
having a value from 0 to 9. The hexadecimal (base 16) numbering
system represents each position in successive powers of 16 with
each hex symbol having a value of 0 to 15. Since each hex position
must have a single symbol, the symbols "A" through "F" are
assigned to values 10 through 15 respectively. Refer to Table 1.
The information and examples to follow will explain how to convert
from a decimal number to a hexadecimal number and vice versa.

Table 1.

Decimal

Value

Hexadecimal

Symbol

0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9

10 A
11 B
12 C
13 D
14 E
15 F


Advertising