586,094 active members*
3,709 visitors online*
Register for free
Login
Results 1 to 17 of 17
  1. #1
    Join Date
    Jan 2012
    Posts
    714

    Dimension problem

    When I load g code into the 1100 computer, I reference the machine, set the Z zero with the tool touching the stock, then push the start button, it goes to the tool change position then after the tool change it comes down to within .550 and starts machining in the air. It used to go to the start or zero setting and start, now it starts .550 too high, this is the depth of the part in the cad program. If I click the z axis and put in .550 then it machines correctly and starts at the correct height.

    I does the same thing on a .3125 part, after entering .3125 into the z axis it starts at the correct height, but if left at zero it will start .3125 too high.

    The wizards work correctly (Mach)

    I have looked thru Mach and sprut cam and dont see anything that would cause this.
    Any help appreciated...
    mike sr

  2. #2
    Join Date
    Feb 2007
    Posts
    1041
    Make sure your Z value is a neg not pos. Some times is helps to reference the machine again when this happens. Last check your tool height in the tool table and that you're zeroing out with the correct tool number in Mach.

  3. #3
    Join Date
    Jan 2012
    Posts
    714
    Quote Originally Posted by twocik View Post
    Make sure your Z value is a neg not pos. Some times is helps to reference the machine again when this happens. Last check your tool height in the tool table and that you're zeroing out with the correct tool number in Mach.
    It seems to always be off the thickness of the part after zeroing the z, I can put in the thickness of the part manually so that z reads the thickness not zero and it will start at the correct height, just doesnt make sense to me?
    I tried a negative .550 and it started high as well. The tool height I need to check in Mach, but the write program works correctly.

    thanks
    mike sr

  4. #4
    Join Date
    Feb 2008
    Posts
    389
    Hi Mike,
    Do you have the TTS tool system? I remember in one of your previous posts that you had designated a ball end mill as tool #1. If you have the TTS tool system set with the granite block and height gauge you should have your touch tool as tool #1 in the Mach3 tool table with the height taken from the granite block and height gauge. After referencing the machine in Mach and then loading your program (G-code) Then when you set Z by choosing tool #1 in Mach3.

    Check out the video on this Tormach web page...
    http://www.tormach.com/videos_machine.html
    The video is called "Tool Table Setup And Tool Change"

    Sorry if this is not relevant to the equipment you have.
    Gerry
    Currently using SC7 Build 1.6 Rev. 64105

  5. #5
    Join Date
    Apr 2006
    Posts
    439
    Where are you getting your code from ? cad/cam ?
    It sounds to me like the Z zero in your g-code is the bottom of the part and you are setting your tool to the top of the part. That would explain why it is always off by the thickness of your part.

    Make sure both the CAM and machine use the same Z zero.

    Scott
    www.sdmfabricating.com

  6. #6
    Join Date
    Jan 2012
    Posts
    714
    Quote Originally Posted by Gerry Sweetland View Post
    Hi Mike,
    Do you have the TTS tool system? I remember in one of your previous posts that you had designated a ball end mill as tool #1. If you have the TTS tool system set with the granite block and height gauge you should have your touch tool as tool #1 in the Mach3 tool table with the height taken from the granite block and height gauge. After referencing the machine in Mach and then loading your program (G-code) Then when you set Z by choosing tool #1 in Mach3.

    Check out the video on this Tormach web page...
    CNC Mill Machining Videos | Tormach LLC | We provide personal small CNC machines, CNC tooling, and many more CNC items
    The video is called "Tool Table Setup And Tool Change"

    Sorry if this is not relevant to the equipment you have.
    Gerry
    I did get the Tormach tooling system with the machine, I set up the tool table today, at least the first ten of them, I still need more holders though, at the price I may make a few of them myself.

    I havent had a chance to try this out yet.

    I am still testing on wood so it isnt a real problem yet....
    mike sr

  7. #7
    Join Date
    Jan 2012
    Posts
    714
    Quote Originally Posted by Scott_M View Post
    Where are you getting your code from ? cad/cam ?
    It sounds to me like the Z zero in your g-code is the bottom of the part and you are setting your tool to the top of the part. That would explain why it is always off by the thickness of your part.

    Make sure both the CAM and machine use the same Z zero.

    Scott
    I draw the parts in Alibre, then export to sprut cam and generate the code from sprut cam.
    mike sr

  8. #8
    Join Date
    Dec 2010
    Posts
    1230
    I think Scott_M is likely correct.

    When you have an issue like this your best bet its to study the code (I'm gaging from your question that your still learning g code so I'll explain)

    Run the same program again doing everything the same. look at the Z value when the tool is cutting air and you think it should be cutting wood. If the Z is positive (Z.5) then your datum (Z zero) is set in your cam at the BOTTOM of your part. Nothing wrong with that. Just zero off the parallel (bottom of part) or (not good practice) touch the top and type ".5" into the Z DRO. Its bad practice because unless your dealing with stock EXACTLY that thickness you don't actually know where your zero point is... it may be .02 below your parallels.

    If you zero the top, mach cuts air and the Z value in the code is "0" or negative then the problem is likely your tool offsets. A frequent mistake is to start the program, zero with tool shown in the "current tool" thinking its height has been called. it may not have been. I like to check my offset on the first tool by loading that tool, typing "1" into the current tool dro, then typing the current tool to make sure the height offset for that tool is loaded. then I jog to the work and see if the DRO makes sense. I get close to the work and the dro shows .02ish then I know the offsets are correct.

    Another good practice is after you edge find, go to the MDI and type G0X0Y0 to move to your datum and check it against your cam datum (0,0,0). Just last night this saved me a scraped bracket. I trend to use the center of the stock as zero for X&Y on prototypes and onezytwozys. I use a Haimer and zero left side, find right side, click the X DRO, type "/2", hit enter. now the center of my part is X zero. great for ruining parts with out having to know the size of the stock while programing.

    Last night I was cutting two identical brackets to hold the solenoid valve for my Kool-Mist unit. In cam I put the datum in the center of the bracket on top, then transformed the operations to the "right" by the width of the bracket. when I went to drill, counter bore, and tap the two parts I put them side by side in the vise, zero Y-, touch Y+, type "/2" into the Y DRO. then zero X+, touch X-, typed "/4" into the X DRO. That put my datum centered on the X and Y of the part on the left. I typed G0X0Y0 into the MDI and realized it was in the wrong place because I had actually zeroed the wrong axis. Checking it saved my part.

    The absolute best thing you can do is learn G Code. Not just to be able to write it, but to read what your cam is putting out and catch mistakes in your cam set up or part programing. I review every tool change and the first 5-20 blocks of each one. then I load in mach and simulate run. LOOK closely at the DROs on that scene that show X,Y, & Z extremes. You can catch a lot from learning to read the g code. its easier than learning another language because there aren't that many words. print out the code, go online to the mach g code site and go word by word trying to figure out what you are telling mach to do. befor your know it your will read code faster than Rain Man counts toothpicks.

    Sorry its so long but I hope it helps give food for thought.

  9. #9
    Join Date
    Dec 2010
    Posts
    1230
    Another tip along the same lines its to use the parallels as reference when your "top" doesn't exist yet.

    Say your part is .4" tall. your cutting it from .5" bar stock. odds are your stock is NOT actually .500". An easy way to set this up is put your datum on top of your .4" part in your CAM. Make your first operation facing the part to Z0. Load your bar stock and ROUGHLY zero X&Y, them touch the top of the bar. Type ".05" (about half the total you need to remove) into the Z DRO. Run the first op. Now rewind the program. flip the part after de-burring. Touch the parallel and type "-.4" into the Z DRO and find your X&Y zero. Run program. Your part will be .4 tall regardless of stock actual size.

    Best thing is if you have to re-zero for some reason you can zero on the top face and know its ACTUALLY 0 AND .4" from the bottom of the part and parallels. this helps to not have to know the actual stock size when programing CAM.

  10. #10
    Join Date
    Jan 2012
    Posts
    714
    Quote Originally Posted by PriddyShiddy View Post
    I think Scott_M is likely correct.

    When you have an issue like this your best bet its to study the code (I'm gaging from your question that your still learning g code so I'll explain)

    Run the same program again doing everything the same. look at the Z value when the tool is cutting air and you think it should be cutting wood. If the Z is positive (Z.5) then your datum (Z zero) is set in your cam at the BOTTOM of your part. Nothing wrong with that. Just zero off the parallel (bottom of part) or (not good practice) touch the top and type ".5" into the Z DRO. Its bad practice because unless your dealing with stock EXACTLY that thickness you don't actually know where your zero point is... it may be .02 below your parallels.
    Thats what I am doing is putting the stock thickness back in after zeroing out the z.

    I have learned some of the g code, I am new to this and my age is against me on the learning process, so its going to take awhile thats for sure.......
    I will keep digging, I think its coming from sprut cam, I just need to find out what I entered that I shouldnt have ha!
    mike sr

  11. #11
    Join Date
    Feb 2010
    Posts
    0
    Quote Originally Posted by Scott_M View Post
    Where are you getting your code from ? cad/cam ?
    It sounds to me like the Z zero in your g-code is the bottom of the part and you are setting your tool to the top of the part. That would explain why it is always off by the thickness of your part.

    Make sure both the CAM and machine use the same Z zero.

    Scott
    Hi mike, I would second Scott on this check the zero position on your cad cam software. I use rhino, MADcam and mach3. I move parts to the 0,0,0 coordinate in my modeling program and make sure it is below/at the z not above.

    Flux

  12. #12
    Join Date
    Jan 2012
    Posts
    714
    Quote Originally Posted by Scott_M View Post
    Where are you getting your code from ? cad/cam ?
    It sounds to me like the Z zero in your g-code is the bottom of the part and you are setting your tool to the top of the part. That would explain why it is always off by the thickness of your part.

    Scott
    I think this is the problem, the drawing is dimensioned from the bottom of the part, now to figure out how to change it in Alibre......
    mike sr

  13. #13
    Join Date
    Oct 2011
    Posts
    121
    Quote Originally Posted by mike sr1 View Post
    I think this is the problem, the drawing is dimensioned from the bottom of the part, no to figure out how to change it in Alibre......
    You set the zero point in sprut cam, not alibre.

  14. #14
    Join Date
    Feb 2008
    Posts
    389
    Quote Originally Posted by mike sr1 View Post
    I think this is the problem, the drawing is dimensioned from the bottom of the part, no to figure out how to change it in Alibre......
    You can locate zero in SprutCam too.
    Go into model mode then select the whole model by drawing a square around it while holding the left mouse button.
    Then go to the the Transform button and choose the "Locate Zero" tab and manipulate the model from there.
    If you chose as I show in the screen cap it will put zero X,Y,Z at the top of and in the "north west" corner of the model.
    I started creating all my models in SolidWorks at a certain point in space with Z going up for all my models but after a while I just created the model in SolidWorks where ever I wanted to for final assembly and various other reasons. Now I just locate X,Y,Z in SprutCam in a logical manner for machining.
    Gerry
    Attached Thumbnails Attached Thumbnails Capture 1.jpg  
    Currently using SC7 Build 1.6 Rev. 64105

  15. #15
    Join Date
    Jan 2012
    Posts
    714
    Quote Originally Posted by Gerry Sweetland View Post
    You can locate zero in SprutCam too.
    Go into model mode then select the whole model by drawing a square around it while holding the left mouse button.
    Then go to the the Transform button and choose the "Locate Zero" tab and manipulate the model from there.
    If you chose as I show in the screen cap it will put zero X,Y,Z at the top of and in the "north west" corner of the model.
    I started creating all my models in SolidWorks at a certain point in space with Z going up for all my models but after a while I just created the model in SolidWorks where ever I wanted to for final assembly and various other reasons. Now I just locate X,Y,Z in SprutCam in a logical manner for machining.
    Gerry
    I will check it out Gerry Thanks!

    I found the problem, the drawings were created with the measurements from the bottom in Alibre.......
    I spent so much time on the problem I wont soon forget it thats for sure!
    Thanks for the tip on sprut cam as I have 2 or three more drawings with this same problem.

    Another bit of info, on the parameters page there is a safe plane, top level, bottom level, the top level should be "0" , mine was .6116 on the top level on this part, which means it will start at the .6116 figure.
    mike sr

  16. #16
    Join Date
    Jan 2012
    Posts
    714
    I tested it on wood and it worked beaoutifully on a couple of different parts.

    Thanks to all!! Especially Gary for the show and tell!
    mike sr

  17. #17
    Join Date
    Feb 2008
    Posts
    389
    You're welcome Mike, glad you got it to work.
    Gerry
    Currently using SC7 Build 1.6 Rev. 64105

Similar Threads

  1. dimension 200
    By ricardo yanez in forum Engraving Machines
    Replies: 0
    Last Post: 06-20-2011, 05:39 PM
  2. Dimension from Excel to ALibre .Problem!!
    By tomasek77 in forum Uncategorised CAD Discussion
    Replies: 0
    Last Post: 09-03-2010, 01:04 PM
  3. Cutting Dimension problem
    By wjfiles in forum Machines running Mach Software
    Replies: 4
    Last Post: 02-21-2010, 01:13 AM
  4. Need to know this dimension of DMU 50e
    By NCexplorer in forum Deckel, Maho, Aciera, Abene Mills
    Replies: 1
    Last Post: 11-21-2009, 11:17 AM
  5. Gerber Dimension 200
    By teemac in forum Gerber
    Replies: 1
    Last Post: 04-22-2007, 05:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •