Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 08:25:53 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  i have problem with motor calibration
Pages: 1   Go Down
Print
Author Topic: i have problem with motor calibration  (Read 320 times)
0 Members and 1 Guest are viewing this topic.
rimawi2008
Active Member

Offline Offline

Posts: 4


View Profile
« on: April 20, 2011, 03: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 ??
Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #1 on: April 20, 2011, 04: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
Logged
rimawi2008
Active Member

Offline Offline

Posts: 4


View Profile
« Reply #2 on: April 20, 2011, 05: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?

* my xml file.xml (36.27 KB - downloaded 32 times.)
« Last Edit: April 20, 2011, 05:26:23 PM by rimawi2008 » Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #3 on: April 20, 2011, 05: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
Logged
rimawi2008
Active Member

Offline Offline

Posts: 4


View Profile
« Reply #4 on: April 20, 2011, 06: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, 06:30:05 PM by rimawi2008 » Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!