Page 1 of 3 123 LastLast
Results 1 to 12 of 27

Thread: Post Processor Gone Wild

  1. #1
    Registered md63825's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    87
    Downloads
    0
    Uploads
    0

    Post Processor Gone Wild

    I am programming my parts with V24. Everything looks fine in the CAM Tree, I am using the "Bridgeport_DX-32_VMC_Rev1" mill post from the BobCAD website like I have been since I installed the software, and it looks fine in the Predator simulator. But when I run it in the machine it goes crazy. Mainly when doing interpolations. It should be machining a small radius on a corner in the X/Z plane, instead it is performing a large sweeping arcs in the X/Y plane. I posted it to a different machine (EZTrak) with the post processor for that machine and it runs fine. Thought it may be the machine, but on other machine, no problem. Then I ran it in V21 simulation and it performs the same erratic moves that it does on the Torq-cut. I deleted the post processor and re-installed and no change. It has something to do with the post processor I think. Any thoughts? I have attached the g-code txt file created from the Bridgeport_DX-32_VMC_Rev1 post processor.
    Attached Files Attached Files


  2. #2
    Registered Machineit's Avatar
    Join Date
    Mar 2010
    Location
    USA
    Posts
    1,013
    Downloads
    0
    Uploads
    0
    I ran it and I see what you mean. I think it involves some small arc that are incorrect. Each machine may handle them differently.

    Can you post the drawing file for us to see? Just zip it before sending it up.

    Mike
    Haas VF-2, HA5C, Hardinge CHNC 1, BobCAD V23


  3. #3
    Registered md63825's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    87
    Downloads
    0
    Uploads
    0
    Don't program to drawings typically. I program to solid models. Part was designed with Autodesk Inventor and saved it as STEP file to import into BobCAD. I have attached zip file with the step file.

    Strange thing is, I got a good program from it about 2 weeks ago. Part still the same. I just changed the diameter of tool #1. Re-calculated toolpath and posted. Tool #3 is where the problem is.
    Attached Files Attached Files


  4. #4
    Registered BurrMan's Avatar
    Join Date
    Dec 2008
    Location
    usa
    Posts
    2,631
    Downloads
    0
    Uploads
    0
    It would be good to attach your post processor here too... The we can re-create and look at your issue.


  • #5
    Registered md63825's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    87
    Downloads
    0
    Uploads
    0
    Sorry for the delayed response.

    Any guesses as to what you think it might be?
    Attached Files Attached Files


  • #6
    Registered
    Join Date
    Jun 2004
    Location
    United States
    Posts
    40
    Downloads
    0
    Uploads
    0
    In the post processor lines 221 and 223 deal with arcs. Some machines have trouble with arcs greater than 90 degrees. If you change the n's to y's it will help crop circles. You can always change back if it doesn't help


  • #7
    Registered BurrMan's Avatar
    Join Date
    Dec 2008
    Location
    usa
    Posts
    2,631
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by md63825 View Post
    Sorry for the delayed response.

    Any guesses as to what you think it might be?
    A good start would be your line 64.. It should have a z_f in it just before the arc_center entry.

    This line will cause certain ramping and spiral issues with arcs...

    Let us know if this fixes it.


  • #8
    Registered md63825's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    87
    Downloads
    0
    Uploads
    0
    Thanks for the input. I changed lines 221 and 223 to "y" and nothing changed. I even changed them separately. I also looked at line 64. Line 64 is for arc moves in the XY plane. These moves should be in the XZ plane, which is addressed on line 66. This is the first time I have looked at the Post Processor files. If you look at the updated program I attached (just added comments), sequence number 3940 (Z-LEVEL FINISH) is where the problem begins. I noticed sequence 3950 calls out G18 (XZ Plane Designation) along with G02 (Circular Interpolation CW). Two things I noticed, first, in the post processor file on line 205, "Are the xy (or yz or xz) coordinates modal in arc milling?", it was marked "n" and I changed it to "y" because G18 (or G17 and G19) should be Modal, because on line 3958, another arc move is called and there is no Plane Designation called up. Secondly, I would think that it should be G03 (CCW) instead of G02 (CW) for that arc move. Not sure how to fix the later. After changing line 205 to "y", it still had no effect. Not sure where to go from here.
    Attached Files Attached Files


  • #9
    Registered md63825's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    87
    Downloads
    0
    Uploads
    0
    Need to correct myself. Looked in my machine manual G18 and G19 are NOT Modal. I think this poses the root problem which is, why is BobCAD not calling another G18 on sequence 3958 for that arc move or any of the subsequent arc moves since they are in the XZ plane? I changed the post processor line 205 back to "n" but BobCAD still does not insert a G18 into the XZ plane arc moves.


  • #10
    Registered BurrMan's Avatar
    Join Date
    Dec 2008
    Location
    usa
    Posts
    2,631
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by md63825 View Post
    I also looked at line 64. Line 64 is for arc moves in the XY plane. These moves should be in the XZ plane, which is addressed on line 66.
    So did you change it???? Here's your original quote:

    It should be machining a small radius on a corner in the X/Z plane, instead it is performing a large sweeping arcs in the X/Y plane.

    You have to be willing to start from the obvious changes needed to whittle it down... Your response seemed to dismiss the change as not needed?

    I also downloaded the STEP file, but need to have the feature setup as you to reproduce your toolpath. You could either upload the bbcd file zipped up with a feature added and the geometry selected for the toolpath (not computing will make the file smaller)

    If the file is too large, you could save the feature and zip it up, with a description of the geometry selection for it...


  • #11
    Registered md63825's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    87
    Downloads
    0
    Uploads
    0
    Sorry to leave you hanging on the line 64 issue BurrMan. I did add the z_f to line 64 and it had no effect. I even changed line 65 and 66. I looked at several post processors and it was common to have x,y,and z data on each of those plane designation command lines.

    I still think the root issue here is why BobCAD is not inserting the G18 command on each line where an arc move in the XZ plane is being made. I plan on using other post processors to see if they produce the G18 code where needed. I'll keep you posted.

    bbcd file is attached.
    Attached Files Attached Files
    Last edited by md63825; 09-26-2011 at 08:27 AM. Reason: Add Zip file


  • #12
    Registered BurrMan's Avatar
    Join Date
    Dec 2008
    Location
    usa
    Posts
    2,631
    Downloads
    0
    Uploads
    0
    Hey md,
    I backplotted the file you posted and it looked ok (only the z-level rough, correct?) Rememeber that for that rough op, it will clean areas in a pattern, then "Return out for tiny leftover fragments"... Not sure if this is what we are talking about...

    Before moving to the posted code, I looked at the toolpath and noticed it violating the set boundry, down here at the bottom...

    Post Processor Gone Wild-boundry_violation.jpg

    If I offset the boundry out by .25 then it goes away.. I'm not sure if the large .75 tool in such a small confinment should work or not???

    We can look at this more. The Z-level is looking at the stock removal. Maybe we can optimize it more by defining a stock.

    With the output code, I just ran through it quick to get the "looks ok" statement. Maybe you can get more specific about the move that you think is out, so I can look directly at it.


  • Page 1 of 3 123 LastLast

    Similar Threads

    1. Need Help!- Wild numbers!
      By ozzie34231 in forum SolidCam
      Replies: 10
      Last Post: 06-11-2010, 05:55 PM
    2. Need Help!- Machine Gone Wild
      By bill south in forum Benchtop Machines
      Replies: 6
      Last Post: 07-29-2009, 02:25 PM

    Tags for this Thread

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.