Rockwell-automation 1772-LP3 PLC - 2/30 Programmable Controller Progra Manual de usuario Pagina 141

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 346
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 140
Data Manipulation Instructions
Chapter 6
619
BINARY
ADDR – 125
DATA 111111111111
BCD
ADDR – The BCD number is stored in adjacent data table words 200
and 201
DATA – The industrial terminal will display 004095, the BCD
equivalent of the binary value for this example.
Figure 6.19
BinarytoBCD
Conversion Format
BINARY T
O BCD
BINARY
ADDR: 010
DATA: 000000000000
BCD
ADDR: 110- 111
DATA: 000000
010
(OV)
14
Numbers
shown are default values. Bold numbers must be replaced by userentered values. The number of default address digits initially
displayed  3, 4, or 5  will depend on the size of the data table. Initially displayed default values are governed by the I/O rack configura
tion.
BINAR
Y ADDR
:
Stores the binary number
.
BINAR
Y DA
TA :
The 12 bits of the binary number
.
BCD ADDR
:
Address where the first three digits of the BCD number are stored. The second threedigit address is where the
three leastsignificant BCD digits are stored.
BCD DA
TA :
The BCD number that is equivalent to the 12 bits of the binary data block.
OV :
Overflow bit. Set high when binary number is > 12 ones or a decimal equivalent of 004095. It is in a word where
the binary word is to be stored.
Vista de pagina 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 345 346

Comentarios a estos manuales

Sin comentarios