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

Page 24

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

485DSS-0308 Manual

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91 792444 – Fax +353 91 792445

Image 24
Contents Electronics Mfg. Co. Inc Designed and Manufactured Ottawa, IllinoisInternet 485DSS-0308 Manual CoverPage Table of Contents IiTable of Contents 485DSS-0308 Manual Checklist Hardware IntroductionSpecifications Port ConfigurationRS-485/422 Port RS-422/485 Port Terminal Block Signal Description Direction Signal Ground +12VDC Power Supply InputRS-232 Port Clear to Send Input Signal Ground RS-422/485 WiringWire Mode Frame Ground Transmit Data Output Receive Data InputComponent Values For Send Data Timing RS-485 Wiring Diagram Wire Mode Power Supply RS-422 Wiring Diagram RS-485 and RS-422 TerminationOperation Communication Configuration Distributed Smart Switch CommandsCommand String On CommandDecimal HexOFF Command Status Request CommandPage ACK Setting the 485DSS Address Address SwitchDIP Switch Binary File Transfer Software Description Appendix a Ascii Character Codes 485DSS-0308 Manual Appendix aPage Symbol Appendix B Decimal/Hexadecimal/ConversionsDec/Hex Conversions Decimal Hexadecimal 485DSS-0308 Manual Appendix BHexadecimal to Decimal Conversion Decimal to Hexadecimal ConversionAppendix C Cable Charts Chart 1. IBM PC DB25 Connector to 485DSS RS-232 DTE PortRS-232 DTE Port DB25 Connector Direction RS-232 DTE PortChart 6. RS-485 2-Wire Device to 485DSS RS-485/422 Port RS-485/422Device Direction Terminal Blocks
Related manuals
Manual 26 pages 24.25 Kb