Re: [CAD_CAM_EDM_DRO] Re: EMC2 Screw Cutting Problem
Posted by
Stephen Wille Padnos
on 2008-05-21 15:40:37 UTC
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
mart_wid wrote:
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
mart_wid wrote:
>Steve.[snip]
>Thanks for a most helpful reply - it's allowed me to get the carriage
>moving with the spindle - something I couldn't do in 2 days. You are
>a star.
>
>It seems like the configuration wizard in EMC2 is faulty as it
>consistantly set up my machine with the wrong parameters for
>successful threading despite my best efforts.
>
>The one small fly in the ointment is that the Z axis surges instead
>of moving smoothly in time with the spindle. Does anyone know what
>might be causing that to happen? Any help is much appreciated.
>Thanks again, Martin.
>
>
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