Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parallel Port Programming

Status
Not open for further replies.

Shadimania

Electrical
Feb 15, 2002
3
I am making a device which counts bolt coming thorugh a detector, and all this is plugged into a computer using a parallel pot, but i need to find the means of communication with the parallel port and programming isn't my strong points, anyone able to help out on how i will need to communicate with it.

ideally i wish to have a live counter on a web page which can show the number of bolts going thorugh the device at any given time. otherwise a simple way of just counting them and diplaying once all the bolts is counted is sufficaint.

anyone able to help? anything will be appreciated.
Thankyou :)
 
Replies continue below

Recommended for you

Do keyword search for &quot;parallel port&quot; <nbucska@pcperipherals.com>
 
Hi;
I have already solved a simmilar problem.
A production company wants to save a log of the amount of produced items in the main computer. A switch on the production line triggers a very simple circuit which is connected to the paralle port. Our program then saves the acquired data processes them in Excel.
I can make an ActiveX so you can easily use it in your web page.
If you are still intrested on the subject let me know.

senobars@yahoo.com
 
you can go in for plc.
have photo sensor to trace the movement of bolt.
photo sensor can be connected to PLC
write programme for counting and store the value in a data register.
From PC write communication software to read the data register value of plc.
this can be done on serial port.
 
Ok we have completed this project. we did it using switches in a chute that are hit when nuts fall through. when a switch is triggered it sends a signal down the parallel port to a program we made. it was in vidual basics using the library win95io.dll (doesn't work on NT machines but use compatibility option in XP)

worked 100% effeciantly in the end :))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor