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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 235
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 138
Data Encoding and Addressing
Chapter 6
6-2
Binary
The binary number system is probably the simplest to use for computer
and PC applications because it is the most natural way to represent data
bits. However, since the binary system uses only the digits 0 and 1, it is
cumbersome to show values in binary format.
Each digit in a binary number has a certain place value expressed as a
power of 2. You can calculate the decimal equivalent of a binary number
by multiplying each binary digit by its corresponding place value and then
adding the results of the multiplications. Figure 6.1 shows the binary
representation of the decimal number 239.
Figure 6.1
Binary
Numbers
11101111
10240
128
64
32
8
4
2
1
1 x 2
7
= 128
1 x 2
6
= 64
1 x 2
5
= 32
0 x 2
4
= 0
1 x 2
3
= 8
1 x 2
2
= 4
1 x 2
1
= 2
1 x 2
0
= 1
239
10
11101111
2
= 239
10
2
Vista de pagina 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 234 235

Comentarios a estos manuales

Sin comentarios