Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: komar1970 on October 08, 2011, 08:52:12 PM

Title: gecko540 problem under mach3
Post by: komar1970 on October 08, 2011, 08:52:12 PM
I can not believe that  you can set 100% perfect gecko540 with mach3 , I am working on this more then 4 months I have a big cnc machine sx3 This problem began  when I changed it to cnc. at small distances 40mm x 40mm 30mm hole in the middle , the  machine  cut  me  Y axis 40mm X axis 40.22mm inside  hile  is prefekt 30mm.
at a distance 140mm x 416mm the machine is  cuting 140.27 Yaxis  and 416.32 X  axis  I checked a dozen times my backlash , on Y axis is 0.01mm 0.0004" on
X axis  0.016mm 0.0006" in a machine that weighs about 250 kg seems to be ok, This was not so easy to get this result but my whole machine is converted, My machine has THK Linear and, therefore, this backlash has improved by up to 0.07mm I do not know what more to change? in setting mach 3 to remove the problem hell me please

sorry for my english, I trying to write as best I can
Title: Re: gecko540 problem under mach3
Post by: Hood on October 09, 2011, 01:58:58 AM
Can you attach your xml so I can see what your settings are without having to ask 100 questions :)
Hood
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 10:11:45 AM
that is  file
Title: Re: gecko540 problem under mach3
Post by: Hood on October 09, 2011, 10:43:56 AM
What kind of screws do you have?
Your config looks ok except you have the E-Stop set to pin 16 and that is an output pin so it is wrong.
Hood
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 10:44:01 AM
motor  tunning 1
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 10:45:39 AM
i have  16mm pinch 5mm ballscrew
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 10:47:53 AM
how it should be set?
Title: Re: gecko540 problem under mach3
Post by: Hood on October 09, 2011, 10:57:27 AM
Run the driver test and see if the graph looks flat.
You could try using sherline mode but to be honest it sounds like a mechanical issue as your steps per unit are set correctly (assuming direct coupling of motors).
Hood
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 11:19:19 AM
I have zero backlash coupling. so tell me how to set the E-STOP  . In  MACH3 I have opportunities to set the step pulse , and also there is a problem if I set the distance of 1 cm  10mm , machine goes to 10mm distance so I have to enter in mach3  how far the machine is moved,  the  digital indicator shows me 10mm .it means that it is ok. So why in the distance of 70mm   digital indicator does not show  the machine defeated this distance. I just set in the 1 cm and very possible I should in set at 5cm or 10 cm thanks  for  felp
Title: Re: gecko540 problem under mach3
Post by: Hood on October 09, 2011, 11:33:01 AM
You set your steps per unit to match your hardware, if your hardware is accurate then so will the output.
You have Geckos so microstepping is 10 and your steppers are 200 per rev so that equals 2000 steps per motor rev. Because you have direct coupling to 5mm pitch ballscrews one motor rev will equal 5mm axis travel. So the steps needed for 1 unit (mm in your case) is 2000/5= 400 and that is what you have.

You could try using Sherline mode to see if that helps, it is on Ports and Pins main page.
Does the driver test look ok? To run the driver test close Mach then look for drivertest.exe in your Mach3 folder and double click it.

Hood
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 12:27:09 PM
Mach3 folder and double click


it is  ok    is straight

I checked it in different ways. I set in Sherline mode  ,also cuts the longer parts , so I'm sure , I am not able to cut out such pasrt as I have in the project  . maybe with a different cnc  driver I mean gecko 203v and c11  . This problem is not only with this machine, it was with every my machine. I have a question for people who have a driver540 if ever  have set gecko540 perfect whit  mach 3
Title: Re: gecko540 problem under mach3
Post by: Hood on October 09, 2011, 01:40:01 PM
I think if it was a common problem with the G540 the internet would be full of stories about it. Maybe you should contact Gecko and see what they have to say.
Hood
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 01:54:20 PM
and that  is  the  problem because they say the do not know anything about MACH3 and setup.

I know I have to change the driver and see what will be  after . hood I request of you if you know some who jet driver ok? hood I have a question for you? if you know some driver that will be the best
Title: Re: gecko540 problem under mach3
Post by: Hood on October 09, 2011, 02:00:51 PM
I dont see anything wrong in your xml and your steps per unit are correct according to the info you provided so I am inclined to think it is a mechanical issue or possibly noise bu that is unlikely if it is repeatable.
May be an idea to contact Jeff Birt as he sells the G540 and has set up a lot of machines using Mach and the G540.
Hood
Title: Re: gecko540 problem under mach3
Post by: HimyKabibble on October 09, 2011, 02:07:58 PM
and that  is  the  problem because they say the do not know anything about MACH3 and setup.

I know I have to change the driver and see what will be  after . hood I request of you if you know some who jet driver ok? hood I have a question for you? if you know some driver that will be the best

There are literally thousands of people using G540s with ZERO problems.  It is one of the most popular, and robust, stepper controllers out there, and I have yet to hear a single complaint that was not tracked down to improper installation or configuration, or outright abuse.  I can assure you, whatever your problem is, it is NOT the G540.  There is something else wrong in your system, be it mechanical or electrical.

Regards,
Ray L.
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 02:15:09 PM
and maybe these people have never checked if they are cut very precisely parts
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 02:20:27 PM
I think I checked everything already? volts is ok, 3.5 for each 2,4,6,8 i dont no  wath  to  do more
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 02:22:59 PM
I'll check again today backlash on the axes
Title: Re: gecko540 problem under mach3
Post by: BR549 on October 09, 2011, 02:50:39 PM
Komar old buddy it may be time for you to take the next step. IF you cannot Trust the software/hardware and refuse to believe it could be your design THEN it may be time to step UP to the commercial side of things and invest in say a new FANUC controller/ ac servo hardware setup. NOW I know for a FACT that they can do the job for you.

But then again so can the Mach3/G540 here ??? Use it EVERY day on a 50"X60" table HUM?????  but you seem to NOT want to believe that part (;-).

Best of luck to you, (;-) TP
Title: Re: gecko540 problem under mach3
Post by: HimyKabibble on October 09, 2011, 03:49:07 PM
and maybe these people have never checked if they are cut very precisely parts

The G540 has been in production for quite a few years, and, as I said, has been used by thousands of people.  Do you honestly believe NONE of them EVER checked the accuracy of their machines?  Are you THAT confident that the problem can't possibly be in your machine, that you're willing to believe all those thousands of satisfied customers are basically idiots?  If so, then I urge you to ditch the G540, spend a lot of time and money on G203s,  and then when you find you're still in the same position as you are right now, perhaps you'll be a little more willing to listen.

"volts is ok, 3.5 for each 2,4,6,8" - I have no idea what that means....  3.5V?? Where??  2,4,6,8??  What is that??

Regards,
Ray L.
Title: Re: gecko540 problem under mach3
Post by: RICH on October 09, 2011, 07:09:35 PM
komar1970,
Quote
This problem is not only with this machine, it was with every my machine

You have numerous machines and computers. Can't tell if you ever realy resolved  any of the posted problems you are having. Some of the threads seem like they never come to a conclusion. I am not sure which machine or computer you are using at any given moment. One would think that after ONE YEAR
you would know how to set the steps per unit, be able to confirm the steps, set backlash ( backlash dosen't go away or get better), and understand if you deviate from the calculated how that relates to axis travel. Sorry if this sounds harsh ....but can't help fix the door hinges when the door is swinging  back and forth.

So keep to one machine, computer, xml file used for the setup, the type of screws  ( are they rolled / precision ground / how supported / etc.).

Maybe I am missing something, ???

RICH


Title: Re: gecko540 problem under mach3
Post by: RICH on October 09, 2011, 07:22:57 PM
komar1970,
1.What computer are you using? Dose it have on-board graphics ( is it the Dell)?
2.What version of MACH?
3.What kernel speed?
4.Run the driver test and post a picture of what the graph looks like.
   How close are the PULSES PER SECOND to the kernel speed?
5.Post your xml file.

RICH

Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 10:44:18 PM
ok i will add video
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 11:24:17 PM
Are you THAT confident that the problem can't possibly be in your machine, that you're willing to believe all those thousands of satisfied customers are basically idiots?

 write to you so. if you were trying for 3 years with 4 komutery , change a few machines. and on each machine problem ?! you say why did not you call to somebody? I called the gecko . Gecko at all times says that they have no idea how to set the gecko540 with  MACH3 . I called to MACH3 support! This guy from MACH3 logged in to my computer's  verifiability all , and nothing helped , He said only the MACH3 is well set , but I have been with the problem unsolved . I'm sorry that I offended someone, I had not thinks of that at sorry men
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 09, 2011, 11:45:53 PM
komar1970,
Quote
This problem is not only with this machine, it was with every my machine

You have numerous machines and computers. Can't tell if you ever realy resolved  any of the posted problems you are having. Some of the threads seem like they never come to a conclusion. I am not sure which machine or computer you are using at any given moment. One would think that after ONE YEAR
you would know how to set the steps per unit, be able to confirm the steps, set backlash ( backlash dosen't go away or get better), and understand if you deviate from the calculated how that relates to axis travel. Sorry if this sounds harsh ....but can't help fix the door hinges when the door is swinging  back and forth.

So keep to one machine, computer, xml file used for the setup, the type of screws  ( are they rolled / precision ground / how supported / etc.).

Maybe I am missing something, ???

RICH

 I'm in shock. I never wrote the I do not know how to set the machine , I have a problem with prcision  of cutting  parts , people from MACH3 can not hellp me ,  gecko will not help, because hi says that has no idea how to set the gecko540 with MACH3 and refer you to the MACH3
Title: Re: gecko540 problem under mach3
Post by: HimyKabibble on October 09, 2011, 11:53:25 PM
Please explain what you mean by this:  "volts is ok, 3.5 for each 2,4,6,8"

What stepper motors are you using?
What kind of power supply are you using?  What voltage?  What current rating?
What current limit resistors are you using on the G540?
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 12:12:06 AM
my setup
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 12:13:25 AM
next
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 12:18:48 AM
file from me gecko
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 12:33:07 AM
Please explain what you mean by this:  "volts is ok, 3.5 for each 2,4,6,8"

What stepper motors are you using?
What kind of power supply are you using?  What voltage?  What current rating?
What current limit resistors are you using on the G540?


NEMA 23   620oz

motor   is  current 3.5A
 inductance 6.4   beacuse I am set   the setp pulse to 5   and speede  to 450
 resistors is 3.5  
power supply 350 48v
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 12:39:31 AM
I noticed the problem is also in the end mill , if the end mill is a little pushed in COLLET runs to the side , and it also gives the parts is larger 0.06mm  on both axes
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 12:54:06 AM
Please explain what you mean by this:  "volts is ok, 3.5 for each 2,4,6,8"

I made a mistake has no to be current

gecko told me I should check if the gecko Outbound current in driver is ok  and is  ok  is not power
Title: Re: gecko540 problem under mach3
Post by: HimyKabibble on October 10, 2011, 01:08:32 AM
Please explain what you mean by this:  "volts is ok, 3.5 for each 2,4,6,8"

What stepper motors are you using?
What kind of power supply are you using?  What voltage?  What current rating?
What current limit resistors are you using on the G540?


NEMA 23   620oz

motor   is  current 3.5A
 inductance 6.4   beacuse I am set   the setp pulse to 5   and speede  to 450
 resistors is 3.5   
power supply 350 48v

"inductance 6.4   beacuse I am set   the setp pulse to 5   and speede  to 450" - I don't understand this, since step pulse width has no relation whatsoever to motor inductance. 

"resistors is 3.5" - I hope 3.5K?

"power supply 350 48v" - 350 What??  What is the current rating of the supply?  What kind of supply - linear, regulated, switcher?

Those are rather high inductance motors, which will limit high speed performance.    Ideally, you'd want to be running those on an 80V supply.

Are you running any belt or gear reducers, or direct drive from the motors to the ballscrews?

Regards,
Ray L.
Title: Re: gecko540 problem under mach3
Post by: RICH on October 10, 2011, 05:48:58 AM
komar1970,
You did not answer the following questions.
 
1.What computer are you using? Dose it have on-board graphics ( is it the Dell)?
 
2.What version of MACH?

My comments below and please don't respond to them.
- I didn't ask for a video. The video can  help as it will allow us to hear what the steppers sound like when you are
 runnning them. I need specific answers to every question that is asked and information on any item we request.
 Stay focused...... please.
- No need to post pictures of your configuration. That's why we  asked for the xml file.

- DO NOT  change that xml file  except as we suggest or as we modify it.
IE; You posted the xml file and the step pulse duration is 2 and direction is 0. Now in your reply #29 you say the pulse duration is set at 5.

RICH
Title: Re: gecko540 problem under mach3
Post by: RICH on October 10, 2011, 06:03:04 AM
Quote
I have a problem with prcision  of cutting  parts , people from MACH3 can not hellp me


We can  help you, but you need to help us help you. The above comment does nothing to resolve your problems.
The people here are very knowledgable, they have been there, done that and produce precision parts.
Knock off the attitude and reply to requested information.

RICH
Title: Re: gecko540 problem under mach3
Post by: RICH on October 10, 2011, 06:12:26 AM
Quote
I noticed the problem is also in the end mill , if the end mill is a little pushed in COLLET runs to the side , and it also gives the parts is larger 0.06mm  on both axes

That's spindle / tool runout and is a different problem. So noted. We will deal with each problem, but one at a time.
Stay focused on answering requested information.

RICH 
Title: Re: gecko540 problem under mach3
Post by: RICH on October 10, 2011, 06:24:13 AM
komar1970,
Please provide additional info on the motors.
1. Are all the motors the same for each axis?
2. Provide a link to the manufacturer or where you purchased them from. Need to know the exact motor model number.
3. Who manufactured the mill ? Provide a link to the maufacturer along with model number.

RICH


   

   
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 10:50:21 AM
ok  rich I will write again in one post.
My machine is SX3  is completely modified with THK SRS15 Linear Motion , ball screw  16mm pinch 5 , zero backlash coupler coupling , spindle  bearing   NSK  ABEC 7  higest precision .

step pulse lined up, I cut out all the time the same part size  40mm x 40mm  and  hole in the middle for the Bearing 30mm

turned out of the 5 is most similar to the dimensions I turned out the same rates of speed  no more like 450mm/m if I changed these 2 setup , the machine even more errors

I wrote about the spindle only because end mill is 60mm long , if it is more than 25 mm on the outside form the  spindle , on the same setup 5 for step-pulse and speed 450 mm / m  My part was was bigger , other dimensions it means the end mill bends to side ,I have a backlash on the spindle 0.01mm
the problem is not with the backlash on the spindle , the problem is with the end mill

My pc is dell

I do not know if you think about it  on-board graphics  (intel  82865G)

I have a mach 3 is R2.58

SOFTWARE  RHINO 4.0 AND RHINO2.0

I checked yesterday backlash on the ballscrew  on Y axis  is 0.01mm  and on X 0.017mm

cnc driver  is gecko540

STEPPERS MOTOR  on 3 axis
Step Angle: 1.8  +/- 5% / Step
Voltage: 4.2 V
Current: 3.5A/Phase
Resistance: 1.2 +/- 10% Ohms/Phase
Inductance:  6.4 +/- 20% mH/Phase
Holding Torque: 440 N.cm or 620 oz/in.
Insulation Class: B
Lead Style:  FF46/0.5
Flange Size: NEMA23




I changed everything to fix my machine precision Y and X axis I can move with one finger.  This gave me a better precision
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 11:07:53 AM
I am very please about forbearance, I have a problem with English. and this is the biggest problem
Title: Re: gecko540 problem under mach3
Post by: BR549 on October 10, 2011, 01:54:19 PM
OK simple test. Set up a test block on the table touch off on the block and then set axis 0. Command a move of 100.00mm. Measure how far it actually moved.  measure to the same tolerance as the move .00mm.

What were the results? I have NEVER seen a Gecko/stepper move out of tolerance IF it was installed correctly. I HAVE seen MANY machines that could not hold tolerance on a bet. AND we are talking an SX3 (;-)


(;-) TP
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 02:15:32 PM
 have a 3'' blocks each
Title: Re: gecko540 problem under mach3
Post by: derekbpcnc on October 10, 2011, 02:22:59 PM
I noticed the problem is also in the end mill , if the end mill is a little pushed in COLLET runs to the side , and it also gives the parts is larger 0.06mm  on both axes
Hi Komar,

0.06mm is a fairly small error which can be a result of the machine stiffness /  feed / rpm / cutter condition.

Does your program have a roughing pass, then a finishing pass (maybe several finish passes) and then a spring pass?
For an accurate 30.0mm bore I'd normally rough out to within 0.25mm, take 2 finishing passes at 0.125 each and then a following spring pass.
To take into account cutter wear, flex of the machine and tool holder, you'd also need to have cutter compensation to adjust the finished size.

I had a quick look through the old posts of this thread and can't see any details of the material / thickness  / type of cutter you are using.

ATB
Derek



Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 02:41:11 PM
block is about 3''is a 76.2mm I told the machine to go the distance 76.2 machine is not reached at this distance

I had to move manually it about 0.51 more, that indicator showed me a zero
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 02:49:44 PM
I noticed the problem is also in the end mill , if the end mill is a little pushed in COLLET runs to the side , and it also gives the parts is larger 0.06mm  on both axes
Hi Komar,

0.06mm is a fairly small error which can be a result of the machine stiffness /  feed / rpm / cutter condition.

Does your program have a roughing pass, then a finishing pass (maybe several finish passes) and then a spring pass?
For an accurate 30.0mm bore I'd normally rough out to within 0.25mm, take 2 finishing passes at 0.125 each and then a following spring pass.
To take into account cutter wear, flex of the machine and tool holder, you'd also need to have cutter compensation to adjust the finished size.

I had a quick look through the old posts of this thread and can't see any details of the material / thickness  / type of cutter you are using.

ATB
Derek






ALUMINIUM TOOLING PLATE  3/4 END MILL CARBIDE
Title: Re: gecko540 problem under mach3
Post by: BR549 on October 10, 2011, 03:05:04 PM
""block is about 3''is a 76.2mm I told the machine to go the distance 76.2 machine is not reached at this distance I had to move manually it about 0.51 more, that indicator showed me a zero """



OK that tells me either your steps per unit  is wrong OR you are loosing steps. Calculate the % of error of the move then adjust the steps per by the same amount and try again. IF you repeat the exact test 10 times will it be consistantly off by the same amount???

The test you did shows and error of .67% (.0067) so you would need to raise the Steps per from 400 to about 402.68

If you can get the accuraccy to be constant with a steps per adjustment then you have your answer. IF it still comes and goes then you are loosing/gaining  steps from another part of the process.  TEST(repeatedly) and eliminate 1 thing at a time.

(;-) TP



Title: Re: gecko540 problem under mach3
Post by: HimyKabibble on October 10, 2011, 03:16:48 PM
3/4" is a VERY large tool to be using on a little X3.....

Regards,
Ray L.
Title: Re: gecko540 problem under mach3
Post by: derekbpcnc on October 10, 2011, 03:23:24 PM
3/4" is a VERY large tool to be using on a little X3.....
Regards,
Ray L.
What I was thinking - I'd be only using a 10mm cutter on my bridgeport.
8mm would be a better size on the X3.
ATB
Derek
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 03:33:41 PM
I have 6 mm end mill
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 04:19:58 PM
set the machine at 402.68  This was a little too much the ok  is on 402  at a distance 76.2mm  but when I measured the distance to 2'' 50.80mm
machine is not reached at this distance traveled only to 50.60mm error  is .0.20mm  and this is the problem, if you  set to a distance, on the other distance is the error
Title: Re: gecko540 problem under mach3
Post by: HimyKabibble on October 10, 2011, 04:42:31 PM
OK, try this:

Tell it to move 1"/25.4mm, measure exactly how far it DID move.
Return to 0.000.  Does it return to 0.000?
Tell it to move 2"/50.8mm, measure exactly how far it DID move.
Return to 0.000.  Does it return to 0.000?
Tell it to move 3"/76.2mm, measure exactly how far it DID move.
Return to 0.000.  Does it return to 0.000?
Do each of these 3 times, and report ALL the numbers.

Regards,
Ray L.
Title: Re: gecko540 problem under mach3
Post by: BR549 on October 10, 2011, 05:20:15 PM
IF you repeat the test at 3" does it repeat ok each time??  IF so then it SOUNDS as if you have a feedscrew problem IT is not consistant and has ERROR in the manufactoring of it. ERROR in the grinding of the screw. OR you may have a GIBB problem in the table itself. A very well known problem in the low cost china made stuff. It is LOW COST for a reason.

You may be able to use the screw MAPPING function to work some of it out.

(;-) TP
Title: Re: gecko540 problem under mach3
Post by: RICH on October 10, 2011, 05:59:27 PM
komar1970,
1.THK SR15 is a linear motion "RAIL".                                           
   I want to know the quality of the ball screw you are using. Is it rolled or ground?
   What are the specs for the ball screw? ie; lead deviation

2.Do you have a curve for the motors?
   How many wires do they have? Would be nice if you just posted where you got them and I will find what i am wanting if it's available.

3. Power Supply - 48 volt
   Please answer the questions Ray asked you:
  What is the current rating of the supply?
  What kind of supply - linear, regulated, switcher?
  Did you assemble or put the controller together from parts?
  If you purchased the controller, post info on it.

RICH
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 06:42:42 PM
ok   i setup  the  motor tuning   for X axis  to 402.5
I checked how the machine goes into the distance

25.4 mm   Distance is not reached 0.06mm it is ok
50.80mm Distance is not reached  0.02mm it is ok
76.20mm Distance too far 0.108mm
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 06:46:02 PM
IF you repeat the test at 3" does it repeat ok each time??  IF so then it SOUNDS as if you have a feedscrew problem IT is not consistant and has ERROR in the manufactoring of it. ERROR in the grinding of the screw. OR you may have a GIBB problem in the table itself. A very well known problem in the low cost china made stuff. It is LOW COST for a reason.

You may be able to use the screw MAPPING function to work some of it out.

(;-) TP



it goes every time in the same place, the problem is if you set the machine at a distance 76.2 it on shorter distances is bad
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 06:55:54 PM
Power Supply i buy from ebay

http://www.ebay.com/itm/gecko-4-axis-drive-4-taig-maxnc-sherline-cnc-lathe-mill-/160645363378?pt=LH_DefaultDomain_0&hash=item256735b6b2

ballscrew  ground NSK  C1 16MM  PINCH 5MM

stepper motor 8 wires

http://www.ebay.com/itm/Gecko-G540-w-Three-Nema-23-Steppers-620-oz-in-motors-/110748837990?pt=LH_DefaultDomain_0&hash=item19c9252866
Title: Re: gecko540 problem under mach3
Post by: RICH on October 10, 2011, 07:02:55 PM
So what kind and quality of ball screws do you have as i have requested in reply #51?

Not all ball screws are the same. The lead can vary, the lead can be different on going the opposite direction.
Lets not get into the lead error at this time since it is just one component of the system.

You calculated the steps  per unit as 400. So you should first check and adjust based on a long travel difference.
ie; If the steps are correct for say 10" and then you try 1" , how much it is off by at 1" will be small as compared to the long distance
if the screw lead error is linear over the long distance. Sometimes that is not the case.

But........I would rather you test a few things to find max velocity and acceleration first irrelavant of the exactness of the movement.

So keep answering the questions, please.

RICH
 
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 08:53:58 PM
I have block the longest is 9 "  i set  the  stp  to 400 in any way I could not get there in the distance 9" 228.6mm  I change everything step pulse vol, ace, it did not work , I had to change the step to 400.7596819 and then at 9''was ok ,  as I check several times this distance . after  I changed the distance to 1 inch , and at distance machine just traveled 25.2mm ,  as you can see all the time is the same problem  . gentlemen, I want to write again , This is not the only problem with this machine I have 4 machines , and 2 are on gecko540 and the same problem. one on NSK ball screw whit thk Linear   and the second ball screw form china  and  to thk Linear . 
I wonder if this is not a problem with the power support , the seller may put some cheap power supply, if you can give me some good power supply, I will exchange
Title: Re: gecko540 problem under mach3
Post by: RICH on October 10, 2011, 09:02:56 PM
komar1970,
One machine at a time. I want it to be the one you have been describing all along in here with the C1 ball screws. We'll address the axis moves soon.
-----------------
How do you have the steppers wired? ie; Series or Parallel

RICH
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 09:04:36 PM
Series
Title: Re: gecko540 problem under mach3
Post by: RICH on October 10, 2011, 09:10:42 PM
Just one last question,
What is the Dell computer model number? ie; Optiplex GX520

RICH
Title: Re: gecko540 problem under mach3
Post by: RICH on October 10, 2011, 09:15:29 PM
oops, forgot to ask,
I assume you have the PC  bios set to EPP mode??

RICH
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 09:16:56 PM
yes Optiplex GX520

Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 09:17:22 PM
oops, forgot to ask,
I assume you have the PC  bios set to EPP mode??

RICH
yes  i have
Title: Re: gecko540 problem under mach3
Post by: RICH on October 10, 2011, 09:37:33 PM
I have asked a lot of questions and will given you my take on the whole system. Not today.
We will then try a few tests .

I do have a concern though....that DELL GX520 has on-board graphics.
I spent hours trying to find a fix for that computer, I know since i tried to use that one for CNC. Works great for everything
EXCEPT cnc here. Mine put a bad  pulse signal ( ringing )  out to the drives and the result were missed steps, low velocity, etc. There is nothing i could to fix that  problem on mine. Yes it worked along with a SmoothStepper.

Stay tuned....till tomorrow,
RICH

 
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 10, 2011, 09:42:49 PM
ok
Title: Re: gecko540 problem under mach3
Post by: RICH on October 11, 2011, 07:20:55 PM
komar1970,

COMPUTER
1. I have major concerns about your Dell GX 520 since I have that one and also tried other Dells and found them to be
problematic for CNC use. All the comments that follow will assume that the pc is not a problem.
So trying to set the steps per unit correctly will be useless if one of the main components of the system is bad.
Skipping steps, reduced velocity and accel are just a few tell tale signs. It would be nice to be able to
substitute / try a different pc ( no laptops or  other Dells)  to confirm.  You could use a digital o'scope to have a look
at the pc output signal.

2. Even though you do have the Bios set for EPP mode per Gecko recomendations, there is no way to  remove
   the signal which is causing a bad pulse. You may be able to use a different video card and pp card.You can also
  use an external device such as a SS, but, I would recommend a new / different computer at current pc prices today.

3. Your pic of the driver test at 25k seemed ok ,but what happens if you move your mouse, I am also guessing
that the kernel speed is probably changing significantly when running Mach.

4.BTW, never noted that you have a break out board, etc. , so I assume the connection path is pc to drive to steppers.

  
MACH
1.Suggest that you upgrade from 2.58 to a current lock down. Have a look at the current revision listing to see all the
changes that have been made.

2. Configuration - based on your xml file that you posted:
   Steps per unit - 400 is correct based on calculations.

3.  In the attached xml i changed the velocity  to 250 / accel to 100 / step and dir us to 4
    Couldn't find a recommended pulse and step setting for the drives, would think that 2us would be min and
     longer like 3-5us should be ok.

4. Fix the attached XML since you have wrong pins assigned:
   - for input signals you are using PIN 16.....( must be 10,11,12,13,15)
   - for output #2 you are using PIN 1....( only use the pins that are listed below the table)
   - Do not duplicate Pin assignments
  

DRIVES- MOTORS - POWER SUPPLY
1. Don't think it's a G540  drive problem. Swapping cables to different motors would quickly pinpoint if there was a bad drive.

2. Couldn't find a recommended pulse and step setting for the drives, would think that 2us would be min and
   longer like 3-5us should be ok.

3.The 3.5 K resistor provides for max drive current output which is ok.

4.You have 3 motors wired in series @ 3.5a each. ( 3.5 x 3=10.5 amps max x60%= 6.3 or more required min)
   6.3 amps x 48 volts =302 watt supply. Your switching supply is rated at 400 watts. So  the power supply
  should be  is adequte in both voltage and amps. We will only test one axis so more than enough.

3.Same motors for all the axis. You never remarked about the Z axis. Dosen't matter since we only want to get
  one axis running correct at this time and the others can  follow later.

4.I found info on your motors from the EBAY info link but here is a link specific to the motors  
 http://www.modelshopcnc.com/index_files/motors.htm.
 You have them wired in series and the drive current is set appropriately for the motor. No motor curve is
  available, so what actual torque &  rpm relative to the  stated 620 in / oz  is not known.  
 Will just need to find what  the max velocity.  

Mill - AXIS COMPONENTS
1.Don't have any comments on the X3 mill. Run out of the end mill is not a concern at this time and can be addressed later.

2. Ground NSK  C1 16MM  PINCH 5MM is high end on the lead accuracy and with a matching ball nut you should not have
   linear inaccuracies during axis moves unless the step per unit is incorrect, the screw is not manufactured to spec or worn,
  or you have axial play in the thrust bearings. You will always have some small amount backlash.
  Thus i will assume that the ball screw is mounted   / supported correctly, and the bearings are preloaded.

 You did note that the  backlash was: Y axis  is 0.01mm ( .0004")  and on X 0.017mm (.00067")

So given the above see my next posted reply,

RICH
Title: Re: gecko540 problem under mach3
Post by: RICH on October 11, 2011, 07:46:15 PM
komar1970,
I would like see what the max velocity is using the DEll.
So try jogging for say 75mm ( i set the hot keys up in the xml and you can change them as you wish) starting with the 250 velocity and increase
it by doubling it until the motor skips. Don't change the acceleration value. Post the value where the motor skipped. Then change the velocity to
1/2 the value were it skipped, save settings, and post the max value.

You already played with the steps per unit. You should not be seeing the errors you are seeing with the type of ball screws you have.
Maybe try with saved velocity value from above and again post the results.

Now go borrow a PC from somebody and see what happens when you test using  a different PC and the modified xml from the above tests.
Make sure that the replacement pc has 5.0 v pp and no on-board graphics.

Till then,

RICH
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 11, 2011, 08:20:39 PM
whot  it is  i cent  find nothing  pc 5.0 v pp
Title: Re: gecko540 problem under mach3
Post by: RICH on October 12, 2011, 06:38:41 AM
Cam some one using  a G540 comment if the PP needs to be 3.3V or 5.5V?

komar...Some PP's are dual voltage and provide a switch for selection. Most new pc's are 3.3V. New cards can be purchased which
are 3.3V or 5.5v or are dual voltage. Your Dell is 5.5V.
RICH
Title: Re: gecko540 problem under mach3
Post by: budman68 on October 12, 2011, 12:26:39 PM
Cam some one using  a G540 comment if the PP needs to be 3.3V or 5.5V?

Hi Rich,

Quoted directly from Mariss Freimanis on the CNC Zone 04-27-2011 :

"The G540 inputs from the DB-25 connector are designed to work with 3.3V and 5V logic levels."

But I will also add that for me, the G540 did not work as "smoothly" on my laptop as compared to the desktop PC. So I do think that could be at play here depending on the output pulse.

Dave
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 12, 2011, 12:33:48 PM
hi rich. I do not understand anything of this , I checked today on the set  step 400m/mi  my Machine on Y and X axis , machine can not overcome on two axes at a distance 76.2mm 3 " loses on 2 axes  0.31mm ,my question.?  if  I cut the same parts Y-axis cut me  ok  hole ok  bath the  X axis is  long over 0.25 i. After all, on two axes does not overcome the distance 76.2mm, and is the same difference 0.31mm.I'm already stupid, I do not know what I think
Title: Re: gecko540 problem under mach3
Post by: BR549 on October 12, 2011, 12:56:55 PM
OK have you double checked the Pulse wideth and Polarity settings, the G540 HAS a spec on that as well.

NOW back to the real question. IF you repeat the test move 10  times in a row will it repeat itself EACH time without error ( move the same exact distance)

(;-) TP
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 12, 2011, 01:24:03 PM
I've done it already and it is the same, practically nothing has changed  with  the  2  axis  Y and X the  same  error  0.31mm   on distance 76.2 the machine  only moves 75.89mm
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 12, 2011, 03:15:02 PM
more and more I'm convinced! gecko 540 can not be set  perfect!  I called today to MACH3, I said all , that guy had nothing more to say
Title: Re: gecko540 problem under mach3
Post by: BR549 on October 12, 2011, 03:44:52 PM
OK , IF the machine will repeat itself exactly each test I can NOT see where it is a PC or drive problem or noise problem.

IF all the data is correct AND it shows a progressive error with distance travelled  that ONLY leaves one area that can be wrong.

Ray had the idea early on with the distance testing.

(;-) TP
Title: Re: gecko540 problem under mach3
Post by: komar1970 on October 12, 2011, 04:47:17 PM
ok of course I will try to see what will be. Thank you for your help