Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: kocher on December 17, 2010, 05:04:15 PM

Title: problem size in mach3
Post by: kocher on December 17, 2010, 05:04:15 PM
hi, can anyone explane please after i put gcode into mach3 itis always reads  wrong size ex if i want square 1in it engraving it gos to  0.940 so i have to  creat square 1.325 in till i get 1 square inch i need your advise please
T1M6
G0Z1.0000
G0X0.0000Y0.0000S15000M3
G0X0.0121Y0.0202Z1.0000
G1Z0.0000F9.4
G1X1.3371Y0.0202F14.2
Y1.3452
X0.0121
Y0.0202
G0Z1.0000
G0X0.0000Y0.0000
G0Z1.0000
G0X0Y0
M30
Title: Re: problem size in mach3
Post by: Hood on December 17, 2010, 05:19:24 PM
If you command a 1 inch move via the MDI line does it actually move 1 inch?

Hood
Title: Re: problem size in mach3
Post by: kocher on December 17, 2010, 05:25:17 PM
no if i command a 1 in  it will be  0.740 . thank hood  for your help.
 T1M6
G0Z1.0000
G0X0.0000Y0.0000S15000M3
G0X0.0163Y0.0198Z1.0000
G1Z-0.0250F9.4
G1X1.0163Y0.0198F14.2
Y1.0198
X0.0163
Y0.0198
G1Z-0.0500F9.4
G1X1.0163Y0.0198F14.2
Y1.0198
X0.0163
Y0.0198
G1Z-0.0750F9.4
G1X1.0163Y0.0198F14.2
Y1.0198
X0.0163
Y0.0198
G1Z-0.1000F9.4
G1X1.0163Y0.0198F14.2
Y1.0198
X0.0163
Y0.0198
G0Z1.0000
G0X0.0000Y0.0000
G0Z1.0000
G0X0Y0
M30
Title: Re: problem size in mach3
Post by: Hood on December 17, 2010, 05:29:26 PM
Then it sounds like you have your steps per unit set wrong.

If you tell me the following info I will work out what your steps per unit should be

Is it steppers?
What microstepping do your drives have? (or make/model if you are not sure)
Do you have any reduction between motor and screw?
What is the TPI or pitch of the screw?


Hood
Title: Re: problem size in mach3
Post by: kocher on December 17, 2010, 05:35:22 PM

 the steppers are direct drive. (helical couplers )

  high-precision linear Round rails, diameter 0.8-inch,
     

  The use of high-precision new ball screw, 

there is no rebound in return;  diameter 16 mm; pitch 10 mm;   

  Aluminum alloy T-slot table,  Can help you cut and fixed,
  Manufacture than wood table has a huge advantage,

   NEMA23 stepper motor current is 3A, the weight 2.2 pounds ,Torque 1.7n.m 245 oz.In.

    30v 3A CNC drive,tb6560 , Optical isolation, the maximum 1 / 16 micro-step,Spindle control relay

     400w 30v Switching Power Supply

 spindle motor is  850w, 4 level speed, 5000--30000RPM, Strong power;

  milling tool diameter:  8mm,6mm,3.175mm

Router is the length of 28 inches, width
 thanks  for your  answer
Title: Re: problem size in mach3
Post by: Hood on December 17, 2010, 05:37:55 PM
Do you know the microstepping you have the drives set to, it says there that Max is 1/16, is that what you have it set at?
Are your native units inch?
Hood
Title: Re: problem size in mach3
Post by: kocher on December 17, 2010, 05:44:12 PM
sorry all i know u did help me to run my machine in past i have this info it may help again thanks for your advise . steps per 760 .velocity 151.98. Acceleration 4. step pulse0 dir pulse 0 .
Title: Re: problem size in mach3
Post by: Hood on December 17, 2010, 05:52:20 PM
Ok can you attach your xml and I may be able to work it out from there. With the steps per unit at 760 it would mean from the above info that you are just 1.49 microstepping which doesnt sound right.
Hood
Title: Re: problem size in mach3
Post by: Hood on December 17, 2010, 05:54:22 PM
Ok looking at your numbers I am thinking you are at 1/2 stepping so your steps per unit would be 1016, give that a try and see.
Hood
Title: Re: problem size in mach3
Post by: kocher on December 17, 2010, 06:07:17 PM
i did put 1016 per step its working  perfect size  thank very much it is  working 100% thank you .
 
Title: Re: problem size in mach3
Post by: Hood on December 17, 2010, 06:08:27 PM
Ok, glad to hear it :)
Hood
Title: Re: problem size in mach3
Post by: IceSculpturePro on December 19, 2010, 02:06:24 PM
It looks like I have the same problem!  I got this CNC set it up and run the program but it is cutting backward (mirror) and it is cutting really really small. I attached some information might be helpful to someone wants to help me. Thanks


The use of high-precision ball screw:diameter 16 mm; pitch 10 mm;

Router is the length of 50 inches, width is 33 inches, 120cm 84cm
Effective processing distance: X = 40 inches,Y = 24 inches, Z = 5 inches (100cm 60CM 12CM);

NEMA23(Y-Z-A) and NEMA34(X) 3A stepper motor ;Maximum engraving speed of 6 M / min;

30v 3A  CNC drive
Title: Re: problem size in mach3
Post by: Hood on December 19, 2010, 02:20:36 PM
Info that is needed is

Stepper motor or servo, you already said  stepper so thats fine.
Pitch of screw, which you have already said so again thats fine.
Native units you will use, you have a mix of metric and imperial in your description but likely it will be metric as you mention a cutting speed of metric units.

So info still needed is

Drives microstepping amount ????????
Reduction between Motor and Screw?????????????????


Hood
Title: Re: problem size in mach3
Post by: IceSculpturePro on December 19, 2010, 04:32:22 PM
Hi Mr. Hood,

I set up the Native units in inches.
I have the info on the link [http://www.icesculpturepro.com/mach3-6-2.JPG] what numbers I copied  (Steps per,velocity/acceleration) from the screen shot. I guess where all my problems coming from sorry I'm newbie on this. Thanks for your help.. 
Title: Re: problem size in mach3
Post by: Hood on December 19, 2010, 05:17:53 PM
Assuming you have no reduction between motor and screw then your steps per unit should be set to 4064 steps per unit. The Velocity you could try at 315 and accel try at 20 and see how it goes. If the motors stall then reduce the Velocity and Accel by half and then increase the Accel slowly until it stalls then back off the do the same wit the Vel.

Hood
Title: Re: problem size in mach3
Post by: IceSculpturePro on December 20, 2010, 05:36:32 PM
Thanks Hood it is running okay now, but when I load the G-code, Mach 3 is not loading all the g-code and the tool path is not complete in the mach3 screen. I tried my code in the other machine and it is all fine. Can you help me with this one. Thanks again.
Title: Re: problem size in mach3
Post by: Hood on December 20, 2010, 05:39:13 PM
You are in demo mode, ie no licence file in the Mach3 folder.
Hood
Title: Re: problem size in mach3
Post by: IceSculpturePro on December 20, 2010, 06:14:34 PM
Ok. thats what it is, Thanks I'll get a license then..
Title: Re: problem size in mach3
Post by: IceSculpturePro on March 16, 2011, 11:14:30 PM
Mr. Hood,  I upgraded my z axis from 6"  to 12" processing distance. Now I have lead screw

KERK Brand Anti-Backlash Nuts on all axis
-0.1 pitch lead screws. Standard (Feed rate of 150 inch per minute)
-Kerk(TM) Nut
+ Resolution .0005"
+ No load backlash .0005"

+ Double End Support.
Nema23 Stepper motor 1/8 microstep.

Thanks for your help.... 
Title: Re: problem size in mach3
Post by: IceSculpturePro on March 17, 2011, 07:20:51 PM
Mr. Hood,  I upgraded my z axis from 6"  to 12" processing distance. Now I have lead screw

KERK Brand Anti-Backlash Nuts on all axis
-0.1 pitch lead screws. Standard (Feed rate of 150 inch per minute)
-Kerk(TM) Nut
+ Resolution .0005"
+ No load backlash .0005"

+ Double End Support.
Nema23 Stepper motor 1/8 microstep.

Can you help me with the right motor setting with this one.

Thanks for your help.... 
Title: Re: problem size in mach3
Post by: Hood on March 17, 2011, 07:27:15 PM
Steps per unit will be 200 x 8 x 10 = 16,000 steps per inch.
Hood
Title: Re: problem size in mach3
Post by: IceSculpturePro on March 22, 2011, 12:06:18 AM
Hood,

Thank you very much.. it works well.