UDS100-B Lantronix, UDS100-B Datasheet - Page 59

no-image

UDS100-B

Manufacturer Part Number
UDS100-B
Description
Ethernet Modules & Development Tools Single Port
Manufacturer
Lantronix
Type
Serial to Ethernetr
Datasheet

Specifications of UDS100-B

Data Rate
300 bps to 115.2 Kbps
Product
Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
B
B
:
:
B
B
Converting Binary to Hexadecimal
i
i
n
n
a
a
r
r
y
y
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 how to convert binary values to hexadecimals or to look up
values in the tables of configuration options in hexadecimal notation. The tables
include:
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.
t
t
o
o
H
H
Connect Mode Options
Disconnect Mode Options
Flush Mode (Buffer Flushing) Options
Interface Mode Options
Pack Control Options
e
e
x
x
a
a
d
d
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Decimal
e
e
c
c
i
i
m
m
a
a
Binary
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1100
1101
1111
1010
1011
1110
l
l
59
C
C
o
o
n
n
Hex
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
v
v
e
e
r
r
s
s
i
i
o
o
n
n
s
s

Related parts for UDS100-B