Welcome to Our Community

Some features disabled for guests. Register Today.

POST PROCESSOR

Discussion in 'Control Software' started by Corey Erickson, Sep 19, 2021.

  1. Corey Erickson

    Builder

    Joined:
    Oct 9, 2019
    Messages:
    2
    Likes Received:
    0
    Hoping there is an answer to my question. I'm using the LEAD 1010 machine with the blackbox. I decided to use Fusion360 as my CAM package with the post processor associated with it which I have put into my assets folder. The other day I programed a part which was only going to cut some holes into it, and then went out to cut it. I established a new zero position where i put my workpiece on my machine using the XYZ probe. I started the program and the bit all of a sudden went down in the z direction and started cutting into my part when it should have been a rapid to a certain spot to start the cutting. Did a little digging into it and found in the gcode that there is a G53 command at the beginning of my program that tells my machine to go down in the z direction and then move over. I have played around in fusion with different settings, and different scenarios to see if I can find out how that G53 code is being generated and where it comes up with the number for the z direction with no luck. Has anybody else experienced this issue? Below is a test gcode that I kicked out. The item in yellow is my concern. No matter what I do, it kicks out the G53 code with the Z showing the -0.3937. I have no idea where that negative number is being pulled in from on the programming side in Fusion. When I do the post processing program, I don't check the box for the machine coordinates at end of job box. So my thought would be that by not doing it, it would not show up in my gcode.

    upload_2021-9-19_8-50-1.png

    I would hope that there is a way to fix this within fusion so it is automatic rather than me having to open up the gcode every time and manually changing it every time. Any help is much appreciated. Thanks.

    upload_2021-9-19_8-41-34.png
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,038
    Likes Received:
    4,122
    Post is correct, you just have to remember to HOME the machine to establish G53 Coordinates correctly
     
  3. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,287
    Likes Received:
    1,837
    yeah, as Peter said, always home, and if you don'\t have home switches configured, always fake the home.
    Homing is not an optional extra, the machine controllers relies on it for a proper sense of self.
     
  4. ADH1234

    ADH1234 New
    Builder

    Joined:
    Apr 23, 2020
    Messages:
    25
    Likes Received:
    4
    New to this and just got through my first toolpath set up and export on fusion 360, I'm ready to load the CNC and start cutting, can you tell me if I'm understanding this correctly. I see in the g-code it specifically says it relies on homing.

    1.Upload the g-code file to Openbuilds control
    2. Select the homing function
    3. set zero and select run job

    is this correct or does that line of code mean something different (Line 33, see attached picture)

    I also attached the G-code file if it's required to review.
     

    Attached Files:

  5. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,038
    Likes Received:
    4,122
    100% correct, just remember to Home, then Setzero, then run. And of course make sure your Homing works correctly too
     
    sharmstr and David the swarfer like this.
  6. Grzegorz123

    Builder

    Joined:
    Oct 3, 2021
    Messages:
    20
    Likes Received:
    2
    Ok, after homing zero set at home position or at material to mill?
     
  7. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,038
    Likes Received:
    4,122
    Homing sets Machine Coordinates
    SetZero sets the Work Coordinates

    Work Coordinates are what aligns the GCODE to the Stock - so you'd set it to your material most of the time. Where-ever you set the origin in CAM, that's where you'll set Work Zero too.
    i say that because most often thats front, left, top of stock - but thats not the only places you can use as origin. You can even CAM with origins based off machine too (some people like zeroing off the spoilboard to onion-skin cuts)
     
  8. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,287
    Likes Received:
    1,837
    and if you are working in a vice it is common to set Y zero on the front of the fixed jaw, which is usually the back of the material.
     
    Peter Van Der Walt 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