beautypg.com

B.3.2 binary coded octal – Rockwell Automation 1772-LP3 PLC - 2/30 Programmable Controller Programming and Operations Manual User Manual

Page 329

background image

Number Systems

Appendix B

BĆ5

Table B.A

BCD Representation

Place Value

2

3

(8)

2

2

(4)

2

1

(2)

2

0

(1)

Decimal Equivalent

0

0

0

0

0

0

0

0

1

1

0

0

0

0

1

1

1

1

0

0

0

0

1

1

0

0

1

1

0

0

0

1

0

1

0

1

0

1

0

1

0

1

2

3

4

5

6

7

8

9

The decimal equivalent for a group of 4 binary digits is determined by
multiplying the binary digit by its corresponding place value and adding
these numbers.

Binary coded octal (BCO) uses an arrangement of 8 bits (one byte) to
represent a 3-digit octal number from 000 to 377 (Figure B.5). The 8 bits
are broken down into three groups: 2 bits, 3 bits and 3 bits.

Figure B.5

Binary Coded Octal

1

1

0

1

1

1

1

1

2

0

2

2

2

1

2

0

2

2

2

1

2

0

2

1

3

5

7

8

The octal number for each group of bits is determined by multiplying the
binary digit by its corresponding place value and adding these numbers
together (Table B.B).

B.3.2
Binary Coded Octal