Pengontrol Alat Berbasis Port Paralel

This kit is the application of parallel port as a controller device using relayboard. The following block diagram:Pin DB25 Centro SPP Signal Arah In/out Register Hardware di invert
1 1 nStrobe In/Out Control Ya2 2 Data 0 Out Data
3 3 Data 1 Out Data
4 4 Data 2 Out Data
5 5 Data 3 Out Data
6 6 Data 4 Out Data
7 7 Data 5 Out Data
8 8 Data 6 Out Data
9 9 Data 7 Out Data
10 10 nAck In Status
11 11 Busy In Status Ya
12 12 Paper-Out / Paper-End In Status
13 13 Select In Status
14 14 nAuto-Linefeed In/Out Control Ya
15 32 nError / nFault In Status
16 31 nInitialize In/Out Control
17 36 nSelect-Printer / nSelect-In In/Out Control Ya
18 – 25 19-30 Ground Gnd
If you want to control in Visual Basic. Net 2005, you can use as a provider inpout32.dll file functions to access I / O. Make sure if your Operating System using Windows 95 or older, use the program to grant permission Userport PC hardware access. Under this program can control the parallel port, or port ISA port addresses are set according to (378H or 300H), use the command:

Variabel_penampung = INP (& H "address") / / receive input

out (& H "address", sumber_data) / / removing data

Generally have a parallel port address 378H, while Port ISA begins from address 300H. If we want to control the parallel port using windows 1998 down, then there should be no additional programs, but if the Windows 2000 and above, use userport program that will give permission to access the port directly. You do this by copying the files userport.sys to the folder c: \ windows \ system32 \ drivers.

After that activate the program userport as follows:

Table Name the pins of parallel port DB 25 connector and the Centronics