Lantronix UDS1100 manual Converting Binary to Hexadecimal, Conversion Table, Decimal Binary Hex

Page 77

B: 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

 

 

 

 

 

 

UDS1100 User Guide

77

Image 77
Contents UDS1100 User Guide Contacts Copyright & TrademarkRevisions Date Rev Comments 900-417Contents Setup Mode Server Configuration Troubleshooting and Contact Information Tables ContentsChapter Summary Using This GuidePurpose and Audience Additional Documentation Using This GuideApplication Examples IntroductionApplications Introduction Protocol Support Additional FeaturesConfiguration Methods Sample Hardware Address Product Information LabelGetting Started Package ContentsTo install the unit Installing the UDSHardware Address Required InformationIP Address IP Address Subnet Mask GatewayInstalling DeviceInstaller Assigning the IP Address DeviceInstallerAssigning an IP Address Select Assign a specific IP address and click NextViewing the Current Configuration Accessing the UDS1100 Using DeviceInstallerTo view the units current settings Adding the Unit to the Manage ListIP Address on Next Step Assigning the IP Address Serial Port LoginGetting Started Accessing UDS1100 Using DeviceInstaller Configuration Using Web-ManagerLantronix Web-Manager Network ConfigurationStatic IP Address Configuration Automatic IP Address ConfigurationTo specify how data will be transmitted Server ConfigurationEthernet Configuration Advanced To configure the UDS1100’s device server settingsServer Configuration Retry Settings Host List ConfigurationTo configure the host list Serial Settings Channel 1 ConfigurationTo configure the channel’s serial settings Host InformationPack Control Port SettingsChannel To configure a channel’s TCP settings Connection Settings TCPFlush Input Buffer Serial to Network Flush Output Buffer Network to SerialConnect Protocol Connect Mode Passive ConnectionCommon Options Connect Mode Active ConnectionEndpoint Configuration To configure a channel’s UDP settings Connection Settings UDPDisconnect Mode UDP Connection Settings Datagram ModeApply Factory Defaults Apply SettingsAccessing Setup Mode Configuration via Telnet or Serial Port Setup ModeTelnet Connection To establish a Telnet connectionSerial Port Connection Exiting Setup ModeTo exit setup mode Server Configuration Option Setup Mode Server ConfigurationIP Address Set Gateway IP AddressNetmask Number of Bits for Host Part Change Telnet Configuration PasswordDhcp Name Network Class Host Bits NetmaskSetup Mode Server Configuration Baudrate Setup Mode Channel ConfigurationChannel 1 Option Mode Option Interface ModeCommon I/F Mode Setting Binary FlowPort Number Connect ModeFlow Control Option Hex Port Numbers Reserved forIncoming Connection Connect Mode OptionActive Startup ResponseManual Connection Address Example Datagram Type Modem ModeTo enable the hostlist No Carrier MessageMeaningATD Modem Mode Function CommandAuto Increment Source Port Send the Escape Sequence +++ in Modem ModeRemote IP Address Remote PortDisconnect Mode Option Flush Mode Buffer FlushingOption Pack ControlSend Characters DisConnTime Inactivity TimeoutPacking Interval Trailing CharactersTelnet Terminal Type Channel Port PasswordTCP Keepalive time in seconds Setup Mode Advanced SettingsExpert Settings Option Disable Monitor Mode at bootup ARP Cache timeout in secondsEnable alternate MAC Http Port NumberDisable Snmp Security Settings OptionDisable Telnet Setup Snmp Community NameDisable Port 77FE Hex Disable Tftp Firmware UpdateDisable Web Server Disable Web SetupChannel 1 Configuration Defaults Default Settings OptionExpert Settings Defaults Security Settings DefaultsSetup Mode Advanced Settings Using Tftp Graphical User Interface Firmware UpgradesObtaining Firmware Reloading Firmware ROM FileTo recover firmware Using Tftp Command Line InterfaceFirmware Upgrades Entering Monitor Mode Using the Serial Port Monitor ModeEntering Monitor Mode Using the Network Port Monitor Mode CommandsResponse Meaning Command Command Name FunctionLEDs Troubleshooting and Contact InformationProblem/Message Reason Solution Problems and Error MessagesLock on Technical Support Europe, Middle East, and Africa Technical SupportSerial Port Serial Connector PinoutsConnections and Pinouts Modem Cable DB25 Female Interface RS422 4 wire modeNull Modem Cable Lantronix Part No Network PortPower Plug Ethernet Connector PinoutsCategory Description Technical SpecificationsTechnical Specifications AutoIP Alternative Ways to Assign an IP AddressTo assign a temporary IP address ARP and TelnetDecimal Binary Hex Converting Binary to HexadecimalConversion Table Scientific Calculator Warranty Compliance and Disclaimer Disclaimer and Supplementary Information Index UDS1100 User Guide