- Posts: 7
- Thank you received: 0
Moving from EMC to LinuxCNC - Stepper Driver Issue
I've had a BDI install running for several years without issue, until the hdd died in my Pentium III CNC machine.
I use the k-179 driver boards.
I decided to move to a newer machine, HP core 2 Duo desktop.
I've installed Wheezy/LinuxCNC 2.7.
I've installed/made ParallelPortTest and checked that the step/direction pins of the parallel port work as expected, and that the stepper motors work as expected (they do!).
The StepperConfWizard test procedure does not give me the results I expected.
When I "test an axis", the stepper steps (pulses) about every 5 seconds, but the jog buttons do nothing.
I'm at a loss as to know where to go from here.
Help please.
Phill.
Please Log in to join the conversation.
JT
Please Log in to join the conversation.
The steppers work fine from ParallelPortTest, which is not part of the LinuxCNC distribution. The driver boards are set for "external" control, ie driven from the parallel port.
When I run the default gcode (or gcode I have run in my previous system) I do not get any steps from the steppers.
Regards,
Phill
Please Log in to join the conversation.
JT
Please Log in to join the conversation.
coming from an old version to the latest , their are few differences ,
but overall it should be easy to sort out
what breakout board are you using ?
when setting up your steps did you take into consideration the number of microstepping your drives are set to
Please Log in to join the conversation.
cncbasher wrote: post your config files as an archive to your post ,
what breakout board are you using ?
when setting up your steps did you take into consideration the number of microstepping your drives are set to
No breakout board. The parallel port is connected directly to the K-179 stepper driver boards.
I've set the microstep to "1". I was hoping that would eliminate micro steps and just use the full steps.
My old drive is not quite as bad as I expected. I've recovers my old config files.
I've uploaded my EMC config files for reference and my LinuxCNC config files as well.
Please Log in to join the conversation.
Yes, I'm pretty sure my problem is in the stepper config.BigJohnT wrote: That sounds like you have configured something wrong in the Stepconf Wizard.
Please Log in to join the conversation.
What appears in that file?
It isn't usual to call a HAL file from a HAL file any more, typically you add a second HAL file to the INI instead.
Do the driver boards require any sort of enable signal? I don't see any listed.
Please Log in to join the conversation.
andypugh wrote: This is a bit of a surprise in the HAL file: "source sim_hardware.hal"
What appears in that file?
It isn't usual to call a HAL file from a HAL file any more, typically you add a second HAL file to the INI instead.
Do the driver boards require any sort of enable signal? I don't see any listed.
The driver boards only require Step and Dir inputs.
The content of the sim_hardware.hal is included below. I have commented the line in phill_mill.hal to see if that helps. I'll test later today.
Please Log in to join the conversation.
As I indicated in my first post, when I run the wizard and "test" the axis, I get an uncommanded step every 5 seconds. Every 5 seconds while the axis test is running.
Does the "axis test" reverse direction automatically? (could I have the step and dir pins reversed?)
Please Log in to join the conversation.
