Carving air instead of material. The program is running in reverse!

New Home Forum Mostly Printed CNC – MPCNC Advice – MPCNC Carving air instead of material. The program is running in reverse!

This topic contains 14 replies, has 6 voices, and was last updated by  Mike Atencio 3 months, 3 weeks ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #106283

    Mike Atencio
    Participant

    Here’s something odd. I’m using Aspire 9.5 and installed the test 5 post processor.  When I run my project,  instead of the bit going up,  over and down,  then start carving. It’s carving in reverse. The bit  goes down, across, then it rises up above the wood and starts carving the air above… ain’t that something? And I can’t figure out what to do to fix it.

    #106336

    Ryan
    Keymaster

    Flip your z axis plug, or see if there is a setting to reverse the z.

    1 user thanked author for this post.
    #106339

    Aaron
    Participant

    When you move the z axis by lcd or control software, does it move correctly? If you give it a +z command, does it go up? If not, flip the z plug. If it does move correctly, make sure you have the job start point set correctly. You may have it set to the spoilboard surface as start.

    1 user thanked author for this post.
    #106350

    Mike Atencio
    Participant

    Finally. it works. Thanks.

     

    #106351

    Mike Atencio
    Participant

    Plus was going down. Flipped the plug and it works. Thanks

    2 users thanked author for this post.
    #107105

    Kevin Bergin
    Participant

    Looks like you found a solution, but for the folks that run into this in the future there’s a software fix that can be used as well.

    In the Marlin file in Arduino IDE, you can also change

    #define INVERT_Z_DIR

    to the opposite of whatever it is currently.

    1 user thanked author for this post.
    #107119

    Mike Atencio
    Participant

    Yeah, I had taken my cables off and reversed them when I reinserted them. Brainfart.  Do you know a way to get it to go straight to the same XYZ 000 location (home) every time? I have to manually move the gantry and shut off, then restart so the machine knows my 000 is my left bottom/front corner. It would be great if the software knew where that single point to start from was located.

    I drilled a hole for my home and then move all axis until they line up at that spot. Still…

    Thanks for sharing the code bro. That’s good to know.

    #107267

    Bill
    Participant

    g92 x0 y0 z0 set the current position to 0, 0, 0

    #107271

    Mike Atencio
    Participant

    Hi Bill,

    Is that what I put in my code at the beginning? I’m not sure how to use this. Sorry.

    I do know how to access the gcode in ESTLCam if that helps. Do I move my x,y, and z to the place I want to be 000, then, in my code for what I’m making, enter this code and the three axes all return to the home position every time? Or unless I shut the machine off? I hope that’s clear.

    mike

    #107354

    Barry
    Participant

    Hey Mike.  If you put that code at the start of your gcode, wherever you hit go, will automagically become 0.  It will stay 0 until you issue another G92 command, or power cycle the board.  Makes forgot to set zero errors go away that way.  Nothing worse than getting your endmill where you want it, then hitting go, and watching it zip half way across the workpiece before starting.  So far I’ve not had it start in the wrong place that’s recoverable…..  😆

    2 users thanked author for this post.
    #107365

    Mike Atencio
    Participant

    Perfect. That makes it possible to have repeatability instead of cycling through and restarting. Thanks Barry, and Bill

    #107419

    Bill
    Participant

    Yeah, you could manually set it in Repetier-Host, but it’s much harder to forget if you have it generated at the start of your gcode. 🙂

    #107447

    Mike Atencio
    Participant

    I agree. I use Aspire for my carving and I can add it in there somewhere.  I have to figure it out again. To be able to lock a start point and reproduce a part is what CNC is all about.

    #107502

    Barry
    Participant

    Probably add it to the post processor.

    #107527

    Mike Atencio
    Participant

    Can I go in and change that on Test 5 PP?

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.