On 07/22/2012 11:19 PM, Jason von Nieda wrote:
> Hi folks, I thought I would start a new thread about Sprinter as to
> not clutter up the suggestions thread, which is still going strong.
>
> So, I have been working to get Sprinter up and running for a few hours
> now and so far I am very impressed. It seems to work very well. For
> reference, I don't think it works on 328Ps any more, though. Even with
> SD and Arcs turned off, and the buffer set to 1 it would lock up after
> the first planner command. I went and bought a Arduino Mega 2560 and
> so far it's working great.
Pretty sure someone had it working on a 328. I'll look into it. I don't
have a 328-based arduino easily available, but I can hack one together
as I have the chip.
This catches me at a rather bad time as I'm in another country and won't
be back near my machines for a couple more weeks. I'll get to it at
first opportunity. I'll also see if the local hackerspace has a 328 I
can borrow.
> I have a few questions so far:
>
> 1. Is there any command to explicitly enable the steppers on all axes?
> I can use M84 to turn them off, but it seems that Sprinter wants to
> only enable them when it gets a command to move one. Problem with that
> is that when using ball screws, steppers and micro-stepping, disabling
> the drivers can cause the machine to physically lose micro-steps.
> OpenPnP is designed to only consider itself to be referenced to home
> when the steppers have all been enabled and not disabled since being
> enabled.
There isn't, but I can make one. We've never had that use case before.
As a workaround, move each axis back and forth 0.1mm at the start.
Should I put in an enable command?
> 2. Is the G4 (dwell) command intended to dwell at the instant the
> command is received, or when the command is executed from the buffer?
> From reading the code it appears that it would sleep immediately upon
> being parsed which means that there is no way to know during which
> command it would end up dwelling in. Grbl used st_synchronize() to
> make sure this didn't happen, but it's not clear to me that something
> simular is happening in Sprinter.
That's a bug. It should be fixed in the experimental branch by now, I
believe a pull request from blddk fixed it. I'll check.
> 3. Does Acceleration override Maximum Acceleration? I noticed that
> with the default Acceleration of S1000 T1000 and Maximum Acceleration
> at X25 Y25 the machine still accelerated at 1000 but if I change
> Acceleration to S25 T25 it accelerates slowly. I would have thought
> that Acceleration would be the target acceleration but that no axis
> would accelerate faster than it's Maximum Acceleration.
Acceleration should not override maximum acceleration, but I'm not sure
if there's a bug in the runtime setting code there.