Lantronix 900-653-R manual Appendix E Binary to Hexadecimal Conversions, Conversion Table

Page 79

Appendix E: 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.

Use this chapter to learn to convert binary values to hexadecimals or to look up hexadecimal values in the tables of configuration options. The tables include:

Command Mode (serial string sign-on message)

AES Keys

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.

Scientific Calculator

Another simple way to convert binary to hexadecimal is to use a scientific calculator, such as the one available on the Windows operating systems. For example:

1.On the Windows Start menu, click Programs -> Accessories -> Calculator.

2.On the View menu, select Scientific. The scientific calculator appears.

3.Click Bin (Binary), and type the number you want to convert.

Table E-1 Binary to Hexadecimal

Conversion

Decimal

Binary

Hex

 

 

 

0

0000

0

 

 

 

1

0001

1

 

 

 

2

0010

2

 

 

 

3

0011

3

 

 

 

4

0100

4

 

 

 

5

0101

5

 

 

 

6

0110

6

 

 

 

7

0111

7

 

 

 

8

1000

8

 

 

 

9

1001

9

 

 

 

10

1010

A

 

 

 

11

1011

B

 

 

 

12

1100

C

 

 

 

13

1101

D

 

 

 

14

1110

E

 

 

 

15

1111

F

 

 

 

xDirect User Guide

79

Image 79
Contents User Guide Disclaimer WarrantyCopyright & Trademark ContactsUsing DeviceInstaller Table of ContentsUsing this Guide Installation of xDirectConfiguration Via Telnet or Serial Port Setup Mode Configuration Using Web ManagerSetup Mode Channel Configuration Setup Mode Server ConfigurationFirmware Upgrades Setup Mode Advanced SettingsMonitor Mode Appendix F Compliance Appendix a Troubleshooting and Contact InfoAppendix B Connections and Pinouts Appendix E Binary to Hexadecimal ConversionsSerial Tunneling Example List of FiguresList of Tables Purpose and Audience Using this GuideChapter Summary Document Description Additional DocumentationIntroduction Key FeaturesApplications Introduction Configuration Methods Additional FeaturesProtocol Support Product Label Product Information LabelPackage Contents Installation of xDirectInstalling the xDirect Hardware Address Required InformationIP Address Assigning an IP Address Using DeviceInstallerInstalling DeviceInstaller To install DeviceInstallerXDirect Configuration in DeviceInstaller Accessing the xDirect Using DeviceInstallerViewing the Current Configuration To view the units current settingsType Supports Configurable PinsComments Device FamilyNext Step Assigning the IP Address Serial Port LoginAccessing xDirect Using DeviceInstaller Configuration Using Web ManagerConfiguration Using Web Manager To assign an IP address automatically Network ConfigurationNetwork Mode Automatic IP Address ConfigurationTo assign an IP address manually Static IP Address ConfigurationEthernet Configuration Select Use the following IP configurationTo configure the xDirect device server settings Server ConfigurationTimeout ms Monitor Mode @ BootupCPU Performance Mode Config Server PortRetry Counter Host List ConfigurationTo configure the host list Retry TimeoutSerial Settings Channel 1 ConfigurationTo configure the channel’s serial settings Parity Enable PackingBaud Rate Data BitsTo configure a channel’s TCP settings Connection Settings TCPAccept Incoming Pass Through Password RequiredModem Mode Modem Escape SequenceTo configure a channel’s UDP settings Connection Settings UDPUse Broadcast Datagram TypeDevice Address Table Apply Defaults Apply SettingsTo establish a Telnet connection Configuration Via Telnet or Serial Port Setup ModeAccessing Setup Mode Telnet ConnectionPassword Press Enter for Setup Mode Two options through which to exit setup mode Exiting Setup ModeSerial Port Connection IP Address Setup Mode Server ConfigurationServer Configuration Option BootP/DHCP/AutoIP optionsStandard IP Network Netmasks Set Gateway IP AddressNetmask Number of Bits for Host Part Set DNS Server IP AddressDhcp Name Change Telnet Configuration PasswordChannel 1 Option Setup Mode Channel ConfigurationBaudrate Flow Interface ModeInterface Mode Options Common Interface Mode SettingsReserved Port Numbers Connect ModePort Number Flow Control OptionsConnect Mode Option Connect Mode OptionsIncoming Connection Active Startup ResponseManual Connection Address Example Connection Host List Option HostlistC0.0.0.0/0 Autostart AutomaticDirected UDP Modem ModeTo enable the hostlist Datagram TypeMessage Meaning Modem Mode MessagesShow IP Address after Ring Send the Escape Sequence +++ in Modem Mode10 Modem Mode Commands Modem Mode Function CommandRemote Port Disconnect Mode DisConnModeAuto Increment Source Port Remote IP Address11 Disconnect Mode Options Flush Mode Buffer Flushing12 Flush Mode Options Send Characters Pack ControlPacking Interval Trailing CharactersTelnet Terminal Type DisConnTime Inactivity TimeoutChannel Port Password Send CharactersTCP Keepalive Time In Seconds Setup Mode Advanced SettingsExpert Settings Option ARP Cache Timeout In SecondsSecurity Settings Option Disable Telnet Setup Disable SnmpSnmp Community Name Disable Web Setup Disable Tftp Firmware UpdateDisable Port 77FE Hex Disable Web ServerEnable Enhanced Password Default Settings OptionSetup Mode Advanced Settings Channel 1 Configuration DefaultsExpert Settings Defaults Security Settings DefaultsFirmware Files Firmware UpgradesUsing Tftp Graphical User Interface Obtaining Firmware Reloading FirmwareTo recover firmware Using Tftp Command Line InterfaceFirmware Upgrades To enter Monitor Mode locally Monitor ModeEntering Monitor Mode Using the Serial Port Entering Monitor Mode Using the Network PortG0, G1, ....,Ge, Gf Monitor Mode CommandsMonitor Mode Commands Command Command Name FunctionResponse Meaning Command Response CodesTable A-2 Status LED Appendix a Troubleshooting and Contact InfoLEDs Status LEDSerial LEDs Problems and Error MessagesRJ45 Ethernet LED Using DeviceInstaller Serial Settings on page 29 or United States Technical SupportEurope, Middle East and Africa Serial Port Pinouts Appendix B Connections and PinoutsTable B-6 Ethernet RJ45 Connector Pin-Outs Ethernet Connector PinoutsPower Jack Mini USB-B Table C-1 xDirect Technical Specifications Appendix C Technical SpecificationsCategory Description Appendix C Technical Specifications AutoIP Appendix D Alternative Ways to Assign an IP AddressTo assign a temporary IP address ARP and TelnetScientific Calculator Appendix E Binary to Hexadecimal ConversionsConverting Binary to Hexadecimal Conversion TableAppendix E Binary to Hexadecimal Conversions Electromagnetic Emissions SafetyAppendix F Compliance Manufacturer’s Name & AddressRoHS Notice Appendix F Compliance