Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: rene on July 16, 2011, 06:35:11 PM

Title: Stepper Motor problem
Post by: rene on July 16, 2011, 06:35:11 PM
Hello to everyone
I have builted my first CNC router  and I tried to setup my Z axis with Mach3 motor tuning and I have only nose or vibration with the Z motor
The X - Y axis is running very well

    1 M254 NEMA23 Stepper Motors  Z axis
    2 M637 NEMA34 Stepper Motors  X - Y axis
    1 Micro Step Drivers D42 4.2 AMP, 50VDC  Z axis
    2 Micro Step Drivers D56 5.6 AMP, 50VDC  x - Y axis

I am connected directly to my ball screw 5 MM pitch

Hope somebody can help me

Thanks

Title: Re: Stepper Motor problem
Post by: Tweakie.CNC on July 17, 2011, 04:23:52 AM
Hi Rene,

Welcome to the forum.

Thoroughly check the electrical connections for your Z Axis motor.
Check that you have the Step and Direction pins configured correctly in Config / Ports & Pins / Motor Outputs.

Under Config / Motor Tuning, select the Z Axis and set the Velocity to a low value. Using the up / down keyboard arrow keys you should be able to jog the Z Axis. Repeat this Increasing the Velocity bit at a time until the axis just stalls then reduce the Velocity figure by about 30% then save your settings.

Hope this helps.

Tweakie.
Title: Re: Stepper Motor problem
Post by: rene on July 17, 2011, 08:27:26 AM
Hi tweakie

Thanks for your comments
I will check those setting. Could you tell me if 320 steps per units is ok with a 5 mm pitch ball screw

Rene
Title: Re: Stepper Motor problem
Post by: Tweakie.CNC on July 17, 2011, 08:39:02 AM
I have 5mm pitch ballscrews, 200 step motors @ 1/8 microstep and my steps per mm are set at 320.  ;D
You are spot-on Rene.

Tweakie.
Title: Re: Stepper Motor problem
Post by: rene on July 17, 2011, 08:47:11 AM
Thanks for the quick answer

René
Title: Re: Stepper Motor problem
Post by: rene on July 17, 2011, 09:55:21 AM
Hi Tweakie

I did the test that you told me to do and sometime Z Axis is moving but always in the same direction is moving down never up

Rene
Title: Re: Stepper Motor problem
Post by: Hood on July 17, 2011, 10:57:40 AM
Sounds like your Dir wire is not connected or possibly it is set to the wrong pin in Mach.
Hood
Title: Re: Stepper Motor problem
Post by: Tweakie.CNC on July 17, 2011, 11:03:19 AM
Steppers use a Step signal and a Direction signal. The Direction signal is either high (+5V) for one direction of rotation or low (0V) for the other direction. If the Direction signal is missing or shorted then the the motor will only run in one direction.
It is also possible to have a motor with one wire not connected behave in this manner. With everything switched off check all your electrical connections thoroughly.

Hope this helps.

Tweakie.