111
General Mach Discussion / Re: need mach motor tuning explained better
« on: March 06, 2009, 05:39:43 AM »
John - Looking at the Gecko, these are 10 microstep devices, so you have 10 micro steps, then 200 per rev for the motor - this equals 2000. And you said previously you have a 4.8 to one reduction to the final gear wheel.
The problem seems to be calculating how far this will move your table down the rack.
Here we are going to have to impinge on measuring (which I have just pooh poohed in the last post) although I am sure you could tell me the pitch. However, although I don't know where you are, this could be metric or imperial.
What I would do is paint one of the teeth on the rack white, and a slot on your pinion white, or mark with a felt tip pen will do - just so you have no doubt where you started. Enter 9600 in the steps per unit on the Mach motor tuning page, and keep the speed down fairly low, say at 10 units per minute. Keep acceleration at 1 upsps. Then I would try the command on the MDI line (with everything zeroed) of G0 X10 (you seem to have a fairly big table).
The cog should have turned 10 times, and the marked tooth should be back on the bottom. Accurately mark which tooth on the rack the cog has reached, and now measure the distance from start to stop. You can do this with a ruler, since we are looking at 10 times the unit size, and as I said before this should be a fnite number (of some sort). I you lay a tape along the rack, then, as Hood said, the carriage should have moved 160 teeth up the rack (if it is a 16 tooth cog) - what is that distance - 10 inches - fine. If it does not line up with inches - try millimeters - 100, 500.
If it is 10 inches, then your pulses per inch is 9600/10 = 960 (although this seems low, since it gives an accuracy of less than a thou) - but you get the general idea.
Calculate your pulses to give one turn of the final cog, then if you are saying there are 16 teeth on the final cog, then what is the distance between 16 teeth- because that is your unit - if you get that far, converting into inches or mm's is just maths.
The problem seems to be calculating how far this will move your table down the rack.
Here we are going to have to impinge on measuring (which I have just pooh poohed in the last post) although I am sure you could tell me the pitch. However, although I don't know where you are, this could be metric or imperial.
What I would do is paint one of the teeth on the rack white, and a slot on your pinion white, or mark with a felt tip pen will do - just so you have no doubt where you started. Enter 9600 in the steps per unit on the Mach motor tuning page, and keep the speed down fairly low, say at 10 units per minute. Keep acceleration at 1 upsps. Then I would try the command on the MDI line (with everything zeroed) of G0 X10 (you seem to have a fairly big table).
The cog should have turned 10 times, and the marked tooth should be back on the bottom. Accurately mark which tooth on the rack the cog has reached, and now measure the distance from start to stop. You can do this with a ruler, since we are looking at 10 times the unit size, and as I said before this should be a fnite number (of some sort). I you lay a tape along the rack, then, as Hood said, the carriage should have moved 160 teeth up the rack (if it is a 16 tooth cog) - what is that distance - 10 inches - fine. If it does not line up with inches - try millimeters - 100, 500.
If it is 10 inches, then your pulses per inch is 9600/10 = 960 (although this seems low, since it gives an accuracy of less than a thou) - but you get the general idea.
Calculate your pulses to give one turn of the final cog, then if you are saying there are 16 teeth on the final cog, then what is the distance between 16 teeth- because that is your unit - if you get that far, converting into inches or mm's is just maths.