Using bcd data input – Rockwell Automation 2706-DXX Dataliner Message Display DL5 Series User Manual

Page 55

Advertising
background image

2706-UM001A-US-P

Using the Parallel Port

7-5

Using BCD Data Input

The fourteen data lines can also be used to input BCD formatted data. The
BCD numbering system uses a group of four data lines to represent a single
decimal digit. The table below shows the value of each data line. Selecting
the BCD run mode is explained in Chapter 8.

BCD Values of the Data Lines

Control functions of the strobe lines are the same for BCD data input as for
binary data input.

For example, assume the following logic (positive logic) levels appear on
the data lines.

Adding the values of the individual data lines provides the value being
entered, in this example 1,145. Again, D14 is high (voltage present) and
D15 is low (ground level), so this number is interpreted as variable data.

Data Line

Value When On

(True)

Data Line

Value When On

(True)

D0

1

D8

100

D1

2

D9

200

D2

4

D10

400

D3

8

D11

800

D4

10

D12

1,000

D5

20

D13

2,000

D6

40

D14

Strobe Line

D7

80

D15

Strobe Line

Data Line:

D0

D1

D2

D3

D4

D5

D6

D7

D8

D9

D10

D11

D12

D13

D14

D15

Logic Level:

1

0

1

0

0

0

1

0

1

0

0

0

1

0

1

0

Value:

1

0

4

0

0

0

40

0

100

0

0

0

1,000

0

0

0

Advertising