On Tuesday 11 March 2008, Jeff Epler wrote:
>On Mon, Mar 10, 2008 at 10:05:12PM -0400, Gene Heskett wrote:
>> This is something that I configured the last time I ran stepconf, so
>> theoretically, all I should have to do is hook it up and go unless theres
>> a bug in stepconf or I have some duff hardware.  These are pins that have
>> not been previously utilized.
>
>It looks like this is a bug in stepconf.  An incorrect value is written
>for pwmgen.0.offset.  When the sample calibration values shown in
>stepconf are used unaltered, it's necessary to enter an RPM number of
>around S156000 to get PWM output.
>
There are 2 buglets then, Jeff.  The other is that stepcpnf doesn't give you a 
choice of mode/type for pwmgen.  I had to hand edit that into the top of 
my .hal file also.  I guess it assumes most are running induction motor 
driven spindles which aren't reverseable, but most of the VSR stuff is.

>For the time being, you can fix this by hand-calculating (or finding by
>trial-and-error) the right value and placing it in a custom.hal file.
>
We did this on IRC tonight, and a line in custom.hal seems to have fixed that 
right up.

>I intend to fix this for the next bugfix release of emc2.  In that case,
>you'll be able to correct your .hal file simply by re-running stepconf.
>
>Jeff

Thanks Jeff.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
It is wise to keep in mind that neither success nor failure is ever final.
                -- Roger Babson

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to