![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| CamBam Discuss CamBam software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| 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. |
|
#2
| ||||
| ||||
| 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 |
|
#3
| |||
| |||
| Will try this and report back. Thank you much for the info |
|
#4
| |||
| |||
| 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. |
|
#5
| ||||
| ||||
| 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 |
| Sponsored Links |
|
#6
| |||
| |||
| 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. |
|
#7
| |||
| |||
| 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. |
|
#8
| ||||
| ||||
| 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 |
|
#9
| |||
| |||
| 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/ |
|
#10
| ||||
| ||||
| 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!
__________________ www.cambam.co.uk |
| Sponsored Links |
|
#11
| |||
| |||
| 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. |
|
#12
| |||
| |||
| 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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |