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

Page 18

Advertising
background image

232SDD16-1005 Manual

Appendix B

B-1

B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350

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

APPENDIX B

Hexadecimal/Decimal Conversions

B-2 Appendix

B

232SDD16-1005

Manual

B&B Electronics -- PO Box 1040 -- 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