Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: ed-laserproductions on May 28, 2011, 09:39:18 PM

Title: Spindle Calibration by Manually Editing the .xml
Post by: ed-laserproductions on May 28, 2011, 09:39:18 PM
My mill does not send a tach signal back to the control computer but the spindle speed is visible on the motor controller.
Since I dont have a tach signal I cannot auto-calibrate the spindle.
I wish there was a way to manually enter the spindle speed vs PWM %.

I think it could probably be done in the mymill.xml file.

Does anyone have any experience with editing the xml to achieve this?
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: ger21 on May 28, 2011, 09:53:15 PM
You might want to try playing with the pulley speeds.
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: ed-laserproductions on May 28, 2011, 10:20:08 PM
I dont think its pulley speeds I need to change. Its the stored data when doing an auto-calibrate. I want to manually enter it into the xml. Or adjust whats already in there.
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: ger21 on May 28, 2011, 10:51:57 PM
I don't think it's in the .xml

I think it's in the linearity.dat file/
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: ed-laserproductions on May 28, 2011, 10:54:31 PM
Thanks. I just tried to open it but it is not an easily understood file.
Do you have any idea how i could edit it or understand it?
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: ger21 on May 28, 2011, 11:35:51 PM
Nope. But if you delete it, a new one will be created.
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: ed-laserproductions on May 29, 2011, 03:24:18 AM
That is interesting but not useful information.

I opened the Linearity.dat file in a hex editor and the structure is not easily visible....

Does anyone know how to accomplish a manual config?

I have thought about hooking a function generator up to an input pin and matching it to the displayed rpm.....
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: ed-laserproductions on May 29, 2011, 01:10:02 PM
I have posted a feature request.

http://www.machsupport.com/forum/index.php/topic,18579.0.html
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: BR549 on May 29, 2011, 02:00:05 PM
Art posted a proceedure to calibrate your spindle .Might want to do a search for it.

(;-) TP
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: BR549 on May 29, 2011, 02:45:07 PM
I found the document/discussion and posted it here.

http://www.machsupport.com/forum/index.php/topic,18580.new.html#new

Hope it helps, (;-) TP
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: ed-laserproductions on May 29, 2011, 02:56:36 PM
Interesting, thanks for the link!

BUT :)

.....Take note, this is for step output spindles, PWM is another matter, this will
still work, but since the number of steps
in speed is dependent on the PWM settings, the end results may be off in a
stepwie fashion if using PWM.....

Manual calibration would be an awesome feature!
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: BR549 on May 29, 2011, 03:07:14 PM
Have you tried it???  Notice that it does say it will work(;-)

(;-) TP
Title: Re: Spindle Calibration by Manually Editing the .xml
Post by: ed-laserproductions on May 30, 2011, 11:38:26 AM
I have tried ad it does not work