Rockwell-automation 2711 PANELBUILDER SOFTWARE USER MANUAL Uživatelský manuál Strana 93

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 468
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 92
Planning Your Application
Chapter 4
4-18
Each group of 4 bits represents the equivalent of 1 digit in a numeric
value display.
Example: BCD Values or States
If you configured a BCD data value to have a maximum of 16 states (2
digits), then the assigned address would be an 8-bit contiguous string
with 4 bits for each digit.
2 digits @ 4 bits each = 8 bits
If a numeric value display was configured to have a range from 00000
to 99999 (5 digits), then the assigned address would be a 20-bit
contiguous string with 4 bits for each of the 5 digits.
5 digits @ 4 bits each = 20 bits
Since a PLC word can only support 16 bits, an additional word is
required for the additional 4 bits.
When more than one PLC word is required to support the required
number of digits, all remaining digits will extend into the next higher
word. Taking another example, BCD value 123456 would be
represented in two PLC words as follows.
Table 4.G
BCD
Format
Bit Numbers 17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
Word X 3 4 5 6
Word X+1 1 2
Table 4.H shows the number of bits required for different numbers of
BCD digits:
Zobrazit stránku 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 467 468

Komentáře k této Příručce

Žádné komentáře