Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Tef9 on October 31, 2009, 11:43:01 AM
-
Hello,
I have recently converted a chineese mill into a cnc mill.
I have set the config up in mach 3 to run as metric.
The part I designed was done in bobcad, this is inteded to be a watch face.
as I cut the part I could see that it was not comming out as a 28.8 mm diameter but a 72mm diameter.
Can anyone help, I posted the problem in the bobcad forum and they reckoned there was somthing up with mach 3.
attached is my xml file of the mill.
Any ideas what could be wrong?
Thanks,
Andy
-
If you command a 10mm move does it move 10mm or 25mm?
If it moves 25mm then you have your steps per unit set incorrectly.
Hood
-
Thanks hood,
I have now set them to 400 which seems to be fine as when I move 10mm and measure it with calapers 10 mm has been moved (I havespent a whole day doing this)
However I ran the cut circle wizard and set the diameter to 12mm and guess what... it cuts at 24mm any ideas?
Or are my steps per not so good?
thanks,
Andy
-
Is it steppers you have? If so what kind of drives are you using and if they have adjustable microsteps what have you used?
If servos what is the line count of the encoder?
Do you have any reduction between motor and ballscrew, if so what is it?
What is the pitch of the ballscrews?
With that info the steps per unit can be worked out.
Hood
-
Hi Hood,
They are steppers, I got them from DiyCNC.co.uk with the drv50 driver board.
it says they have a 1.8 degree and that I took to mean 200 as it states in the manual.
The leadscrew is a 20mm diameter with a 5mm pitch. No gearing the motor connects via a coupler to the leadscrew.
I used 10 as a microstepping figure again as the manual suggests.
I got 400 due to trail and error with the auto config tool.
Hope the info helps.
Thanks,
Andy
-
How about posting the gcode file ?
Phil
-
Yes, 400 it is, 200 steps per rev of motor x 10 microsteps = 200 steps per motor rev, No gearing so 1 motor rev = 1 ballscrew rev so that is a distance of 5mm. So 2000/5 = 400 steps per mm.
It could well be the Gcode as Phil has eluded to, but I am wondering if you were using a 6mm cutter? If you were then its likely you chose to do an outside circle.
Hood
-
Hood
Sorry should have mentioned that steps seems to be set right.
So it could be Bobcad ;D
Phil
-
hi There,
phew thanks for the result of 400, it seems happy there and I did spend a day to get that result.
I am using a V carve engraving bit. I used .2 as the tool diameter.
I will have to check the gcode, The test I ran was generated by the 'cut circle wizard' that ships with mach 3, I would be supprised if the wizard was wrong more likley it could be my key presses or lack of an enter.
Phil - Will post tommorrow.
Thanks to you both,
Andy
-
In the wizard you have to choose which side of the cutter you wish it to cut, if for example you have a 6mm dia cutter and told it you wanted to cut outside of 12mm then the inner dia of your cut would be 12mm but the OD of it would be 24mm. If you told it to cut inside the OD would be 12mm and there would be no ID as you would effectively have cut a pocket.
Hood
-
Hi Hood,
I have just looked at the wizzard, I can see no obvoius part to tell it where to start, attached is a screenshot. please note however this is on my 'inside in the warm' computer not the one with the issue.
Cheers,
Andy
-
forgot to attach pic.
Andy
-
Ah Ok sorry I am used to the NewFangled ones see pic.
If you post the code when you can then it may point to the problem.
Hood
-
Ok here is the code:
G21
F400
G00 Z3
G00 X5.7775 Y0
G00 Z1
G01 Z0 F50
G02 X5.7775 Y0 I-5.7775 J0 F400
G00 Z3
G00 X5.9 Y0
G01 Z0.8775 F400
G01 Z-0.1225 F50
G03 X5.9 Y0 I-5.9 J0 F400
G00 Z3
G00 X0 Y0
M30
Also attached is the picture of my settings from the mill ocntroller.
Andy
-
Change the IJ mode to Inc and see if that cures your problem, you will find it on the General Config page.
Hood
-
Hood - you got it, changed to inc and everything seems to cut fine.
Thank you! and thanks to all for trying to help.
A
-
no probs :)