CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] EMC with steppers

Posted by Jon Elson
on 2001-07-28 16:41:39 UTC
NCS wrote:

> Ok, trying to make the motors move the correct number of turns per
> inch.
>
> It's a Sherline, 20 turns per inch, 1600 steps per turn (8:1 microstepping).
> So 32,000 steps per inch.
>
> With this setting:
> INPUT_SCALE = 8000 0
>
> It runs, but everything I make is 1/4 scale.
>
> But when I change:
> INPUT_SCALE = 32000 0
>
> EMC crashes the system on startup!

There was a bug discovered in EMC. What you need to do is increase the
parameters in the files .../emc/src/emcmot/emcmot.c, and emcstepmot.c
that have the text #define xxx_TASK_STACK_SIZE in them. They are generally
2048
now, and need to be increased to 4096. There should be two lines in each
file. Then, recompile EMC and try it again.

Jon

Discussion Thread

NCS 2001-07-28 13:59:53 UTC EMC with steppers Tim Goldstein 2001-07-28 14:46:32 UTC RE: [CAD_CAM_EDM_DRO] EMC with steppers NCS 2001-07-28 15:51:47 UTC RE: [CAD_CAM_EDM_DRO] EMC with steppers Jon Elson 2001-07-28 16:41:39 UTC Re: [CAD_CAM_EDM_DRO] EMC with steppers Ray 2001-07-28 17:04:48 UTC Re: EMC with steppers