B&B Electronics 485DSS manual Hexadecimal to Decimal Conversion, Decimal to Hexadecimal Conversion

Page 23

Hexadecimal to Decimal Conversion:

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

Example:

Convert 10FC hexadecimal to decimal.

Decimal = (1st Hex digit x 4096) +

(2nd Hex digit x 256) +

(3rd Hex digit x 16) +

(4th Hex digit)

 

 

1

x

4096

=

4096

0

x

256

=

0

15

x

16

=

240

12

x

1

=

12

 

 

 

 

4348

10FC hex equals 4348 decimal.

4348 decimal equals 10FC hexadecimal.

Decimal to Hexadecimal Conversion:

Example: Convert 4348 decimal to hexadecimal.

4348 decimal equals 10FC hexadecimal.

4096

256

16

1

4348

=

1

=

1

(1st Hex digit)

4096

=

0

=

0

(2nd Hex digit)

252

0

=

15

=

F

(3rd Hex digit)

252

240

=

12

=

C

(4th Hex digit)

12

12

 

 

 

 

 

0

 

 

 

 

 

B-2

Appendix B

485DS32985 Manual

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

PH (815) 433-5100 -- FAX (815) 434-7094

Image 23
Contents Internet Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois Table of Contents Appendix C Cable Charts Hardware Introduction ChecklistRS-485/422 Port SpecificationsPort Configuration RS-232 Port RS-422/485 Port Terminal Block Signal Description DirectionWire Mode RS-422/485 WiringComponent Values For Send Data Timing RS-485 Wiring Diagram Wire Mode RS-422 Wiring Diagram RS-485 and RS-422 Termination Power SupplyOperation Distributed Smart Switch Commands Communication ConfigurationOn Command Command StringStatus Request Command OFF CommandSelect State ACK DIP Switch Setting the 485DSS AddressAddress Switch Binary File Transfer Software Description Hard Drive InstallationType CD\485DSS\PASCAL and press the Enter key Running Demonstration ProgramDecimal to HEX to Ascii Conversion Table Appendix a Ascii Character CodesDec/Hex Conversions Decimal Hexadecimal SymbolAppendix B Decimal/Hexadecimal/Conversions Decimal to Hexadecimal Conversion Hexadecimal to Decimal Conversion485DSS Appendix C Cable ChartsChart 1. IBM PC DB25 Connector to 485DSS RS-232 DTE Port RS-232 DTE Port DB25 Connector DirectionDirection Terminal Blocks RS-485/422Class a Equipment
Related manuals
Manual 26 pages 3.35 Kb