Rockwell-automation 1770-KF2 Data Highway or Highway Plus Interface Mo Instrukcja Użytkownika Strona 140

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 235
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 139
Data Encoding and Addressing
Chapter 6
6-3
Binary Coded Decimal
PC data is often represented in binary coded decimal (BCD) form. In this
system, each group of four bits in a PC word represents one decimal
number between 0 and 9. In this way, each 16-bit word can represent a
BCD value between 0 and 9,999. Figure 6.2 shows the BCD
representation of the decimal number 239.
Figure 6.2
BCD
Representation of Decimal 239
001000111001
239
10241
0 x 2
3
= 0
0 x 2
2
= 0
1 x 2
1
= 2
0 x 2
0
= 0
0 x 2
3
= 0
0 x 2
2
= 0
1 x 2
1
= 2
1 x 2
0
= 1
1 x 2
3
= 8
0 x 2
2
= 0
0 x 2
1
= 0
1 x 2
0
= 1
2
3
9
10
Przeglądanie stron 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 234 235

Komentarze do niniejszej Instrukcji

Brak uwag