Aljaz.Ogrin@email.si Razpored signalov na paralelnem / vzporednem vmesniku: ---------------------------------------------------------- konektor "DB-25" 25 Pinski konektor - zenski ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ IBM PC-AT ] (!) = velja za terminal oz. PC Biti na portih Pin Mnemonic Smer (!) Data Status Control ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1 STROBE in/out 1 F 2 Data 0 out (*) 1 T 3 Data 1 out (*) 2 T 4 Data 2 out (*) 4 T 5 Data 3 out (*) 8 T 6 Data 4 out (*) 16 T 7 Data 5 out (*) 32 T 8 Data 6 out (*) 64 T 9 Data 7 out (*) 128 T 10 ACK in 64 T 11 BUSY in 128 F 12 PEND in 32 T 13 SELECT in 16 T 14 AFEED in/out 2 F 15 ERROR in 8 T 16 INIT in/out 4 T 17 SLCTIN in/out 8 F 18 GND ground . . . . 25 GND (*) = - starejse kartice: out - novejse kartice, on-board vmesniki: in/out bit 1 = bit 0 . bit 64 = bit 6 bit 128 = bit 7 T / F : T (true) bit ni negiran F ( false) bit je hardwersko negiran (****************************************************************************) Standardni naslovi: LPT1: Data = 378h Status = 379h Control = 37Ah LPT2: Data = 278h Status = 279h Control = 27Ah LPT2: Data = 3BCh Status = 3BDh Control = 3BEh (****************************************************************************) Podatki iz kataloga: ------------------------------------------------------------------------------- 0278-027A ---- parallel printer port, same as 0378 and 03BC 0278 w data port 0279 r/w status port 027A r/w control port ------------------------------------------------------------------------------- 0378-037A ---- parallel printer port, same as 0278 and 03BC 0378 w data port 0379 r/w status port 037A r/w control port ------------------------------------------------------------------------------- 03BC-03BE ---- parallel printer port, same as 0278 and 0378 03BC w data port 03BD r/w status port bit 7 = 0 busy bit 6 = 0 acknowledge bit 5 = 1 out of paper bit 4 = 1 printer is selected bit 3 = 0 error bit 2 = 0 IRQ has occurred bit 1-0 reserved 03BE r/w control port bit 7-5 reserved bit 4 = 1 enable IRQ bit 3 = 1 select printer bit 2 = 0 initialize printer bit 1 = 1 automatic line feed bit 0 = 1 strobe ------------------------------------------------------------------------------- ############################################################################## Povezave preko paralelnega vmesnika za prenos podatkov za programe: * INTERLNK, INTERSVR (DOS 6.xx) * WIN 95 - direktna povezava * FastWire 2 (FW2.EXE) ----------------------------------------- Stevilke pinov na enem in drugem koncu kabla: ( na obeh straneh je DB-25 moski konektor) 1 2 ---------- 15 3 ---------- 13 4 ---------- 12 5 ---------- 10 6 ---------- 11 7 8 9 10 ---------- 5 11 ---------- 6 12 ---------- 4 13 ---------- 3 14 15 ---------- 2 . . . 24 ---------- 24 25 ---|------ 25 | oklop kabla (pletenica) END.