Hello Guest it is August 17, 2019, 07:21:58 AM

Author Topic: Mach 3 setup problem  (Read 8237 times)

0 Members and 1 Guest are viewing this topic.

Mach 3 setup problem
« on: January 22, 2011, 11:41:50 AM »
Hello all this is my first post so please go easy on me.I have a small problem regarding my mach 3 setup i have setup my machine in mach 2 to use mm but when i type any g code in
such as
G00 x1.50
my machine moves 1.5 inches and not mm so is there a different gcode for trying to move my machine say 10mm
i know it maybe something stupid im doing wrong but this is why i need advise
i want to cut squares out 100mm by 100mm
any help would be most welcome
thankyou

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 setup problem
« Reply #1 on: January 22, 2011, 02:05:36 PM »
Can you attach the xml for the profile you use please. There are a few things that can cause this and the easiest way is if I look at your config. The xml will have the name of the profile you are using and it will be in the main mach3 folder.
Hood
Re: Mach 3 setup problem
« Reply #2 on: January 22, 2011, 03:38:06 PM »
i would if i knew how to get that file sorry im very new to this but i would like your help

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 setup problem
« Reply #3 on: January 22, 2011, 03:45:24 PM »
When you start Mach have a look lower right of the main page and see the profile name. Close Mach and browse to the Mach3 directory (C:\Mach3 is the default) look for a file with the name of the profile and a xml extension, copy it to your desktop and rename to oakmeadows.xml and then use the additional options button on the reply page to browse and attach the file.
Hood
Re: Mach 3 setup problem
« Reply #4 on: January 22, 2011, 04:27:27 PM »
Hope you can get this one
thanks for your help

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 setup problem
« Reply #5 on: January 22, 2011, 04:33:04 PM »
Ok had a look and now need to know what type of motors you have? (steppers or servos)
If steppers what make of drive, if servos what line count is the  encoder?

Also any gearing between motor and screw and what pitch is the screw?

You have different steps per unit for all three axis so I am assuming they are all different.
Hood
Re: Mach 3 setup problem
« Reply #6 on: January 22, 2011, 04:51:49 PM »
im using 3  HT23-400-8 400ozin Stepper Motors from www.probotix.com
and im using the driver that come with it which is 4 x ProboStep VX Uni-Polar Stepper Motor Driver
there is no gearing the ratio is 1 :1
i am also using half steps
x axis moves 15mm per 1x revelution of my screw
y axis moves 5mm pre 1x rev
z axis moves 3mm per rev

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 setup problem
« Reply #7 on: January 22, 2011, 05:15:42 PM »
Ok then
Xsteps per unit should be  (200 x 2)/15 = 26.6666666666666
Ysteps per unit should be  (200 x 2)/5 = 80
Zsteps per unit should be  (200 x 2)/3 = 133.33333333333

It would however be better if you could set the drives to microstepping, maybe 8 or 10 as that would give you much smoother motion and better resolution. Not sure if your drives are capable of that.
Hood

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 setup problem
« Reply #8 on: January 22, 2011, 05:27:37 PM »
Oh and BTW you will need to increase your Velocity and Acceleration for each axis as well as you have basically had them set in inch units. If it worked well at these settings then multiplying them by 25.4 should be a good starting point.
Hood
Re: Mach 3 setup problem
« Reply #9 on: January 22, 2011, 06:05:54 PM »
Sorry ive made a mistake
x moves 25mm per 1.69 turns
y moves 25mm per 5.08 turns
z moves 25mm per 8.04 turns
so i worked it out
x axis 200 (steps)x2 (half steps)=400 x 1.69 = 676 steps fer inch
y axis 200 (steps)x2(half steps)=400 x 5.08 = 2032 steps fer inch
i then went into mach3
config
motor turning
and put 676 in the x axis and so on
if  i type in g0 x 1.0 the tool moves exactly an inch
so what do i have to do to make it move in mm then
thanks again