Résumé du contenu de la page N° 1
Not Recommended for New Installations.
Please contact Technical Support for more information.
Parallel Printer Card
Model PIOC
Documentation Number PIOC2595
This product
Designed and Manufactured
In Ottawa, Illinois
USA
of domestic and imported parts by
B&B Electronics Mfg. Co. Inc.
707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 433-5105
Internet:
http://www.bb-elec.com
orders@bb-elec.com
support@bb-elec.com
Résumé du contenu de la page N° 2
Overview The Parallel Printer Card (Model PIOC) is a bi-directional parallel port for a standard IBM PC or compatible. The PIOC is single port card that can be used as a printer interface or as a general input/output port for any device. The base port address of the card can be set for any address from 0 to 3FC hexadecimal. This allows the card to be located at the standard parallel port addresses, as well as any other unused address. The PIOC can have up to 12 digital TTL compati
Résumé du contenu de la page N° 3
Table 1 - Printer Functions PIOC DB-25 Printer Connector 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 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
Résumé du contenu de la page N° 4
Table 2 - DIP Switch Functions SW1 I/O Address 1 A9 2 A8 3 A7 4 A6 5 A5 6 A4 7 A3 8 A2 Table 3 - DIP Switch Weights SW1 1 2 3 4 5 6 7 8 X X A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Address: 2 1 8 4 2 1 8 4 2 1 Weight: 1 1 0 1 1 1 1 0 0 0 LPT1 (378h): 1 0 0 1 1 1 1 0 0 0 LPT2 (278h): NOTE: A "1" indicates that the switch is ON and a "0"indicates that the switch is OFF. Documentation Number PIOC2595 Manual 3 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH
Résumé du contenu de la page N° 5
Table 4 - Hardware I/O Map of AT Class Machines Hex Address Address Function in AT Class Machines 000-01F DMA controller #1 (8237A-5) 020-03F interrupt controller #1 (8259A) timer (8254) 040-05F 060-06F keyboard (8042) NMI - non maskable interrupt & CMOS RAM 070-07F 080-09F DMA page register (74LS612) 0A0-0BF interrupt controller #2 (8259A) DMA controller #2 (8237A) 0C0-0DF 0F0-0FF 80287 math coprocessor hard disk 1F0-1F8 200-20F game port joystick controller 258-25F Intel Ab
Résumé du contenu de la page N° 6
Using the PIOC as I/O The PIOC may also be used as a general I/O device. The Base Register has eight bi-directional lines. The direction of these lines is based on bit 5 of the Control Register. If bit 5 of the Control Register is a “1”, then the lines of the Base Register are defined as inputs. If bit 5 of the Control Register is a “0”, then these lines are defined as outputs (this is default state after “boot up”). If the Base Register is being used as outputs, the states of the l
Résumé du contenu de la page N° 7
Table 5 - Register Functions and Pinouts BIT Base (378H) Status (379H) Control (37AH) OUTPUT INPUT OUTPUT INPUT OUTPUT INPUT 0 2 2 X X 1 1 1 3 3 X X 14 14 2 4 4 X X 16 16 3 5 5 X 15 17 17 See Note 2 See Note2 4 6 6 X 13 See Note 3 See Note 3 5 7 7 X 12 6 8 8 X 10 X X 7 9 9 X 11 X X NOTE 1: An "X" means no connection to any DB-25 pins. NOTE 2: Bit 4 of the Control Register (37AH) as an output is used to control IRQ7. When this bit is high, IRQ7 is enabled and when thi
Résumé du contenu de la page N° 8
Appendix A SW1:.........1 .....2 . ..... 3..... 4........5..... 6..... 7........8 .... X.....X Addr.: .....A9 .. A8 . ...A7...A6..... A5...A4...A3..... A2 ..A1...A0 Weight:.....2 .....1 . ..... 8..... 4........2..... 1..... 8........4 .... 2..... 1 000 ...........0.....0. ..... 0.....0........0..... 0.....0........0 .... 0..... 0 004 ...........0.....0. ..... 0.....0........0..... 0.....0........1 .... 0..... 0 008 ...........0.....0. ..... 0.....0........0..... 0.....1........0 ....
Résumé du contenu de la page N° 9
SW1:.........1 .....2 . ..... 3..... 4........5..... 6..... 7........8 .... X.....X Addr.: .....A9 .. A8 . ...A7...A6..... A5...A4...A3..... A2 ..A1...A0 Weight:.....2 .....1 . ..... 8..... 4........2..... 1..... 8........4 .... 2..... 1 080 ...........0.....0. ..... 1.....0........0..... 0.....0........0 .... 0..... 0 084 ...........0.....0. ..... 1.....0........0..... 0.....0........1 .... 0..... 0 088 ...........0.....0. ..... 1.....0........0..... 0.....1........0 .... 0..... 0 08C
Résumé du contenu de la page N° 10
SW1:.........1 .....2 . ..... 3..... 4........5..... 6..... 7........8 .... X.....X Addr.: .....A9 .. A8 . ...A7...A6..... A5...A4...A3..... A2 ..A1...A0 Weight:.....2 .....1 . ..... 8..... 4........2..... 1..... 8........4 .... 2..... 1 100 ...........0.....1. ..... 0.....0........0..... 0.....0........0 .... 0..... 0 104 ...........0.....1. ..... 0.....0........0..... 0.....0........1 .... 0..... 0 108 ...........0.....1. ..... 0.....0........0..... 0.....1........0 .... 0..... 0 10C
Résumé du contenu de la page N° 11
SW1:.........1 .....2 . ..... 3..... 4........5..... 6..... 7........8 .... X.....X Addr.: .....A9 .. A8 . ...A7...A6..... A5...A4...A3..... A2 ..A1...A0 Weight:.....2 .....1 . ..... 8..... 4........2..... 1..... 8........4 .... 2..... 1 180 ...........0.....1. ..... 1.....0........0..... 0.....0........0 .... 0..... 0 184 ...........0.....1. ..... 1.....0........0..... 0.....0........1 .... 0..... 0 188 ...........0.....1. ..... 1.....0........0..... 0.....1........0 .... 0..... 0 18C
Résumé du contenu de la page N° 12
SW1:.........1 .....2 . ..... 3..... 4........5..... 6..... 7........8 .... X.....X Addr.: .....A9 .. A8 . ...A7...A6..... A5...A4...A3..... A2 ..A1...A0 Weight:.....2 .....1 . ..... 8..... 4........2..... 1..... 8........4 .... 2..... 1 200 ...........1.....0. ..... 0.....0........0..... 0.....0........0 .... 0..... 0 204 ...........1.....0. ..... 0.....0........0..... 0.....0........1 .... 0..... 0 208 ...........1.....0. ..... 0.....0........0..... 0.....1........0 .... 0..... 0 20C
Résumé du contenu de la page N° 13
SW1:.........1 .....2 . ..... 3..... 4........5..... 6..... 7........8 .... X.....X Addr.: .....A9 .. A8 . ...A7...A6..... A5...A4...A3..... A2 ..A1...A0 Weight:.....2 .....1 . ..... 8..... 4........2..... 1..... 8........4 .... 2..... 1 280 ...........1.....0. ..... 1.....0........0..... 0.....0........0 .... 0..... 0 284 ...........1.....0. ..... 1.....0........0..... 0.....0........1 .... 0..... 0 288 ...........1.....0. ..... 1.....0........0..... 0.....1........0 .... 0..... 0 28C
Résumé du contenu de la page N° 14
SW1:.........1 .....2 . ..... 3..... 4........5..... 6..... 7........8 .... X.....X Addr.: .....A9 .. A8 . ...A7...A6..... A5...A4...A3..... A2 ..A1...A0 Weight:.....2 .....1 . ..... 8..... 4........2..... 1..... 8........4 .... 2..... 1 300 ...........1.....1. ..... 0.....0........0..... 0.....0........0 .... 0..... 0 304 ...........1.....1. ..... 0.....0........0..... 0.....0........1 .... 0..... 0 308 ...........1.....1. ..... 0.....0........0..... 0.....1........0 .... 0..... 0 30C
Résumé du contenu de la page N° 15
SW1:.........1 .....2 . ..... 3..... 4........5..... 6..... 7........8 .... X.....X Addr.: .....A9 .. A8 . ...A7...A6..... A5...A4...A3..... A2 ..A1...A0 Weight:.....2 .....1 . ..... 8..... 4........2..... 1..... 8........4 .... 2..... 1 380 ...........1.....1. ..... 1.....0........0..... 0.....0........0 .... 0..... 0 384 ...........1.....1. ..... 1.....0........0..... 0.....0........1 .... 0..... 0 388 ...........1.....1. ..... 1.....0........0..... 0.....1........0 .... 0..... 0 38C
Résumé du contenu de la page N° 16
NOTE 1: The addresses marked with an "*" are the addresses normally associated with LPT1 and LPT2. 378 (and sometimes 3BCh) is used as LPT1 and 278h is usually used with LPT2. NOTE 2: The last two bits (A0 and A1), marked with an "X" on SW1, are not used. NOTE 3: A "1" indicates that the switch is ON and a "0" indicates that the switch is OFF. Documentation Number PIOC2595 Manual 15 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815