Welcome to Our Community

Some features disabled for guests. Register Today.

How to delete the "return Holder to Home" Gcode?

Discussion in 'General Talk' started by JohnPL, Mar 6, 2024.

Tags:
  1. JohnPL

    JohnPL New
    Builder

    Joined:
    Jan 10, 2023
    Messages:
    12
    Likes Received:
    5
    I use Fusion, which always adds Gcode at the end of the final operation that sends the Holder to the Home position.

    I want to eliminate that return to home code. Instead, I want to move the Holder about 160mm away from the work area, and park it there.

    I have a fixture that I place a part in, and bore some holes in that part. Then I swap the part and hit Run to bore the holes again.

    The last operation retracts the Holder to about 160mm from the work area, then bores a hole in a part I created just to move the Holder away from the work part. That's how made the Holder move away from the work area, since I don't know how to write Gcode.

    Here's the Gcode for the last 3 lines of the next-to-last operation, and the Gcode for the last operation, followed by the Gcode that Fusion inserts to return the Holder to Home.

    What should I eliminate so the Holder pulls back and stops without boring a hole?
    I think I need to eliminate Z6.005 and everything after it.



    X18.052 Y-20.214 I0.12 J-0.294 F200

    G1 X18.495 Y-20.459

    G0 Z6.005



    (Bore-FauxBlock-forHolderPullback)

    G0 X0 Y160.116

    Z6.005 // I think I need to eliminate this line all the Gcode after this line

    Z2

    G1 Z0 F200

    X-0.001 Y160.115

    X0 Y160.114

    X0.002 Y160.117 Z-0.15 F450

    X-0.002 Z-0.3

    X0 Y160.114

    X0.002 Y160.117

    X-0.002

    Y160.116 F200

    X0

    G0 Z6.005



    G28 G91 Z0

    G90

    G28 G91 X0 Y0

    G90

    M5

    M30



    I'm using a MillRight Carve King with OpenBuilds software.
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
    You don't seem to be using our Post? We don't use G28

    docs:software:fusion360 [OpenBuilds Documentation]

    Use our post if you need our assistance, otherwise if you want to keep using that post, direct the question at the developer of your Post Processor
     
    David the swarfer likes this.
  3. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,393
    Likes Received:
    1,892
    when using the OpenBuilds postprocessor you can set the ending X and Y machine offsets to put your tool whereever you want it.
    DO make sure the Z remains HIGH, the default is 10mm below the home position, this prevents it hitting things during start and ending moves. Keep this.
    Set X and Y to what you need in MACHINE coordinates, you can og to where you want it then hover the mouse over the X and Y displays in turn to see the machine coordinate.

    Remember that Fusion will recall these values for all future jobs which may not always be suitable, so think about what is going on when posting future jobs.
     
    JohnPL and Peter Van Der Walt like this.
  4. JohnPL

    JohnPL New
    Builder

    Joined:
    Jan 10, 2023
    Messages:
    12
    Likes Received:
    5
    Thanks Peter,
    Maybe I should consider using the OpenBuilds Post Processor instead of the one that comes with Fusion.

    Is there a Thread on the OpenBuilds Forum that tells about the advantages of using the OpenBuilds Post Processor?

    Thanks,
    John
     
  5. JohnPL

    JohnPL New
    Builder

    Joined:
    Jan 10, 2023
    Messages:
    12
    Likes Received:
    5

    Thanks, David
    This sounds like a good reason for me to switch to the OpenBuilds postprocessor. I looked at Fusion and see that the postprocessor I've been using is Grbl, which I imagine is pretty vanilla.
    I really like using OpenBuild software to run my CNC machine, so I'm sure the postprocessor will be a step up.
    John
     
    David the swarfer likes this.
  6. JohnPL

    JohnPL New
    Builder

    Joined:
    Jan 10, 2023
    Messages:
    12
    Likes Received:
    5
    Hi Peter,
    I followed the directions above, but hit a dead end when I tried to upload the OpenBuilds postprocessor .cps file to Fusion Assets.
    In Assets, after selecting the CAMPosts Folder and clicking the Upload Button, the next screen did not show Assets > CAMPosts; it just showed Assets.
    So I went ahead and uploaded, but Fusion could not find the file.
    I'll post this to a Fusion Forum as well.
    Do you know if anyone has successfully followed these steps with the current version of Fusion?
    Thanks for any advice.
    John
     

    Attached Files:

  7. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
  8. JohnPL

    JohnPL New
    Builder

    Joined:
    Jan 10, 2023
    Messages:
    12
    Likes Received:
    5
    Thanks Peter.
    Will try this.
     
  9. JohnPL

    JohnPL New
    Builder

    Joined:
    Jan 10, 2023
    Messages:
    12
    Likes Received:
    5
    Worked perfectly. The key was to double-click the CAMPost Folder.
    Thanks.
     
  10. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,393
    Likes Received:
    1,892
    it caters for router, laser and plasma machines
    it fixes small arc errors
    it reinserts missing rapid moves when needed
    it does not use G28 but instead uses the industry standard G53 safety moves
    it can be used for machine simulation
    it can use a 3d probe for simple probing on a Blackbox 4X (driven by Fusion probe routines), more advanced probing with the X32 is coming....
    it puts comments into the Gcode so it is easier to follow what it is doing.
    it caters for manual tool channges by outputting a file per tool, automatically.
     
  11. Misterg

    Misterg Veteran
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    340
    Likes Received:
    264
    Ooh! Is that new?
     
  12. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,393
    Likes Received:
    1,892
    Misterg likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice