Rockwell-automation 1770-KF2 Data Highway or Highway Plus Interface Mo Manual de usuario Pagina 140

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 235
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 234 235

Comentarios a estos manuales

Sin comentarios