Jump to content

Parallel port pins controll


zero-tolerance

Recommended Posts

Hi everyone. I'm involved in a project where I'm controlling a stepping motor via a Unipolar Stepper Motor Board (manual provided on the link. I only want to controll the direction and the speed of the motor and I'm using a Hall affect detector for the zero position of the motor. (i.e. i'm basically using it as a referanc position)

http://documents.rs-components.com/rs-bin/...900766b802ee6cd

Anyway, my main concern for now is to talk to the Motor controller Board through the parallel port of my PC. I am using Windows 200 Platform (I don't think it would make a differene).

I have previously used LabView when I was involved in a different project but then I used srial port as the link with the hardware I had.

What I really need is to directly controll 3 pins of the parallel port: 1 for direction, 1 for speed and 1 for zero position. Two of the pins will be connected to the motor Board and the third one to the Hall Affect detector.

So, does anyone know how to directly access th parallel port pins through LabView.

Thank you

Link to comment

You can write to the parallel port using Out Port. Please see the examples at the locations listed below. The address of the parallel port is x378.

Parallel Port Read and Write Loop VI: labview\examples\portaccess\parallel port examples.llb

Parallel Port Additional Data Register Inputs VI: labview\examples\portaccess\parallel port examples.llb

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.