Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable stepper drivers? (like RepRap M18 "Motors off" effect) #589

Closed
natevw opened this issue Feb 11, 2015 · 5 comments
Closed

Disable stepper drivers? (like RepRap M18 "Motors off" effect) #589

natevw opened this issue Feb 11, 2015 · 5 comments

Comments

@natevw
Copy link

natevw commented Feb 11, 2015

I have a CNC 3040T ("Chinese CNC" with JP-382A stepper controller and JP-1482 spindle board, should be same controller as perhaps more common 3020T-DJ would have if Googling). This is a parallel port controller intended to be used with Mach3.

Now, IIRC when I used Mach3, it would allow the stepper motors to run free when idle, without any pin settings. With Grbl, the steppers are always "taut" so it is difficult to adjust them with the handwheels when that is necessary [e.g. to back away from a limit switch].

Is there a way to have Grbl do the same thing? I don't know that there is any pinout dedicated for enabling the steppers, it seemed somehow Mach3 was able to do it with only the DIR/STEP pins of each axis configured.

@rusirius76
Copy link

In the $$ settings you'll find the "stepper idle delay" set it in the number of mS you want the motors to go idle. If it's 255 it is disabled and the steppers will always be energized.

@chamnit chamnit closed this as completed Feb 11, 2015
@natevw
Copy link
Author

natevw commented Feb 11, 2015

I have these settings:

$0=10 (step pulse, usec)
$1=25 (step idle delay, msec)
$2=0 (step port invert mask:00000000)
$3=1 (dir port invert mask:00000001)
$4=0 (step enable invert, bool)

…so I would expect it to idle the motors after a practically imperceptible 25ms delay? Or will cycle auto-start interfere with this? I may need to get out my old PC again and figure out what Mach3 was doing as far as any enable pin or just the pulse/dir pin state I guess.

@rusirius76
Copy link

Yes, that should have them idle after 25mS, and the auto-start as far as I'm aware shouldn't affect it in any way. Could it be something in the drivers themselves?

@chamnit
Copy link
Member

chamnit commented Feb 11, 2015

@natevw : Pin D8 controls the stepper enable pin. Make sure that your stepper driver enables are connect to this pin.

@natevw
Copy link
Author

natevw commented Feb 20, 2015

Yeah, it's clear now from reading the stepper driver datasheets that a separate pin is needed. So either a) this line is brought to a pin on my driver box and I need to figure out which one or b) they are currently pulled high whenever power is on  (which according to schematic for other somewhat-related stepper boards I've found may be the case) and I would have to add in a new optoisolator and do some PCB layout revisions myself.

I think I was misremembering the Mach3 behavior, I booted that machine back up inside and checked the settings — no enable pin was configured there. For now I must just need to turn off to manually turn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants