Binary To Hex Conversion; Conversion Table; Scientific Calculator - GridConnect Device Server MSS 485 User Manual

Rs422/485 serial to ethernet adapter
Table of Contents

Advertisement

7. Binary to Hex Conversion

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.
Following are two simple ways to convert binary numbers to hexadecimals.

7.1.1 Conversion Table

Hexadecimal digits have values ranging from 0 to F, which are represented as 09, 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
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

7.1.2 Scientific Calculator

Another simple way to convert binary to hexadecimals is to use a scientific calculator, such as the one
available on 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 displays.
3. Click Bin (Binary), and type the number to convert.
NET485 User Guide
Binary
Hex
0000
0
0001
1
0010
2
0011
3
0100
4
0101
5
0110
6
0111
7
1000
8
1001
9
1010
A
1011
B
1100
C
1101
D
1110
E
1111
F
Tables
7-1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Device Server MSS 485 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Net485

Table of Contents