not working pin out parallel port
04 Sep 2017 16:10 #98495
by elmo02
not working pin out parallel port was created 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 or Create an account to join the conversation.
05 Sep 2017 09:50 #98521
by andypugh
Replied by andypugh on topic not working pin out parallel port
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.
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 or Create an account to join the conversation.
05 Sep 2017 17:19 #98536
by elmo02
Replied by elmo02 on topic not working pin out parallel port
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 or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
05 Sep 2017 18:23 #98538
by Todd Zuercher
Replied by Todd Zuercher on topic not working pin out parallel port
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.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.)
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.
$ cat /proc/ioports | grep parport
0378-037a : parport0
e030-e032 : parport2
e050-e052 : parport1
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 or Create an account to join the conversation.
05 Sep 2017 18:33 #98539
by elmo02
Replied by elmo02 on topic not working pin out parallel port
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 or Create an account to join the conversation.
05 Sep 2017 23:59 #98556
by andypugh
Replied by andypugh on topic not working pin out parallel port
I still want to know if the port is set to out or in.
Please Log in or Create an account to join the conversation.
06 Sep 2017 16:58 #98588
by elmo02
Replied by elmo02 on topic not working pin out parallel port
port is set to out in hal
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds