B&B Electronics 485SDD16 manual Decimal to Hexadecimal Conversion, 252, 3rd Hex digit

Models: 485SDD16

1 28
Download 28 pages 11.04 Kb
Page 21
Image 21

Hexadecimal to Decimal Conversion: Decimal = (1st Hex digit x 4096) + (2nd Hex digit x 256) +

(3rd Hex digit x 16) + (4th Hex digit)

Each "Hex digit" is the decimal equivalent value of the hexadecimal symbol.

Example: Convert 10FC hexadecimal to decimal.

1

x

4096

=

4096

0

x

256

=

0

15

x

16

=

240

12

x

1

=

12

 

 

 

 

4348

10FC hex equals 4348 decimal.

Decimal to Hexadecimal Conversion:

Example: Convert 4348 decimal to hexadecimal.

4096

4348

=

1

=

1

(1st Hex digit)

256

4096

=

0

=

0

(2nd Hex digit)

252

16

0

=

15

=

F

(3rd Hex digit)

252

1

240

=

12

=

C

(4th Hex digit)

12

 

12

 

 

 

 

 

0

4348 decimal equals 10FC hexadecimal.

485SDD16-1005 Manual

Appendix B

B-3

B-4

Appendix B

485SDD16-1005 Manual

B&B Electronics --

707 Dayton Road -- Ottawa, IL 61350

 

 

B&B Electronics -- 707 Dayton Road

-- Ottawa, IL 61350

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

 

 

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

Page 21
Image 21
B&B Electronics manual Decimal to Hexadecimal Conversion, 252, 3rd Hex digit, 485SDD16-1005 Manual Appendix B