Setting the address – B&B Electronics Parallel Printer Card PIOC User Manual

Page 3

Advertising
background image

2

Documentation Number PIOC2595 Manual

B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5105

Table 1 - Printer Functions


Setting the Address

The base address of the PIOC is set using a eight-position DIP

switch, SW1. The eight positions correspond to the I/O address lines
of A2 through A9 (see Table 2). If you set the a switch OFF the
corresponding I/O address line will be a ZERO and if you set it ON
the corresponding I/O address line will be a ONE. The factory
default address setting is 378h. To set the card to the 378h address
you must set A2 and 7 OFF and A3, 4, 5, 6, 8, and 9 ON. Table 3
shows the settings for LPT1 and LPT2.

PIOC DB-25
Connector

Printer
Function

1 Strobe
2

Data Bit 1

3

Data Bit 2

4

Data Bit 3

5

Data Bit 4

6

Data Bit 5

7

Data Bit 6

8

Data Bit 7

9

Data Bit 8

10 Acknowledge
11 Busy
12 Paper

End

13 Select
14 Auto

Feed

15 Error
16 Initialize

Printer

17 Select

Input

18 - 25

Ground

Advertising