Data table formats, Appendix, Digit binary coded decimal (bcd) – Rockwell Automation 1771-IXE/D Thermocouple/Millivolt Input Module User Manual User Manual

Page 63

Advertising
background image

Appendix

C

Publication 1771-6.5.130 Ć May 1999

Data Table Formats

The 4–digit BCD format uses an arrangement of 16 binary digits to
represent a 4–digit decimal number from 0000 to 9999 (NO TAG).
The BCD format is used when the input values are to be displayed
for operator viewing. Each group of four binary digits is used to
represent a number from 0 to 9. The place values for each group of
digits are 2

0

, 2

1

, 2

2

and 2

3

(NO TAG). The decimal equivalent for a

group of four binary digits is determined by multiplying the binary
digit by its corresponding place value and adding these numbers.

Figure C.1

4-Digit Binary Coded Decimal

0 X 2

3

= 0

0 X 2

2

= 0

0 X 2

1

= 0

1 X 2

0

= 1

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

0

0

0

1

0

0

1

0

0

1

1

1

1

0

0

1

1

2

3

9

10

1

2

3

9

12955-I

4-Digit Binary Coded

Decimal (BCD)

Advertising