Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: haron on May 27, 2011, 10:10:16 PM

Title: help mach3
Post by: haron on May 27, 2011, 10:10:16 PM
Hello all the world, I have a problem on mach3, if somebody can help me and thank you for avance.j' have to break a right(straight) axis of engine of my machine cnc; having to re-counter I lost every my regulation having to arrive has all to settle(adjust) my measure are not well I have to try to repair with (axis calibration on mach3) but the speed changes and when I settle(adjust) the speed of the engine measures them gets lost, then I arrive not has to take(bring) out me of it.
How to register(record) my regulations of speed and distances without that mach3 change them every time; and other thing(matter) if he(she) can help you all measures are metric
Title: Re: help mach3
Post by: rbailey41 on May 27, 2011, 11:57:40 PM
 :) I need help. When I take the voltage readings on the parallel port I get 3.2 volts but, as soon as I start Mach3 all my voltages fall to zero. Can anyone help.
Thank You rbailey41
Title: Re: help mach3
Post by: Hood on May 28, 2011, 05:08:34 AM
haron
Can you attach your xml please.

rbailey41

It could be normal as it may be the way you have the active state in Mach. One thing to mention however is with a 3.2v port you will likely need a breakout board that can buffer the signal, so if you dont use a breakout that does that then you may have issues with low voltage.
Hood
Title: Re: help mach3
Post by: rbailey41 on May 28, 2011, 09:39:30 AM
Thank you. I'll check to see if anything is active.
Title: Re: help mach3
Post by: rbailey41 on May 29, 2011, 12:04:18 AM
  :) I finally got my motors to turn, but now when I jog x the motor only turns in the positive direction. Can anyone help me out. I checked the number 4 pin on my parallel port and it stays at 4.2 volts when I press my left and right arrow keys. Thank You
Title: Re: help mach3
Post by: Hood on May 29, 2011, 03:40:23 AM
Sounds like you may not have the Direction Pin assigned properly in Mach, one thing that is often missed is the port number needs to be put in for both the Step and the Direction.
Hood
Title: Re: help mach3
Post by: rbailey41 on May 30, 2011, 03:37:41 PM
thank's alot your help was great. I finally got my motors running right, But, wondering if you could help me with the motor tuning. I am using 1/2-13 lead screws and I don't know how to figure the steps per inch.
Title: Re: help mach3
Post by: Hood on May 30, 2011, 04:54:35 PM
Steps per inch are easily worked out as follows
Steps of stepper (normally 200)  multiplied by microstepping multiplied by any gearing and then finally multiplied by the TPI of your screw(13 in your case)
Hood
Title: Re: help mach3
Post by: rbailey41 on May 30, 2011, 11:53:15 PM
Thanks for your help. Would you happen to know the best velocity to set it at.
Title: Re: help mach3
Post by: Hood on May 31, 2011, 03:48:55 AM
Afraid not, with steppers acceleration and velocity are trial and error.
Hood
Title: Re: help mach3
Post by: rbailey41 on May 31, 2011, 08:56:30 AM
Thanks anyway. I'll try to find the right combo. But, thanks for all your help.
Title: Re: help mach3
Post by: Hood on May 31, 2011, 11:09:49 AM
Its been a long time since I have messed with steppers but I think the way most go is try with a fairly low Velocity, say 40IPM then start increasing the Acceleration until you get stalling. Next drop the accel by half and start increasing the Velocity until you get stalling then its just a case of findning the happy medium between the two of them.
 Personally for me acceleration is more important than velocity as it helps with regards to corner rounding issues, it will also tend to make machining quicker as most of your cutting will be done at speeds a lot less than rapid speed. As an example on my Bridgeport I could get 2500mm/min with accel of 40mm/s/s but dropping the Velocity to 2200mm/min I could get the Acceleration up to 120mm/s/s, this made a huge difference to my machining times.

Hood