- Posts: 45
- Thank you received: 0
Netmos 9865 pci parallel port help
- chadrat6458
- Topic Author
- Offline
- Senior Member
-
Less
More
10 years 4 months ago #75744
by chadrat6458
Netmos 9865 pci parallel port help was created by chadrat6458
New to linux. I can't seem to get my machine to move in the stepperconf or linuxcnc. I think I have the latest version installed. Attached is my lspci and hal file. I have an openbuilds ox machine. It has 2 y axis steppers. No limit or homing switches yet. I have the Netmos 9865 single port pci card.
Thanks.
Thanks.
Please Log in or Create an account to join the conversation.
10 years 4 months ago #75750
by andypugh
Replied by andypugh on topic Netmos 9865 pci parallel port help
It looks like parport_pc has found the parallel port, so rather than using cfg="0x1008 out" you could try "0 out" and let the system worry about the actual memory addresses.
However, it may be that the parallel port is working fine, but the drives are not being enabled.
Do the motor shafts turn by hand when the system is powered off? Do they still turn by hand with the system powered up? How about when LinuxCNC is turned on? I don't see any outputs in the HAL to enable the stepper drives (and that is often perfectly OK) but it would be useful to know that the drives are being enabled before looking at parport problems.
However, it may be that the parallel port is working fine, but the drives are not being enabled.
Do the motor shafts turn by hand when the system is powered off? Do they still turn by hand with the system powered up? How about when LinuxCNC is turned on? I don't see any outputs in the HAL to enable the stepper drives (and that is often perfectly OK) but it would be useful to know that the drives are being enabled before looking at parport problems.
Please Log in or Create an account to join the conversation.
- chadrat6458
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 0
10 years 4 months ago #75792
by chadrat6458
Replied by chadrat6458 on topic Netmos 9865 pci parallel port help
They are locked.
O out does not make a difference.
Keling 4030 drivers. C10 bob
O out does not make a difference.
Keling 4030 drivers. C10 bob
Please Log in or Create an account to join the conversation.
10 years 4 months ago #75810
by andypugh
So, it looks like the drives are enabled. I think the next thing to check is if the parallel port is working.
Do you have any inputs wired up the BoB? You can observe those in the "Watch" tab of halshow. (In Axis you can get to that from Machine->Show HAL Config, otherwise open a terminal window and type "halcmd loadusr halshow"
If you can see the state of some parallel port pins change when you toggle input pins then that indicates that the parallel port is configured and working. If you can't see that it doesn't necessarily mean that it isn't, though.
It might be worth switching the polarity of the step pulses, that is a check-box next to the pin in Stepconf.
Replied by andypugh on topic Netmos 9865 pci parallel port help
chadrat6458 wrote: O out does not make a difference.
Keling 4030 drivers. C10 bob
So, it looks like the drives are enabled. I think the next thing to check is if the parallel port is working.
Do you have any inputs wired up the BoB? You can observe those in the "Watch" tab of halshow. (In Axis you can get to that from Machine->Show HAL Config, otherwise open a terminal window and type "halcmd loadusr halshow"
If you can see the state of some parallel port pins change when you toggle input pins then that indicates that the parallel port is configured and working. If you can't see that it doesn't necessarily mean that it isn't, though.
It might be worth switching the polarity of the step pulses, that is a check-box next to the pin in Stepconf.
Please Log in or Create an account to join the conversation.
10 years 4 months ago - 10 years 4 months ago #75818
by joe
Replied by joe on topic Netmos 9865 pci parallel port help
That's my configuration too - C10 with 3x4030s. I got lazy and plugged both y into one driver instead of trying to configure the slave axis.
It's been a couple of years but I remember having the same problems at first - motors locked when I powered the board, but couldn't talk to it with the computer. I think it turned out to be my wiring between the driver and the motors was off, or I'd messed up one of the (2?) pull up/down switches on the C10. If you want to post a pic or description of how you've wired it, I'll take it out to the workshop and open mine up for comparison.
It's been a couple of years but I remember having the same problems at first - motors locked when I powered the board, but couldn't talk to it with the computer. I think it turned out to be my wiring between the driver and the motors was off, or I'd messed up one of the (2?) pull up/down switches on the C10. If you want to post a pic or description of how you've wired it, I'll take it out to the workshop and open mine up for comparison.
Last edit: 10 years 4 months ago by joe. Reason: changed machine to computer.
Please Log in or Create an account to join the conversation.
- chadrat6458
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 0
10 years 4 months ago #75842
by chadrat6458
Replied by chadrat6458 on topic Netmos 9865 pci parallel port help
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds