Rockwell-automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command Instrukcja Użytkownika Strona 200

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 251
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 199
11–4 Data Encoding
Publication
17706.5.16 - October 1996
Hexadecimal
The hexadecimal (hex) numbering system is the most compact way
to represent binary data and allows for the easiest conversion to and
from binary. Hex uses 16 digits, numbers 0 to 9 and letters A to F.
(Letters A to F are equivalent to the decimal numbers 10 to 15,
respectively.)
Each group of four data bits represents one hex digit between 0 and
F. Thus, each 16-bit data word can have a hex value between 0 and
FFFF. Each digit of a hex number has a place value that is a
multiple of 16.
To convert a hexadecimal number to its decimal equivalent, multiply
each hexadecimal digit by its corresponding place value and add the
results of the multiplications.
Hexadecimal Representation of Decimal 423
01 A 7
00 10000 00 1 1 0 1011
0 x 2
3
= 0
0 x 2
2
= 0
0 x 2
1
= 0
0 x 2
0
= 0
0 x 2
3
= 0
0 x 2
2
= 0
0 x 2
1
= 0
1 x 2
0
= 1
1 x 2
3
= 8
0 x 2
2
= 0
1 x 2
1
= 2
0 x 2
0
= 0
0 x 2 = 0
1 x 2
2
= 4
1 x 2
1
= 2
0 x 2
0
= 1
0 x 16
3
= 0
1 x 16
2
= 256
10 x 16
1
= 160
7 x 16
0
=7
= 01A7
16
423
10
Przeglądanie stron 199
1 2 ... 195 196 197 198 199 200 201 202 203 204 205 ... 250 251

Komentarze do niniejszej Instrukcji

Brak uwag