- Posts: 510
- Thank you received: 0
Linux will not recognize my BOB no matter WHAT I try to do
If you can control the pins going to the step input of the drive, you should be able to move it in TINY increments by toggling the step output pin high and low. If not, then maybe the common connection to the drive needs to be checked. It probably takes either +5 or ground to the other side of the opto inputs. Also, those drives have 2 direction inhibit inputs that can be connected to limit switches to stop the axis when it hits the limit switch. Make sure those inputs are in whatever state is required to permit motion. If it is accepting the step commands, you should at least hear the motors click on every rising (or possibly falling) transition of the step signal.
Make sure the output pins assigned to step are connected to the step input of the drive, and the direction pins are connected to the direction input.
As for that error message, you are apparently requesting a 53 us base thread. While this is not insanely fast, it may be too fast for your specific computer, as the kernel has been set up. There may be boot time options that will make it run better. But, for now, just back off on the bast thread, which means increasing the period number.
This is set in the .hal file.
Oh, but that is ONLY for the ptest.hal program, not LinuxCNC. But, you can edit the file to fix that error.
Jon
Please Log in to join the conversation.
jmelson wrote: Yes and no. parport_pc is a real time module, so it looks like a kernel module, but requires services from the real time system, so it can't be run as a normal kernel device driver.
I think that perhaps you are conflating parport_pc and hal_parport?
I think that the absence of parport_pc is the reason for the "Linux parallel port not found" (Note the "Linux" part of the message). ie when loading hal_parport the system is not finding a port that has been found by parport_pc.
The message is spurious, confusing, and we probably should have another go at getting rid of it.
Please Log in to join the conversation.
Kidkasual1 wrote: I noticed this line in the terminal after I ran that last parallel port test in which I FINALLY got signals at the pins. Could this possibly be the cause of all of the trouble? If the system can't or isn't creating a base period to run everything from, would that cause the problems I am having??? And if so, how do I fix that?
Yes, this could, indeed, be the problem.
The most likely cause is that the parport tester failed to quit cleanly and has left some modules loaded.
Try "halrun -U" to see if that clears things up. If not then you might need a reboot to untangle the mutually-dependent kernel modules.
Please Log in to join the conversation.
Whoops, I was thinking right, but wrote it wrong! I MEANT hal_parport!andypugh wrote:
jmelson wrote: Yes and no. parport_pc is a real time module, so it looks like a kernel module, but requires services from the real time system, so it can't be run as a normal kernel device driver.
I think that perhaps you are conflating parport_pc and hal_parport?
Thanks for the correction,
Jon
Please Log in to join the conversation.
- Kidkasual1
- Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 0
Ok, so I have run a base thread max jitter test using the StepConf wizard to re-establish my baseline number. (See pic 1)
Then I opened and re-ran the port tester to make sure that I was still communicating with the BOB. Yup. All good. +5V(ish) at all of the pins and I can toggle pin 17 (relay) on and off at will. (See pic 2)
Then I opened StepConf wizard and changed the base thread max jitter number to the new number reported by the test, saved, and rebooted.
Then I tried to open the Axis GUI, but this time instead of opening, it threw me the white error screen with a new debug error that I haven't seen yet. (See pic 3).
I believe that we are MOST DEFINATELY getting down to the root of the issue now. Regaining signal generation to the pins was absolutely HUGE. Now if we can fix the base thread real-time mismatch going on, I think we might have this in the bag. THANK YOU, guys!!!
Please Log in to join the conversation.
- Kidkasual1
- Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 0
Please Log in to join the conversation.
Please Log in to join the conversation.
Perhaps we can spot something.
Please Log in to join the conversation.
- Kidkasual1
- Topic Author
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 0
Please Log in to join the conversation.
Jon
Please Log in to join the conversation.
