i actually just dug that up to answer, so consider this a
verification; the comment for this it is on line 85 of stepper_control
and could probably be expanded a little to include more units for
clarity:
// distance / feedrate * 60,000,000.0 = move duration in
microseconds...distance[inch]/feedrate *60[sec/inch] = t[sec],
feedrate = dist[inch]/t[min]
On Jan 22, 8:48 pm, Reza Naima <
r...@reza.net> wrote:
> Thanks for spotting that. The error is in the documentation. The docs
> should read 'inches per minute'. If someone needs to go faster than 256
> inches/minute I can make that fix. I'll fix the documentation when I
> have more time next week.
>
> It actually took me a bit to verify that -- the conversion code isn't
> obvious but works:
>
> xaxis->timePerStep = (double)(1E6*60.0) /
> (double)((double)config.max_feedrate.x * (double)config.steps_inch.x *
> (double)config.stepping);
>
> the units for timePerStep are microseconds.
>
> Reza
>
>
>
> > ------------------------------------------------------------------------
>
> > David Chan <mailto:
coffee...@gmail.com>
> > Saturday, January 22, 2011 5:58 PM
>
> > Reza,
>
> > What is the range of the M102 (MFR) command? When I set it using M102
> > X4000 Y4000 Z2000, it display MSG MFR(160,160,208). When I set it
> > using number less than 256, it displays correctly. If this limit is
> > 256, then the max feed rate will be very slow.
> > It looks like it round off at 256. Can you advise this is a display
> > bug or software bug?
>
> > Regards,
> > David
>
> > ------------------------------------------------------------------------
>
> > Reza Naima <mailto:
r...@reza.net>
> > Sunday, January 16, 2011 5:22 PM
>
> > yes, you havn't configured the device yet. the messages are to tell
> > you that it has no idea how to operate. I should add a page on how
> > to configure it if I don't already have one.
>
> > fromhttp://
reza.net/cms/index.php?page=command-syntax
> > ------------------------------------------------------------------------
>
> > NULL <mailto:
bigbodysmallbr...@gmail.com>