Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Rick_kap on October 13, 2009, 08:37:10 AM

Title: Scaling Problem - Help Needed
Post by: Rick_kap on October 13, 2009, 08:37:10 AM
Hi all

I need help with scaling :

I have set up my milling machine using Mach 3 software but i've come across a scaling problem between the X and Y coordinates on the screen and the X and Y coordinates on my milling table.

For example : a movement of 200mm on the table relates to 0.9mm on the DRO's

How do i set the correct scale on both X and Y axis so that 100mm on the DRO's equal 100mm on the table.

I've comfigured the software in mm's and i've set the milling table size in the Homing/Limits page.

Kind Regards

Rick
Title: Re: Scaling Problem - Help Needed
Post by: Fastest1 on October 13, 2009, 08:40:02 AM
It sounds like your steps per unit is incorrect. What pitch is your leadscrew? how many steps on your steppers? and what microstep did you select? These are what will affect the differences in travel from what I understand.
Title: Re: Scaling Problem - Help Needed
Post by: Rick_kap on October 13, 2009, 09:27:58 AM
It sounds like your steps per unit is incorrect. What pitch is your leadscrew? how many steps on your steppers? and what microstep did you select? These are what will affect the differences in travel from what I understand.

Thanks for the quick reply

The stepper motors are 1.8 degrees full step but i'm running them at 1/2 step.

I'm not using a lead screw on the X and Y drivers. My milling machine has a toothed wheel and belt system, each belt pitch is 2.03mm and the toothed wheel outer diameter is 12.93mm and the pitch is 2.03mm with 20 teeth.

The size of my working table area is 435mm x 275mm

see here for more info :
Pully - http://www.mcmaster.com/#1375K39
Belt - http://www.mcmaster.com/#7959K21

Kind regards

Rick
Title: Re: Scaling Problem - Help Needed
Post by: Fastest1 on October 13, 2009, 09:46:42 AM
Sorry I wont know the equation for the belt system but your steppers are at 400 steps now not including the travel part of the equation. But with some crude and probably incorrect figuring, I come up with about a 6 to 1 ratio on your pulleys (I could be wrong here). This is only a guess 200 steps x 2 (1/2 steps) x 6 (reduction gear) I would plug in 2400 steps per unit and test the movement. Just change 1 axis and check it. You can always go back.
Title: Re: Scaling Problem - Help Needed
Post by: Fastest1 on October 13, 2009, 10:01:42 AM
That figure I provided sounds low. I run 8000 steps per unit. Can you measure travel of the table only using 1 revolution of the pulley on the stepper (even manually)? While not under power?
Title: Re: Scaling Problem - Help Needed
Post by: Rick_kap on October 13, 2009, 12:09:45 PM
Hi

I've been reading the manual and i've now set the steps to 1/16 and i'm using for the time being 800 steps per unit. this figure seems to be as close as i'm going to get it until i can work out the proper equation!!

regards

Rick
 
Title: Re: Scaling Problem - Help Needed
Post by: Fastest1 on October 13, 2009, 12:11:58 PM
Find Hood or Tweakie here on the forum. They seem to be quite experienced. Good Luck
Title: Re: Scaling Problem - Help Needed
Post by: Hood on October 13, 2009, 01:50:11 PM
Not really sure how to calc with pulley and belt but heres what I think.

If you have 200 steps per rev of the motor and 16 micro steps that is 3,200 steps per rev of the motor.
You have a pitch of 2.032mm and one rev moves 20 teeth so thats 20 x 2.032 =40.64mm per rev
Steps per mm will be 3,200/40.6 = 78.74015748031496062992125984252 steps per mm.

Hood
Title: Re: Scaling Problem - Help Needed
Post by: Rick_kap on October 14, 2009, 10:12:37 AM
Hood

Thx for working out the steps per mm.

Quick question. I've tried using the Automatic Setting of Steps per Unit and is almost sync in the X, Y and Z axis.

Would using your calculation be more accurate than using the Automatic setting built into Mach3?

If it's better to use the Automatic settings is it better to measure over a longer or shorter distance?

The reason i ask regarding the distance to measure is because at the moment after using the Automatic settings over a short distance the movement is perfect but as the distance increases the accuracy reduces, this can be up to 1mm over a distance of 100mm.

Thanks for your help in advance

Rick


Title: Re: Scaling Problem - Help Needed
Post by: Hood on October 14, 2009, 10:18:50 AM
The automatic calculation will only ever be as accurate as you can measure, if you can measure accurately over a long distance then it will be more accurate than over a short distance.

Calculating will be the most accurate method as you are not relying on measuring but it will of course depend on the hardware such as belts and pulleys being accurate.

The thing that has me wondering if I have calculated correctly is your previous post said you had 800 steps per unit set and my calculation is ten times less.

Hood
Title: Re: Scaling Problem - Help Needed
Post by: Rick_kap on October 14, 2009, 10:50:51 AM
Yes it was set at 800 initailly but now that i have run the Automatic calculation setup this value has now reduce to 81 which is closer to your calcuation

Rick
Title: Re: Scaling Problem - Help Needed
Post by: Ranger on December 07, 2009, 04:14:38 PM
I have the same problem. We just bought a Mach 3 KX3 milling machine. If I program 3.00 in the y, the table moves only .500, same for all three axis. Can you please explain how to fix this. Thanks you
Title: Re: Scaling Problem - Help Needed
Post by: Graham Waterworth on December 07, 2009, 04:33:37 PM
Where did you get the Mach3 install from, if you have MachLoader icon on your desktop run that, there should be a KX3 profile.

Graham
Title: Re: Scaling Problem - Help Needed
Post by: Ranger on December 08, 2009, 07:53:17 AM
We bought it from a dealer in Maine. We installed it ourself.  It wasn't hard to get it installed. It just seems like the software is not working right.
Title: Re: Scaling Problem - Help Needed
Post by: Graham Waterworth on December 08, 2009, 12:11:30 PM
You need yo ask the dealer for the Mach3 XML profile for your machine if it is not listed in the machloader program.

Graham
Title: Re: Scaling Problem - Help Needed
Post by: Ranger on December 08, 2009, 12:56:06 PM
We have the XML KX3 profile and have loaded it, but machine still moves not as programed
Title: Re: Scaling Problem - Help Needed
Post by: Graham Waterworth on December 08, 2009, 03:21:54 PM
OK, to correct this we need to know the pitch of the lead/ball screw the ratio of the motor to the screw (direct drive 1:1), the number of steps pre rev of the motor (normally 200) the setting of the stepper driver, 1(full), 2(half), 4(quarter) ,8(eighth), etc and if you intend to work in inches or mm

Graham
Title: Re: Scaling Problem - Help Needed
Post by: Ranger on December 08, 2009, 04:12:03 PM
Ok, I will get that information, Thanks for the help