Lantronix 900-588 manual Binary to Hexadecimal Conversions, Converting Binary to Hexadecimal

Page 73

A:Binary to Hexadecimal Conversions

Many of the unit’s configuration procedures require assembling a series of options (represented as bits) into a complete command (represented as a byte). Convert the resulting binary value to a hexadecimal representation.

Converting Binary to Hexadecimal

Following are two simple ways to convert binary numbers to hexadecimals.

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, the upper and lower four bits are treated separately, resulting in a two-digit hexadecimal number (in this case, 4C). Use the following table to convert values from binary to hexadecimal.

 

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

Micro125 User Guide

73

Image 73
Contents User Guide Technology Drive Irvine, CA 92618, USA Toll Free Phone Fax Lantronix Corporate HeadquartersTechnical Support Sales Offices Date Rev Firmware CommentsTable of Contents Configuration via Telnet or Serial Port Setup Mode Problems and Error Messages Technical Support Setup Mode Advanced SettingsList of Tables List of FiguresPurpose and Audience Using This GuideChapter Summary Remaining chapters in this guide includeAdditional Documentation DeviceInstaller Online HelpDocument Description Micro125 Integration GuideCapabilities IntroductionApplications Protocol Support Configuration MethodsAddresses and Port Numbers Hardware AddressPort Numbers IP AddressGetting Started Physically Connecting the UnitRequired Information 10/100 EthernetGetting Started Installing DeviceInstaller Using DeviceInstallerTo install DeviceInstaller Assigning an IP AddressViewing the Current Configuration Accessing the Micro125 Using DeviceInstallerDeviceInstaller provides a view of the units configuration To view the units current settingsDevice Family CommentsType Hardware AddressConfigurable Pins UpgradeableSetup Supports 230K Baud FirmwareAccessing Web-Manager Using DeviceInstaller Configuration Using Web ManagerLantronix Web-Manager Web-Manager Login WindowNetwork Mode Network ConfigurationAutomatic IP Address Configuration Select Obtain IP address automaticallySelect Use the following IP configuration Static IP Address ConfigurationEnter the following as necessary To assign an IP address manuallyEthernet Settings Description Ethernet ConfigurationTo specify how data will be transmitted Auto NegotiateTo configure the Micro125’s device server settings Server ConfigurationServer Configuration Description Settings To configure the Micro125’s host list Host List ConfigurationAdvanced Settings Description On the main menu, click HostlistRetry Settings Channel 1 and Channel 2 ConfigurationRetry Settings Description Host InformationTo configure the channel’s serial settings Serial SettingsChannel Setting Description Port Settings DescriptionPack Control Settings Description Flush Output Buffer Description Settings Flush Input Buffer Settings DescriptionWith Active Connect With Passive ConnectTo configure a channel’s TCP settings Connection Settings TCPPassive Connection Mode Description Settings Connect Protocol Setting DescriptionActive Connection Mode Description Settings Available fields, enter or modify the following informationCommon Option Settings Description Endpoint Configuration Description SettingsDisconnect Mode Settings Description To configure a channel’s UDP settings Connection Settings UDPInactivity Timeout Check EOT Ctrl-DDatagram Mode Description Settings Apply SettingsConnection Protocol Description Applying Settings Apply DefaultsAccessing Setup Mode Configuration via Telnet or Serial Port Setup ModeTelnet Connection To establish a Telnet connection Serial Port ConnectionClick OK. The following information displays To exit setup mode, utilize one of the following two options Exiting Setup ModeServer Configuration Option Setup Mode Server ConfigurationThis chapter explains how to configure the network settings IP AddressNetmask Number of Bits for Host Part Set Gateway IP AddressSet DNS Server IP Address Standard IP Network NetmasksDhcp Name Change Telnet/Web-Manager PasswordChannels Setup Mode Channel ConfigurationBaudrate Following table displays available I/F Mode options Interface ModeMode Option Common I/F Mode Setting Binary HexPort Number FlowUse the following table to select flow control options Enter Connect Mode options in hexadecimal notation Connect ModeConnect Mode Options Connect Mode OptionActive Startup ResponseC121.2.4.5/1 Manual Connection Address ExampleC28.10/12 C0.0.0.0/0Hostlist Option To enable the hostlistModem Mode Description Modem ModeDatagram Type Datagram Type DescriptionFull Verbose Command was executed without error Modem Mode MessagesMessage Meaning Network connection has been establishedModem Mode Function Command Send the Escape Sequence +++ in Modem ModeAuto Increment Source Port Show IP addr after RingRemote IP Address Remote PortDisconnect Mode Option 11. Disconnect Mode OptionsPack Control Flush Mode Buffer FlushingOption Packing Interval DisConnTime Inactivity TimeoutTrailing Characters Send CharactersSend Characters Channel Port PasswordTelnet Terminal Type Expert Settings Option Setup Mode Advanced SettingsDefault settings are listed below Device Details Settings DescriptionDisable Monitor Mode at Bootup ARP Cache Timeout in SecondsTCP Re-transmission Timeout Enable Alternate MACDisable Snmp Security Settings OptionDisable Telnet Setup Select 6 to configure security settingsDisable Port 77FE Hex Disable Tftp Firmware UpgradeDisable Web Server Disable Web SetupTo configure AES encryption on the Micro125 Enable Enhanced PasswordChannel 1 and Channel 2 Configuration Defaults Default Settings OptionExpert Settings Defaults Channel Setting Default ConfigurationSecurity Setting Default Configuration Security Settings DefaultsUsing Tftp Graphical User Interface Firmware UpgradesObtaining Firmware Reloading Firmware To download new firmware from a computerFirmware Upgrades Using Tftp Command Line InterfaceTo recover firmware Entering Monitor Mode Using the Serial Port Monitor ModeEntering Monitor Mode Using the Network Port Monitor Mode CommandsCommand Command Name Function Monitor Mode CommandsG0, G1, ....,Ge, Gf S0, S1,...,Se, SfResponse Meaning Problems and Error Messages TroubleshootingProblem/Message Reason Solution Caps Lock is not on TroubleshootingCorrectly to make a good socket Technical Support US Technical SupportPhone 800 422-7044 US Only 949 Technical Support Europe, Middle East, and AfricaConverting Binary to Hexadecimal Binary to Hexadecimal ConversionsConversion Table Decimal Binary HexScientific Calculator