Hello Guest it is April 26, 2024, 04:39:28 AM

Author Topic: Mach3 G-CODE Size/Scale problem  (Read 11753 times)

0 Members and 1 Guest are viewing this topic.

Mach3 G-CODE Size/Scale problem
« 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
« Last Edit: May 01, 2007, 05:32:22 PM by deleteallusers »
Re: Mach3 & Eagle CAM Processor
« Reply #1 on: May 01, 2007, 05:11:52 PM »


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

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Mach3 G-CODE Size/Scale problem
« Reply #2 on: May 01, 2007, 10:05:29 PM »
    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.
« Last Edit: May 01, 2007, 10:09:10 PM by Chaoticone »
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Mach3 G-CODE Size/Scale problem
« Reply #3 on: May 02, 2007, 01:57:06 PM »
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,

« Last Edit: May 02, 2007, 01:58:50 PM by deleteallusers »

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: Mach3 G-CODE Size/Scale problem
« Reply #4 on: May 02, 2007, 05:07:33 PM »
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.

« Last Edit: May 02, 2007, 05:32:57 PM by Graham Waterworth »
Without engineers the world stops