Hello Guest it is April 18, 2024, 06:58:30 PM

Author Topic: i have problem with motor calibration  (Read 3305 times)

0 Members and 1 Guest are viewing this topic.

i have problem with motor calibration
« on: April 20, 2011, 04:14:56 AM »
hello , every one

i have a problem with mach3 i make my calculation for step per and it is 119.2 i add this to mach3 motor tuning and select mm as my unit
the "step per"mean when i send 119.2 pulse the machine move 1mm .
but mach3 move 5mm when i use microcontroller and send 119 pulse the machine move 1 mm
i tray to make calibration in setting alt6 but it doesnt work ?

what can i do ??

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: i have problem with motor calibration
« Reply #1 on: April 20, 2011, 05:26:32 PM »
Can you attach your xml and also say what microstepping your drives are, what gearing you have between motor and screw and what pitch the screw is.
Hood
Re: i have problem with motor calibration
« Reply #2 on: April 20, 2011, 06:24:20 PM »
thank you hood for replay
i attached my xml file
i used microstepping motor driver that i design , i design it to make one revolution when take 6400 pulse
and my driving system is belt
there is the way how i calculate my parameter
1- make one revolution of motor by sending 6400 pulse from microcontroller and measure haw axis move and it is 53.69 mm
2- then i calculate the step per unit by this equation 6400/53.69 = 119.2 pulse
3- i put this value in config > motor tuning > step per
4- i tray for get my best velocity and acceleration by moving cursor and apply the new parameter
when i tried to move the x and y axis 5mm by g1 x5 y5 z0 they move very slowly and move incorrect value i tried calibration in setting alt6 but it doesnt work .
when i send 119 pulse from microcontroller to my machine it is move exactly one mm.
what can i do?
« Last Edit: April 20, 2011, 06:26:23 PM by rimawi2008 »

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: i have problem with motor calibration
« Reply #3 on: April 20, 2011, 06:49:34 PM »
Your xml looks ok apart from maybe your motor tuning being fairly fast, try with lower velocity and acceleration in motor tuning. When you command a move also put a feed in such as F100, either that or type a value into the feedrate DRO, if you dont do that then the default is 6 which when using metric would mean it would take 50 seconds to move 5mm.
Hood
Re: i have problem with motor calibration
« Reply #4 on: April 20, 2011, 07:24:01 PM »
thanks hood my speed problem solved i put f5000 fro 5000 but the distance problem is still there
i put g1 x0 y50 z0 to move y axis 50mm but it is move 12.43 mm only can i find solution ?
thank you
« Last Edit: April 20, 2011, 07:30:05 PM by rimawi2008 »