CAD CAM EDM DRO - Yahoo Group Archive

Re: EMC2 Screw Cutting Problem

Posted by mart_wid
on 2008-05-22 03:34:20 UTC
Steve.
I've created a new configuration with the wizard and added the 'setp
encoder.0.position-scale 48' instruction to the Custom HAL, as per
your reply (copy kept of previous config). Doing this seems to put me
back at the "system waiting forever" stage when running a threading
gcode file. Do you think there could be something else amiss with the
wizard, such as selecting the wrong kind of spindle encoder
instructions for my particular setup?
Sorry to be a pain with this, but I do appreciate your help. Thanks,
Martin.


--- In CAD_CAM_EDM_DRO@yahoogroups.com, Stephen Wille Padnos
<spadnos@...> wrote:
>
> Ah - thanks for the compliment and the bug report :)
>
> I just fixed the bug in stepconf, so the next update should take
care of
> it. For now, all you should need to do is set the proper pins on
the
> parallel port setup page - "Spindle Index" and "Spindle Phase A".
Check
> the box that says "Include custom HAL configuration" (this is
checked by
> default).
>
> In the custom hal file (named custom.hal, in the directory that
stepconf
> created for your config), you should only need to have one line:
> setp encoder.0.position-scale 48
>
> That will override the setting that stepconf created.
>
> The problem was that stepconf was (a) multiplying by 2 (with the
> assumption that the encoder module was counting both edges) and (b)
> using the reciprocal of that :) So every count made the motion
> controller think that the spindle had done 96 turns :) The bug
didn't
> show up for quadrature encoder systems, so it took your report to
help
> us find the problem. Thanks again.
>
> Enjoy!
> - Steve

Discussion Thread

mart_wid 2008-05-21 06:13:36 UTC EMC2 Screw Cutting Problem Stephen Wille Padnos 2008-05-21 07:13:29 UTC Re: [CAD_CAM_EDM_DRO] EMC2 Screw Cutting Problem mart_wid 2008-05-21 14:42:33 UTC Re: EMC2 Screw Cutting Problem Stephen Wille Padnos 2008-05-21 15:40:37 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC2 Screw Cutting Problem mart_wid 2008-05-22 03:34:20 UTC Re: EMC2 Screw Cutting Problem Stephen Wille Padnos 2008-05-22 11:15:08 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC2 Screw Cutting Problem mart_wid 2008-05-22 13:32:53 UTC Re: EMC2 Screw Cutting Problem Stephen Wille Padnos 2008-05-22 13:40:15 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC2 Screw Cutting Problem mart_wid 2008-05-22 14:49:33 UTC Re: EMC2 Screw Cutting Problem Stephen Wille Padnos 2008-05-22 15:12:52 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC2 Screw Cutting Problem mart_wid 2008-05-23 10:31:58 UTC Re: EMC2 Screw Cutting Problem mart_wid 2008-05-23 10:59:54 UTC Re: EMC2 Screw Cutting Problem Stephen Wille Padnos 2008-05-23 12:27:36 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC2 Screw Cutting Problem mart_wid 2008-05-23 14:25:17 UTC Re: EMC2 Screw Cutting Problem Stephen Wille Padnos 2008-05-24 07:47:21 UTC Re: [CAD_CAM_EDM_DRO] Re: EMC2 Screw Cutting Problem mart_wid 2008-05-24 10:24:43 UTC Re: EMC2 Screw Cutting Problem