Lantronix XPort AR Manual do Utilizador Página 135

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 142
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 134
XPort AR User Guide 135
B: Binary to Hexadecimal Conversions
Many of the configuration procedures require that you 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.
Table B-1 Conversion Values
Decimal Binary Hex
000000
100011
200102
300113
401004
501015
601106
701117
810008
910019
10 1010 A
11 1011 B
12 1100 C
13 1101 D
Vista de página 134

Comentários a estes Manuais

Sem comentários