PDA

View Full Version : New Mill losing steps



lukecnc2012
02-11-2014, 02:21 PM
Hi all.
Purchased a new mill to start small production prototypes and seems to be loosing steps In y axis.was only cutting model board at 1.5mm depth and 300 on feed rate.
Any advice How to prevent this much appreciated.

Luke

EddyCurrent
02-11-2014, 05:51 PM
Need more info regarding make/model of machine.
Are you using Mach3 with it ? if so, what do you have the motor tunings set to ?

lukecnc2012
02-11-2014, 08:53 PM
Hi thanks for the reply it's running mach3.got 8.2nm motors steppers. Champion 20v conversation.

http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/20141102_194318_zpscrlgqldy.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/20141102_194318_zpscrlgqldy.jpg.html)

http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/20141102_194329_zpsrdppnfyl.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/20141102_194329_zpsrdppnfyl.jpg.html)

lukecnc2012
02-11-2014, 08:55 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/20141102_194256_zpsh9ccilws.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/20141102_194256_zpsh9ccilws.jpg.html)

lukecnc2012
02-11-2014, 08:57 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/20141102_194310_zpsuoa4akcu.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/20141102_194310_zpsuoa4akcu.jpg.html)

EddyCurrent
02-11-2014, 09:37 PM
When you say mill are you meaning a router type machine ?

Numbers seems to be all over the place.

Is the motor layout like this ?
1 on Z axis
1 on Y axis
2 on X axis (X on one side and A on the other ?)

If they are then X and A should have the same settings for a start because they have to work in harmony, the velocity and acceleration on A are too high.
If the machine can't physically achieve the settings you've put it will loose steps

lukecnc2012
02-11-2014, 09:39 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/20141102_130624_zpsp9zpzxpu.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/20141102_130624_zpsp9zpzxpu.jpg.html)

lukecnc2012
02-11-2014, 09:41 PM
Only one motor on each axis the 4th axis is detachable.so currently of the machine.what sort of feed should be reasonable for this machine currently only running 200 mm pm

JAZZCNC
02-11-2014, 11:37 PM
Are you sure it's loosing steps or just not moving the correct amount.? Those numbers for X & Y suggest 2.5mm pitch running 2000 micro steps which would work out 800 Steps per and your not set to that amount so would be some error.?
Similair with Z axis and working on same pitch but with 1000 micro step = 400 steps per again your not quite there.!

Need lot more info to help correctly with setup and what can achieve.

Voltage the drivers are using. (also make and model of drives)
Micro stepping set on drives.
Ballscrew or Lead screw and the pitch. Ie distance traveled for one Revolution.
Units set in Mach Ie: MM or inch

What size motors and frame size Ie Nema 23 or 34.? They look like 34's.!

I see a Laptop in back ground are you using this to run machine via parallel port.?

Give this info and we can help better thou you should be getting much more than you are now without loosing steps.

lukecnc2012
03-11-2014, 02:18 PM
Thank you for the reply will update later with more information

lukecnc2012
03-11-2014, 09:21 PM
Are you sure it's loosing steps or just not moving the correct amount.? Those numbers for X & Y suggest 2.5mm pitch running 2000 micro steps which would work out 800 Steps per and your not set to that amount so would be some error.?
Similair with Z axis and working on same pitch but with 1000 micro step = 400 steps per again your not quite there.!

Need lot more info to help correctly with setup and what can achieve.

Voltage the drivers are using. (also make and model of drives)
Micro stepping set on drives.
Ballscrew or Lead screw and the pitch. Ie distance traveled for one Revolution.
Units set in Mach Ie: MM or inch

What size motors and frame size Ie Nema 23 or 34.? They look like 34's.!

I see a Laptop in back ground are you using this to run machine via parallel port.?

Give this info and we can help better thou you should be getting much more than you are now without loosing steps.

Hi.think the motors are nema 34 there 8.2nm.
I'm using the laptop to run the machine through port.
its set to running in mm.
If possible could you guide me in the direction to find the rest of the information as im not sure where to find this information.
would be amazing to having it running as it should so your help is much appreciated

lukecnc2012
03-11-2014, 09:57 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/IMG-20141103-WA0008_zpsyesdpmlp.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/IMG-20141103-WA0008_zpsyesdpmlp.jpg.html)

lukecnc2012
03-11-2014, 09:58 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/20141103_201313_zps8zxa1qdo.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/20141103_201313_zps8zxa1qdo.jpg.html)

lukecnc2012
03-11-2014, 09:58 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/20141103_201339_zps8ybkurhe.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/20141103_201339_zps8ybkurhe.jpg.html)

lukecnc2012
03-11-2014, 09:59 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/IMG-20141103-WA0010_zps0lhqquac.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/IMG-20141103-WA0010_zps0lhqquac.jpg.html)

lukecnc2012
03-11-2014, 10:00 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/IMG-20141103-WA0006_zpsutcc9aic.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/IMG-20141103-WA0006_zpsutcc9aic.jpg.html)

lukecnc2012
03-11-2014, 10:01 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/IMG-20141103-WA0003_zpsy2benaan.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/IMG-20141103-WA0003_zpsy2benaan.jpg.html)

lukecnc2012
03-11-2014, 10:01 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/IMG-20141103-WA0004_zps4qiza2wi.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/IMG-20141103-WA0004_zps4qiza2wi.jpg.html)

lukecnc2012
03-11-2014, 10:03 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/Mobile%20Uploads/IMG-20141103-WA0005_zpsjfmtbl0j.jpg (http://s941.photobucket.com/user/1990timeismoney/media/Mobile%20Uploads/IMG-20141103-WA0005_zpsjfmtbl0j.jpg.html)

JAZZCNC
03-11-2014, 11:47 PM
Ok well could do with a close up picture of the little white switches on the drives.

Also if you turn each axis screw one revolution how far does it move.?

Big problem could be the Laptop. Mach 3 doesn't support Laptops when used with parallel port and they are a known cause of problems.
My advise is to try a normal computer first before doing anything else. Other option is to dump the parallel port and invest in a external motion control card but won't get into that just yet.!!

Who setup the machine and converted it.? . . . 8.5Nm nema 34 motors is massive overkill for this machine and it's actually reducing performance not increasing. This is a common error due to thinking bigger is better but it's really not in most cases and unless correctly matched regards Voltage etc then they actually reduce performance and waste money.!!

lukecnc2012
04-11-2014, 09:49 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/20141104_204314_zpslwxiousq.jpg (http://s941.photobucket.com/user/1990timeismoney/media/20141104_204314_zpslwxiousq.jpg.html)

EddyCurrent
04-11-2014, 10:36 PM
SW
1 - ON
2 - ON
3 - OFF
4 - OFF
5 - ON
6 - OFF
7 - ON
8 - ON

Output Current(A): 5.7
RMS current: 4.00
micro step: 1600 pulse/rev
Standstill current: half dynamic current

microstep 1600 probably means (360/1.8)x8 = 1600 in which case 1/8 microstep
I think motors are 6A

lukecnc2012
04-11-2014, 11:08 PM
Thank you for your reply.im trying to get more information for you as you've been a great help just a bit unsure where to find the rest.what is a normal feed rate for this type of machine on aluminium

Clive S
04-11-2014, 11:34 PM
Do you have any screens on the cables to the steppers (I don't see any) or perhaps consider cat5 twisted pairs for the step and dir etc. ..Clive

EddyCurrent
05-11-2014, 10:15 AM
what is a normal feed rate for this type of machine on aluminium

I don't know the answer to this as I don't use a machine like it or cut aluminium, it would only be a guess by searching for other people's settings and you can do that yourself.
However I do know you need to find out how far the X and Y move for one revolution of the driving screw.
Also set the acceleration and velocity to be the same for X and Y so they work better on curves.

lukecnc2012
05-11-2014, 02:27 PM
I don't know the answer to this as I don't use a machine like it or cut aluminium, it would only be a guess by searching for other people's settings and you can do that yourself.
However I do know you need to find out how far the X and Y move for one revolution of the driving screw.
Also set the acceleration and velocity to be the same for X and Y so they work better on curves.

thank you for the reply what is the best way to find the steps per revolution. I guess moving the machine in hand wheel is a start.

EddyCurrent
05-11-2014, 06:59 PM
thank you for the reply what is the best way to find the steps per revolution. I guess moving the machine in hand wheel is a start.

No, not how many steps per revolution but how many millimeters does the table move for one revolution of the stepper motor, you need this for both X and Y directions.
Looking at the photo, your stepper motors appear to be directly coupled to the end of the lead screws and therefore have a 1:1 ratio.

In Mach 3 the calculation for 'steps per' is;

((360 degrees / motor step angle) * microstep value) / screw pitch

So for your machine we don't know the screw pitch and that is what you need to do by turning the screw one rev and measuring the table distance moved.

As an example for my machine the calculation is;
((360/1.8) * 8) / 10 = 160 steps per.

Similar to what jazzcnc said but using 1/8 microstep it looks like your machine has a screw pitch of 2.0176mm which sounds a bit odd.

JAZZCNC
05-11-2014, 08:17 PM
Eddy's correct and to do the maths we need the screw pitch. . .BUT . . . There is another way to do this if you don't know. (thou in your case it's not hard to find out)
In Mach on the settings Tab there is an option to "Set steps per Unit" it's just above the reset button.

To do this you will need to accurately measure how far the machine moves. (Tape measure isn't accurate enough)
when you click the button it will ask which Axis to calibrate then after this it will ask how far to move. Enter an amount, soon as you click enter the machine will move in a positive direction. Mach will then ask how far it moved, so measure distance and enter into box then it will calculate the STEPS PER for you.

Do this for each axis and you'll be set. The longer the distance you can measure and the more accurate the better.

lukecnc2012
05-11-2014, 08:38 PM
hi guys getting an error saying ( cant have a move of zero) this comes up when i go to type in the distance i want the machine to move

lukecnc2012
05-11-2014, 08:39 PM
http://i941.photobucket.com/albums/ad258/1990timeismoney/20141105_193304_zpsb1bricmv.jpg (http://s941.photobucket.com/user/1990timeismoney/media/20141105_193304_zpsb1bricmv.jpg.html)

lukecnc2012
05-11-2014, 08:52 PM
also have noticed the machine does not like moving to axis at same time manually. Ive been programming and 5axis machinist for last 10 years but this has got me confused.

EddyCurrent
05-11-2014, 09:05 PM
Maybe watch this video;

http://www.youtube.com/watch?v=SG-RRpInAts

lukecnc2012
05-11-2014, 09:13 PM
thanks will have a look.

lukecnc2012
05-11-2014, 09:55 PM
Is there any companies that can set these up.as this is all very new and not sure I'm 100% with adjusting stuff

JAZZCNC
05-11-2014, 10:43 PM
Where abouts in uk are you.?

lukecnc2012
06-11-2014, 07:53 AM
Shipston on stour.

lukecnc2012
07-11-2014, 07:47 PM
still researching information on getting it set up hopefully will get there soon, I have the option to have encoders fitted would this be worth it

EddyCurrent
07-11-2014, 09:23 PM
With encoders you get feedback so things like missing steps should not happen. Many people use just stepper motors without feedback and they work fine, but only when everything else is right. If your machine is not working right, as you are saying, then I would suggest the reason needs to found before thinking about fitting encoders otherwise you would probably just be wasting money.
I think you need to getting it working as it is first then you might decide it's good enough without encoders. I don't know why you didn't follow through with the free advice here.

lukecnc2012
07-11-2014, 09:41 PM
Thanks for the reply. I'm trying to follow the advice as it is much appreciated watched videos on YouTube etc and the advice is great have an understanding of what is required and tried to measure the moving to work the calculations out for the motors but for some reason I get an error come up

Clive S
08-11-2014, 12:03 AM
Thanks for the reply. I'm trying to follow the advice as it is much appreciated watched videos on YouTube etc and the advice is great have an understanding of what is required and tried to measure the moving to work the calculations out for the motors but for some reason I get an error come upLuke
I don't think you are helping yourself, if you want help you need to give feedback to the questions asked. Is the mill fitted with ball screws or acme type screws. What is the voltage of the power supplies etc. you need to say exactly what is going wrong to sort this out methodically.
You might be losing steps due to noise on the cables etc. ..Clive

JAZZCNC
08-11-2014, 10:57 AM
With encoders you get feedback so things like missing steps should not happen.

Encoders won't stop missed steps with Mach3 it's an open loop system and doesn't correct position from encoder feedback. You can connect encoders to Mach3 but they will only display position in Encoder DRO's which you can compare with Mach's actual DRO's but Mach can't do anything about any error.!

Clive is correct you haven't answered all the questions fully and more detailed information, or better still a Video of what exactly is happening will help greatly towards sorting this out.

To be fair it's not rocket science setting the machine up but first you need to establish if there is any mechanical issues. Tight ways, binding screws etc.

Next check all wiring for loose connections or bad wires. It's common for a loose wire at the drives to cause intermitant errors like missed steps.
Like Clive mentioned Noise can be an issue if just occasional errors so check grounding and make sure all signal and Motor wires are shielded with just the control box end going ground.
Check drive settings are all correct. Also check Motor phase wiring is correct.? The motor coils have + & - and so do the drive motor outputs so try to make sure they match up. Things will work ok if other way around but with some drives and controls then it can lead to missed steps on directional changes if the Step pulse edge is on wrong side.

This brings me to the parallel port and BIG possibilty what is your problem.? Laptops and Modern PC's often have 3V parallel ports and this causes problems with missed steps due to not enough difference between Logic voltage.
In an nut shell the way it works is 0V = off(low) and 5v=ON(high) now there's a tolerence in the logic to account for noise etc so 0-2V will work for OFF and say 3-5v for ON (these are rough figures and the drives have the final say.!) So as you can see with only 3V to play with there's not enough room for error as 0v is still off and 3V is ON. So any noise on signal lines can easily trick the drives into thinking these where High or Low signals so either stepping more steps or going on wrong direction.? It's a lottery really with noise and the odds stacked even more with only 3V.!

Laptops also have aggresive energy management often built into the bios so will shut down things like the parallel port and CPU usage when not being used. Now due to how Mach3 parallel port driver works Windows doesn't even know it's there so will attempt to do this.! Even after turning off windows energy saving options If the energy management takes place in the bios which often does with laptops then this can't be stopped.
Mach or should say mach parallel port driver is very sensitive to pulse changes at the best of times and can easily drop or loose pulses if things are not perfect or pushed too hard, so with a poor parallel port or Laptop in particular then chances of errors are hugely increased.! . . . . .. This is why I won't use the parallel port and only use external motion control cards.! (life too short for chasing ghost's.!)

Your BOB may pull the signals upto 5V I'm not sure but it won't and can't account for the Laptop energy management and this is why they are NOT supported by Artsoft. In 99.9% cases Laptops can only be used reliably with a external motion control card.

SO DUMP the laptop.
Check the mechanicals.
Check the Electrical.
Check the drive settings.
The rest is just case of setting Mach3 correctly which we have shown you how or can expalin how and if the above are correct the machine will work.

I will PM you my phone number as it's often easier to help or expalin on the phone.

EddyCurrent
08-11-2014, 11:53 AM
Encoders won't stop missed steps with Mach3 it's an open loop system and doesn't correct position from encoder feedback. You can connect encoders to Mach3 but they will only display position in Encoder DRO's which you can compare with Mach's actual DRO's but Mach can't do anything about any error.!

I didn't expect it to it should be a function of the motor driver.

JAZZCNC
08-11-2014, 02:56 PM
I didn't expect it to it should be a function of the motor driver.

Calm down Dear wasn't having a go was explaining for OP benifit that encoder won't make a jot of difference.! . . . BUT . . . To respond this one then NO a true closed loop Controller would handle the positional error and talk to the drives regarding correction. The Analog Csmio controller takes encoder feedback and talks directly to the drive but still not true closed loop as it can only fault on error but not correct any error.