Article View: aus.computers.parallel
Article #8I need help on the parallel port
From: Sparky240
Date: Tue, 26 Mar 2002 09:22
Date: Tue, 26 Mar 2002 09:22
22 lines
2666 bytes
2666 bytes
Hello, can any one explain simply how to control a parallel port, I need to know what data values to send to the port for reading and writing, I want to connect a controller card that I built from a hobbyist's web site, this kit or project has three stepper motors X, Y and Z Axis, plus it has two relay switches one for motor start and one for coolant pump and also 8 other switches, three are X,Y and Z limit switches, one is emergency stop and the other 4 switches I am not quite sure, But I don't know how the parallel port works for reading and writing, I am using parallel port &H378 or (888), LPT1:, to send and receive data and I know that &H379 or (889) is the status port and that &H37A or (890) is the control port, I have read many articles and books on the parallel port but I am still very confused, all the information I have found is much too technical for me no body explains what values to send, plus I have tried my hand at sending and receiving data to the project but things dont make any sence to me, there seems to be to many combinations, I would have better luck at winning lotto than trying to work this out, I have been at it for many many weeks now and I am desperate, here is some info on this project, it uses a centronics connector on the controller card, D0 - D5 is connected to pins 2 - 7 and it has another wire connected to pin 13 and pins 19-30 are all grounded all the other pins are not connected, so if you could help me I would be really greatfull. Kind Regards Sparky240
Technical Details
Message-ID:
<3ca03ad7@news.comindico.com.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news.telstra.net!nsw.nnrp.telstra.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9e8f,222c11df3bd09991,start X-Google-Attributes: gidf9e8f,public X-Google-ArrivalTime: 2002-03-26 01:10:56 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news.telstra.net!nsw.nnrp.telstra.net!not-for-mail From: "Sparky240" <tuckfield@internettv.net.au> Newsgroups: aus.computers.parallel Subject: I need help on the parallel port Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Original-NNTP-Posting-Host: 203.220.97.154 Message-ID: <3ca03ad7@news.comindico.com.au> X-Original-Trace: 26 Mar 2002 20:09:43 +1000, 203.220.97.154 Organization: Comindico Australia Pty Ltd Date: Tue, 26 Mar 2002 19:52:25 +1030 NNTP-Posting-Host: 203.194.27.1 X-Complaints-To: abuse@telstra.net X-Trace: nsw.nnrp.telstra.net 1017133781 203.194.27.1 (Tue, 26 Mar 2002 20:09:41 EST) NNTP-Posting-Date: Tue, 26 Mar 2002 20:09:41 EST