CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > CAM Software > General CAM Discussion


General CAM Discussion Discuss CAD/CAM software and Design software methods here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-28-2004, 02:12 PM
 
Join Date: Apr 2004
Location: england
Posts: 20
i228208 is on a distinguished road
Accuracy problems

Hi

I have a sherline lathe with sherline driver box and i am having the following problems.

After about 40 lines of G code from vector cad cam my lath is about 0.40 mm to 0.60 mm out of tolrence. If i jog say 30mm using mach 2 its perfect no problem but if i run g code i end up geting accuracy problems.

I use vector cad to design my part and turn it in to g code then export it to mach 2

If i used limit switchs to reference zero every few steps would that make my lath more accuret

I would be greatful for any sugestions

C Morton
Reply With Quote

  #2  
Old 05-28-2004, 02:30 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 269
imserv is on a distinguished road

Adding reference switches will not correct for an inaccurate machine. If you run the program without cutting material, do you still lose position?

It sounds like you may be losing steps during the rapid commands. Change all the G00 codes to G01 and see if you still lose position. If not, reduce your max velocity, which is what is in effect during rapids.

This assumes that you have accounted for backlash, part movement in the vise, tool movement from excessive pressure, etc.

Fred Smith - IMService
Reply With Quote

  #3   Ban this user!
Old 05-28-2004, 03:40 PM
 
Join Date: Apr 2004
Location: england
Posts: 20
i228208 is on a distinguished road

Hi

Thanks for the reply i am going to spend saterday trying to get this mashine accurate.

I still loose position when not Cutting. the driver box is a sherline one with there stepper motors but.

As the box is brand new and if performance is still bad i will have to buy gecko drives but id rather not have to shell out 160 pounds plus shipping.

Thanks chris
Reply With Quote

  #4   Ban this user!
Old 05-29-2004, 04:32 AM
 
Join Date: Apr 2004
Location: england
Posts: 20
i228208 is on a distinguished road

Hi have slowed the lathe down to a feed rate of 10

Both the x and the y axis are out exactaly the same. 0.04mm

but when single steping there is no error only when i run say 60 lines of G code, the error when i run 132 lines of G code is 0.04mm.

Is the sherline driver box a good controller or have i been riped off.

chris
Reply With Quote

  #5  
Old 05-29-2004, 08:12 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 269
imserv is on a distinguished road
Sherline Controller

Your program probably has rapid moves from the VectorCad-Cam lathe roughing function. In the Vector NC editor, use the Edit-Replace function to temporarily (for testing only) change the G00 commands to G01.

The controller is fine.

Did you change the G00's to G01's like I suggested? Changing the feed rate will not affect the rapids. Only if you change all the moves to feeds will you be able to determine tha maximum traverse rate that the machine and controller will handle.

Sherline has a support forum at

http://www.sherline.com/forums

Most likely someone there will be able to tell you how to adjust your setup to prevent lost steps.

Fred Smith - IMService
http://www.cadcamcadcam.com
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-29-2004, 08:53 AM
 
Join Date: Apr 2004
Location: england
Posts: 20
i228208 is on a distinguished road

hi again

I have tried what you have suggested by taking out the G00 comands to no sucsess

After 132 lines of G vode the error is .04mm this doubles when i run the same gcode again.

In mach 2 i can set the step pulse longer than 15us as specified by sherline its set as 14 and the pre direction time wont go any higher than 5us seconds.

The mashine i run it on has only mach2 on no other softwere is running in memory.

I am starting to think this controller was designed for EMC and Not any other softwere.

As there are other people who have had problems with the controller.

chris
Reply With Quote

  #7  
Old 05-29-2004, 11:39 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 269
imserv is on a distinguished road

.04 MM is a far cry from the .4-.6 MM that you reported when this thread started. Is that radial or diametral? On many hobby class machines .04 MM will be within the probable error due to backlash, lead screw variation, heat effects, etc, etc, etc.

However, since you can repeat the error, some more questions may be in order.

Are you operating in Absolute mode(G90)? Incremental mode has some problems that may affect how you measure the error.

Are you returning to the same position when the program ends? In other words, do you program a final motion that returns the tool to the exact starting position?

How are you measuring the error? With an indicator? Is the error accumulative or does it vary + and -.

You didn't say you were trying to rig up Mach2 with the Sherline controller, what other surprises do you have? There is a yahoo group for Mach 2 support.


Fred Smith - IMService
Reply With Quote

  #8   Ban this user!
Old 05-29-2004, 12:12 PM
 
Join Date: Apr 2004
Location: england
Posts: 20
i228208 is on a distinguished road

The .4 to .6 was for a large g code program

0.04 was jus for 132 lines of code the error doubles when you doble the lenghth of the G code so you can imagine the error is masive when the code is 100 lines long.

When the program ends i hit the go to zero button, by looking at the dials and looking at the DRO on the screen i deduce the error.

When is say there is no error joging, there will be but it is so small and for every move the errors ADD.

The error is accumulative and it is always - . I have sheilded all cables checked the earth, checked analogue and digital noise. but all seem OK. The only point i can think of is this mack 2 wont let me have a pulse time bigger than 14us and sherline specify 15.

I run it on a dedicated PC with nothing running in memory.


Oh both X and Y have the same error exactaly

Thanks


chris
Reply With Quote

  #9  
Old 05-29-2004, 12:52 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 269
imserv is on a distinguished road

Does the error correspond to the number of lines of G-code, or to the distance traveled. You could quickly check this with a program from Vector.

If distance traveled, you may need to adjust the steps per mm(inch).

You didn't respond to my questions about using an indicator to independently verify the error. Your screw pitch may not be set correctly, that would account for the problem that you are having, and the fact that both X and Y are the same. From what you have posted so far, the problem is not clearly software/ hardware, or just adjustment.

Fred Smith - IMService
htp://www.cadcamcadcam.com

.
Reply With Quote

  #10  
Old 05-29-2004, 01:36 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Chris,

I would try a more methodical approach than just "running some Gcode". Make a single axis program, consisting of very short, medium and very long movements. Check the distance moved after each single command is read.

Check the distance moved in jog mode. Does it correspond to the display? Again, try short, medium and long movements.

Check how accurate the machine returns to position after running a simple positioning loop: forward and back to the same two endpoints. Do it once, then several times, to see if you can find a systematic error. This is how you troubleshoot, not by running actual programs.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-30-2004, 03:44 AM
 
Join Date: Apr 2004
Location: england
Posts: 20
i228208 is on a distinguished road

Hi

Both axis are out by the same amount

Y axis


Moving the Y axis in and out 20 mm 2 times there is an error of 0.01

4 times an error of 0.02mm

6 times 0.03mm

8 Times 0.04mm

10 times 0.05mm

And the same for the X


I have tested the lathe dials by cutting a some metal manually and measuring it with a micrometer and its perfect from this I can deduce there is nothing wrong with the mechanics of the lathe.

If i repeat the above with a g code program the error is the same

Chris
Reply With Quote

  #12   Ban this user!
Old 05-30-2004, 04:15 AM
inthedark's Avatar  
Join Date: Jan 2004
Location: Springfield, MO
Posts: 133
inthedark is on a distinguished road

Check these settings on the controller and CAD/CAM; unfortunately, i am unfamilliar with sherlines.

Does your controller support modal commands?

Are you specifying G21 for metric in the code, and 3 or 4 digits to the left of your decimal?

The circular interpolation tolerances on the controller vs the CAD/CAM.

Circular movement expected by the controller? Full, Half, or Quarter (you can try arcs as lines for testing)

G02 and G03 requirements like Coordinate values (incremental or absolute)

My coordinates have to be absolute, but use incremental I, J, K during circular moves.

The debounce count set too low can cause this as well on some controllers.

Just a few thoughts
__________________
"Plan your work; Work your plan"
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ballscrew Basics Swede Linear and Rotary Motion 101 04-16-2012 08:09 PM
Traub TNL 26 Accuracy meconer Machine Problems, Solutions , Wireless DNC, serial port 2 12-10-2009 03:57 PM
Stepper RPM and Accuracy Question. Please Help! David Bord Stepper Motors and Drives 3 05-25-2005 02:27 PM
Fanuc Problems scuba General Metalwork Discussion 6 03-19-2005 01:19 PM
Problems aligning motor with lead screw. SCCoupe DIY-CNC Router Table Machines 11 02-15-2005 06:33 PM




All times are GMT -5. The time now is 02:20 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361