C - number systems, Number systems – Rockwell Automation 1772-L8_LW_LWP_LX_LXP,D17726.5.8 User Manual User Manual

Page 414

Advertising
background image

Appendix

C

C-1

Number Systems

This appendix describes the four numbering systems the processor uses:

decimal
octal
binary
hexadecimal

These numbering systems differ by their number sets and place values.

Timers, counters and math operations word values use the decimal
numbering system. This is a numbering system made up of ten digits: the
numbers 0 through 9 (Table C.A). All decimal numbers are composed of
these digits. The value of a decimal number depends on the digits used
and the place value of each digit.

Table C.A

Numbering System Conversion Chart

Hexadecimal

Binary

Decimal

Octal

0

1

2

3

4

5

6

7

8

9

A

B

C

D

E

F

0000

0001

0010

0011

0100

0101

0110

0111

1000

1001

1010

1011

1100

1101

1110

1111

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

000

001

002

003

004

005

006

007

010

011

012

013

014

015

016

017

Each place value in a decimal number represents a power of ten starting
with ten raised to the zero power (10

0

=1) (Figure C.1). You can compute

the decimal value of a number by multiplying each digit by its
corresponding place value and adding these numbers together.

Objectives

Decimal Numbering System

Advertising