not working pin out parallel port

More
9 years 1 month ago #98495 by elmo02
Welcome, I have a problem with pinout in parallel port. In test command hal first i unlink pin 14 out and next a set pin on "1" so i should have on pin 14 voltage 5v but this didn't work, i checked on everthing set parallel port in bios on mainboard. I add that engienes turn normal, and on pin dir pul is voltage.....

Please Log in to join the conversation.

More
9 years 1 month ago #98521 by andypugh
Pin 14 can be input or output.
Which mode have you set the port to? The LinuxCNC parallel port driver defaults to OUT
linuxcnc.org/docs/2.7/html/hal/parallel-port.html
But perhaps your config sets it to IN?

As a bidirectional pin it is just about possible that the pin needs a pull-up. Typically parallel port pins work best when wired as a (low current) switch-to-ground device.

Please Log in to join the conversation.

More
9 years 1 month ago #98536 by elmo02
I think that hal config is doesn't metter because i use this wiki.linuxcnc.org/cgi-bin/wiki.pl?TroubleShooting 15 point, so i delete all connection in hal and set value 1. I checked not only on 14 pin 17 and 1 also doesnt' working.... i haven't idea

Please Log in to join the conversation.

More
9 years 1 month ago #98538 by Todd Zuercher
Do you have the right parallel port address?
What does your "loadrt hal_parport" line look like in your hal file?
What do you get output, when you run this comand "cat /proc/ioports | grep parport" in a terminal?
I get this on on of my machines with 3 parallel ports.
Code:
$ cat /proc/ioports | grep parport 0378-037a : parport0 e030-e032 : parport2 e050-e052 : parport1
The number 0378 is the address for the first parallel port (on the mother board).
e050 is the 2nd port (on a PCI parallel port card).
And e030 is the 3rd port (also on the PCI card.)

Please Log in to join the conversation.

More
9 years 1 month ago #98539 by elmo02
Parallel port is right because stepper motor is turnning well but i haven't outputs: turn on spindle , left right coolant and other outputs when i set value 1

Please Log in to join the conversation.

More
9 years 1 month ago #98556 by andypugh
I still want to know if the port is set to out or in.

Please Log in to join the conversation.

More
9 years 1 month ago #98588 by elmo02
port is set to out in hal

Please Log in to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum