User's Manual
Table Of Contents
- Figures
- Tables
- Using This Guide
- Introduction
- Installation and Hardware
- XPress DR+W
- Using DeviceInstaller
- Configuration Using Web Manager
- Configuration Using Telnet or Serial Port (Setup Mode)
- Setup Mode: Server Configuration
- Setup Mode: Channel Configuration
- Channel 1 (Option 1) and Channel 2 (Option 2)
- Baudrate
- I/F (Interface) Mode
- Flow
- Port Number
- Connect Mode
- Send the Escape Sequence (+++) in Modem Mode
- Auto Increment Source Port
- Remote IP Address
- Remote Port
- DisConnMode
- Flush Mode (Buffer Flushing)
- Pack Control
- DisConnTime (Inactivity Timeout)
- Send Characters
- Telnet Terminal Type
- Channel (Port) Password
- WLAN Settings (XPress DR+W Only)
- Setup Mode: Advanced Settings
- Firmware Upgrades
- Monitor Mode
- Troubleshooting and Technical Support
- Technical Specifications
- Lantronix Cables and Adapters
- Alternative Methods of Assigning an IP Address
- Binary to Hexadecimal Conversions
- Compliance Information
- Warranty
XPress DR+ User Guide 108
Appendix D: Binary to Hexadecimal Conversions
Many of the unit’s configuration procedures require you to assemble a series of options
(represented as bits) into a complete command (represented as a byte).
The resulting binary value must be converted to a hexadecimal representation.
Converting Binary to Hexadecimal
Following are two simple ways to convert binary numbers to hexadecimal notation.
Conversion Table
Hexadecimal digits have values ranging from 0 to F, which are represented as 0-9, A (for
10), B (for 11), etc. To convert a binary value (for example, 0100 1100) to a hexadecimal
representation, treat the upper and lower four bits separately to produce a two-digit
hexadecimal number (in this case, 4C). Use the following table to convert values from
binary to hexadecimal.
Decimal Binary Hex Decimal Binary Hex
0 0000 0 8 1000 8
1 0001 1 9 1001 9
2 0010 2 10 1010 A
3 0011 3 12 1100 C
4 0100 4 13 1101 D
5 0101 5 14 1110 E
6 0110 6 15 1111 F
7 0111 7
Scientific Calculator
Another simple way to convert binary to hexadecimals is to use a scientific calculator,
such as the one available on Windows’ operating systems. For example:
1. On the Windows’ Start menu, click ProgramsÆAccessoriesÆCalculator.
1. On the View menu, select Scientific. The scientific calculator displays.
2. Click Bin (Binary), and type the number you want to convert.