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 > CamBam


CamBam Discuss CamBam software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-04-2009, 05:33 PM
 
Join Date: Aug 2008
Location: usa
Posts: 6
corneliusbrown is on a distinguished road
Incorrect dimensions from Cambam to Mach 3

New to CNC stuff.

The output of a g-code file in mach3 does not reflect the original dimensions as specified in cambam.

I'm pretty sure everything is setup in MM on both ends.

It seems like i read somewhere that that some feedrate (or other) settings need to be the same within both programs but I havent figured out which settings need to match yet

maybe my steps per inch setting (in mach3) is incorrect?

Any help would be appreciated.

Last edited by corneliusbrown; 06-05-2009 at 12:32 AM.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 06-05-2009, 10:30 AM
10bulls's Avatar  
Join Date: Feb 2005
Location: UK
Posts: 502
10bulls is on a distinguished road
Hello Cornelius,

My suggestion is to first verify that you have Mach3 calibrated correctly by doing some simple tests.

In Mach3, zero your DROS, then go to the MDI window and enter some simple gcode commands like:
G21 (this will put you in MM mode)
then
G1 X100
Then measure the distance travelled with a vernier to confirm that it is indeed 100mm.
(you might want to get ready with the e-stop button if your machine tries to head for the hills ;D )
Then try your other axis (G1 Y100, G1 Y100).

If this doesn't do what you'd expected then you need to change your motor tuning parameters. There is also an automatic calibration routine in the Mach3 setup screen you might want to check out.

If the above all checks out, you could then create a hand coded gcode file using a text editor. Something like:

G21
G0 X0 Y0
M5
G1 Z-1
G1 X100
G1 Y100
G1 X0
G1 Y0
M30

Try cutting that in some foam or MDF and measure the resulting square.
Don't forget to take into account the cutter radius. So if you used a 6mm cutter, the above square should be 94 x 94 mm.

If that all checks out then it's time to start checking things in CamBam.

I hope that helps and good luck!
__________________
www.cambam.co.uk
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 06-07-2009, 02:26 PM
 
Join Date: Aug 2008
Location: usa
Posts: 6
corneliusbrown is on a distinguished road
Will try this and report back. Thank you much for the info
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 07-30-2010, 05:19 PM
 
Join Date: Jul 2010
Location: USA
Posts: 11
Fishnlight is on a distinguished road
Hello. New to the forum. Having an issue after a controller retro replacing analog drives with Viper75, PC and went to Mach3 (licensed). Machine is a Precix 4x8 router. Previous controller worked well in DOS, but the drive controller died, could not find a replacement, and Mach had more features so I felt it was time for an upgrade. My issue: I can post a drawing (with Cambam, also used with previous controller) that contains a circle (4") with a square in the center (2"x2") and 8- .125" parameter holes spaced equally i.e. 9, 10:30, 12 etc. around the inside of the circle. When cut (.125" end mill) my circle would be perfect but my square could be -.040 on X. If I recalibrate steps in Mach I would get the square dead on, but my circle and parameter holes are out in X. I can't get both dimensions correct at the same time. I have tried different IJ settings in Cambam and Mach along with changes to velocity and acceleration with no mentionable difference. The machine is tight and cut fine with previous controller. I have done XY ocillation test (40 reps) with a dial indicator and test allways ends up within .001 for both axis. After all these test, I wrote a program for a .125" end mill for X and Y to drill 6 holes for each at 1" apart. Oddly enough they measured approx +.080" at 6" and the incrementally closer at 1" (1" +.008), even after the dial indicator test? Recalibrated Mach and got the 6 hole measurement perfect only to find the circle test previously mentioned is way out, +.050". Uninstall/reinstalled Mach 3 times with crucial reboot. Any help is appreciated. Sorry for the long wind.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-30-2010, 06:22 PM
10bulls's Avatar  
Join Date: Feb 2005
Location: UK
Posts: 502
10bulls is on a distinguished road
Hello there!

I know you said the machine was tight, but it sounds like a backlash problem.
A repetition test wouldn't pick this up.

My favourite way of testing backlash is to set Mach to a fine jog increment (eg .001mm or 1 thou ). Then jog an axis up against a dial indicator until it moves a bit. Zero your Mach DRO, then fine jog the reverse direction until the dial indicator starts to move again. The number in the DRO is then your backlash measurement.

I am a bit wary of calibration routines. If you know your lead screw pitch, stepper driver microsteps and any driver gearing due to belts etc, you should be able to calculate what the steps per unit should be. If this is different to what the calibration routines give there might be a problem somewhere.

I hope you get it sorted. Good luck!
__________________
www.cambam.co.uk
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-31-2010, 07:28 AM
 
Join Date: Jul 2010
Location: USA
Posts: 11
Fishnlight is on a distinguished road
10bulls. Thank you for quick reply. I did as instructed. The DRO reads X at
.001", Y .002". Do you believe this small amount will give the results I been getting? I will set in backlash and run a part again later today, then post results. What backlash speed do you recommend? Thanks again.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 07-31-2010, 06:13 PM
 
Join Date: Jul 2010
Location: USA
Posts: 11
Fishnlight is on a distinguished road
Hello again 10bulls. I ran 12 test cuts setting backlash with X at .001" Y .002" at 100% speed. The results were the same as no backlash. I increased both each run all the way to .015". The overall dimensions decreased proportionately till I stopped at -.060" from the starting point. I could have stopped sooner as I saw the changes heading the wrong direction, but wanted to see the effects. I'm back to original starting point scratching my head. My 8 parameter holes previously mentioned measure perfect (as to the drawing measurements) as the circle X is +.021", Y+.011" and the square X-.003" and Y +.026". Do you have a circle with square test code I could try? Thanks again.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 07-31-2010, 08:04 PM
10bulls's Avatar  
Join Date: Feb 2005
Location: UK
Posts: 502
10bulls is on a distinguished road
Hmm... the backlash doesn't sound too bad so back to head scratching as well I'm afraid.

So, without cutting, can you make a move by just entering a G1 command in Mach3 MDI window and measure how far it actually moves.
Can you fix a vernier to your bed somehow and drive the head against that to measure?
I would have thought if you can get the calibration right so that what you measure is the distance you tell it to move, that would be a good start.

If the test files are still out then, I think you should leave the calibration as is and...well...maybe all this head scratching between us will loosen something and we'll have an insight.
__________________
www.cambam.co.uk
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 07-31-2010, 09:09 PM
 
Join Date: Jul 2010
Location: USA
Posts: 11
Fishnlight is on a distinguished road
Hi 10bulls. I did my calibrations in this manner along with the ocillation test mentioned previously. MDI 1" = 1" within .0005" X & Y. After seeing these numbers I believed the machine would be better than ever (errrr). One thing I failed to mention before, is one quadrant of the circle had a protrusion at the 10:30 position of +.020 when the rest of the circle was equal. I came across an article with respect to this issue. Perhaps you are familiar with it (link below). I will review and re-think. Maybe that proverbial light will come on. Let me know if yours does. Thanks!
http://findarticles.com/p/articles/m...6/ai_14335487/
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 08-01-2010, 07:17 PM
10bulls's Avatar  
Join Date: Feb 2005
Location: UK
Posts: 502
10bulls is on a distinguished road
Well it sounds like your calibration is OK.

Being a struggling programmer, I mostly stick with steppers and haven't had much servo experience I'm afraid. Have you tried on the Mach forums? Either Here:
http://www.cnczone.com/forums/mach_software_artsoft_software/
or here
http://www.machsupport.com/forum/

I know you mentioned IJ mode, but just to be double sure, you are using the same ArcCenter mode in CamBam as in Mach?
Constant velocity mode might be another one to check. Try setting CamBam's velocity mode property to ExactStop or change your gcode to use G61 rather than G64. Not sure if this will help, but it may help rule out another possibility.

Last thought for now... what Mach kernel speed are you running? For servos you should be running at as high a kernel speed that your PC will reliably support (as far as my limited understanding goes).

Hang in there... I'm sure you'll crack it!



Originally Posted by Fishnlight View Post
Hi 10bulls. I did my calibrations in this manner along with the ocillation test mentioned previously. MDI 1" = 1" within .0005" X & Y. After seeing these numbers I believed the machine would be better than ever (errrr). One thing I failed to mention before, is one quadrant of the circle had a protrusion at the 10:30 position of +.020 when the rest of the circle was equal. I came across an article with respect to this issue. Perhaps you are familiar with it (link below). I will review and re-think. Maybe that proverbial light will come on. Let me know if yours does. Thanks!
http://findarticles.com/p/articles/m...6/ai_14335487/
__________________
www.cambam.co.uk
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-02-2010, 07:41 AM
 
Join Date: Jul 2010
Location: USA
Posts: 11
Fishnlight is on a distinguished road
10bulls. I thought maybe something was wrong with PID settings, so I spent the better part of the day checking and changing parameters. Found nothing wrong there, and no change on test cuts. I've attached another cut that also has me baffled. All dimensions within red measure exact to drawing dimesions, but the area in black is +.080" out when cut. These holes measure 5.175" outside, and if you recall from my first post, I did a 6 hole test X Y in 1" increments that I got to measure exact. It appears when circles or a radius is apart of linear moves the program or hardware has issues. I did as you suggested and changed CV to exact stop and no change occured. Have you ever heard of encorders causing this type of issue. One would think all coordinates would be varying. I can cut 100 pieces and all measure the same. I have to get operating ASAP as production is needed. Thanks for hangin in there.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 08-02-2010, 09:35 AM
 
Join Date: Jul 2010
Location: USA
Posts: 11
Fishnlight is on a distinguished road
10 Bulls. Update: Went back to a 2"x2" square with 2"x2" diamond inlay code that I created, and all dimensions were correct. I went to Cambam and changed a few things on the drawing from last post. I made a points list on the 2 holes that were .080" out and allpied drill profile first then pocket, and everything is prefect now. Never had to do this before, so don't kow what would change it. I believe the code being generated from Cambam is the culprit for my circle square inlay test as well. I like the ease of Cambam and would like to continue to use it if I can get the issues resolved. I will try orther things for circles later and keep you posted, but for now must run parts I'm way behind on. Thanks
Tweet this Post!Share on Facebook
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Drilling Cycle = Incorrect Retract? dneisler General CNC (Mill and Lathe) Control Software (NC) 7 12-22-2008 09:06 AM
Need Help With CamBAM Ponchibego CamBam 3 07-31-2008 10:49 PM
Stepper motors are still going at the incorrect speed. Need help with Mach3 Apples Mach Software (ArtSoft software) 5 12-23-2005 06:29 PM
V19 incorrect toolpath Castle1 BobCad-Cam 2 07-02-2004 11:10 PM
Way off topic (and POLITICALLY INCORRECT). TO ALL FOR ALL- MERRY CHRISTMAS. thuffner3 CNCzone Club House 11 12-25-2003 11:37 PM




All times are GMT -5. The time now is 07:24 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