Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: deleteallusers on May 01, 2007, 04:22:12 PM
-
I'm designing a PCB board.
I've posted some G-CODE below, it should be moving 11 inches
but it only moves 1/2 inch
Has anyone had this problem ? I've set it to be inches.
What setting do I need to modify ?
Thanks
-
Ok, I think I got to callabrate steps per rev or somthing like that.
I have a program like this, but it should be moving 11.9625 inches, but it is only moving 3/4 inch.
How do I fix that ?
Thanks,
G20
G90
G82 X0.0375 Y11.9625
G82 X0.0500 Y0.0500
G82 X11.9500 Y0.0500
G82 X11.9500 Y11.9500
(File Footer)
T01
G00 Z0.5000
M05
M02
-
Here is how you do the math. I will give you mine as an example. What we need to know is, How many pulses from Mach will it take to move the machine 1 of your units? (inch,mm) Mine is in inches. 1 inch = 10,000 pulses on mine. This is how I came up with the number.
My steppers have 200 pulses per revolution. ( 360 degrees divided by 1.8 degrees = 200 )
Micro stepping = 10. So 200 X 10=2,000
Motor to screw gearing is 1-1. So 2,000 X 1=2,000
Screw lead is .200 of an inch. My screw will have to turn 5 rounds to move the nut 1". 1.0 divided by 0.200=5. So 2,000 X 5=10,000.
You can find the settings in general config, motor tuning.
I hope this helps.
Brett
Also meant to say. Look on the settings page right above the reset button. You will see a button labled, set steps per unit. This may help.
-
It will not let me change steps per unit on the settings page it's set to 0 on all axis
Also, My steppers also have 200 pulses per revolution. ( 360 degrees divided by 1.8 degrees = 200 )
My lead screw is a 1/4-20 (it takes 20 turns to go 1 inch)
----------------------------------------------------------------------------
In my motor settings it only has Steps per = 2000, (What is this steps per ?) velosity, accelatrion, Step pulse & dir pluse = 0
I have Xylotex 425oz/in motors with the three axis driver board.
I can't get anything to size correctly, it's usless and I dont know what to do.
Thanks,
-
Useless is not in the Mach vocab, I bet you learned to drive in 20 minutes too, ;)
Steps per is what you need to set.
Open the motor tuning page and click X axis
In the steps per you should have 4000 set if your xylotex driver card is set to full step.
If its set to half step then the steps per should be 8000
If its set to quarter step then steps per should be 16000
Set velocity to around 60 and Acceleration to 1 you must then click 'save axis settings' then try the axis.
If it moves set Y and Z the same.
Check the amount the axis is moving against what you have asked it to move.
If all is well then you can play around with the velocity and acceleration to get the optimum from your drives.
Graham.