584,802 active members*
5,071 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2017
    Posts
    23

    How to delete a full pass in g-code

    I'm the owner of a chinese cnc router that works quite well. In Cameroon we have electricity cuts all along the day.
    1- Very often, I face electricity cuts while the cnc router is working. I'm forced to restart the whole job and carve empty space till I reach the right depth.
    How can I eliminate a pass which is already done when current comes back. I know taht I've to edit the g-code, but how to do it?
    2- ncstudio is unable to store the working origin when the computer shuts down. How to come back to origin in ncstudio ? Heeelllllp!!!!

  2. #2
    Join Date
    Apr 2004
    Posts
    5728

    Re: How to delete a full pass in g-code

    Do you get a different origin when you re-home after a power failure? If so, it might be helpful to make a divot with your tool when you're first starting out that's at a known position, off the part that's going to be carved away. That way, when you come back you can move the tool so it's in the divot you made, and you can put the numbers back into the DRO boxes. Once the numbers are restored to the ones you recorded originally, you can move the tool so it's at the place it stopped when the power went out. The DROs should give you a readout that's pretty close to the location last commanded.

    If you're using Windows, you can edit your G-code in Notepad, which doesn't add any extra characters or formatting. Use the "find" command to skip to the line which corresponds to the place the tool stopped, like X54.456 Y33.567 (You might want to leave out the last digit or two, and check the Z axis values, in case it's been there more than once). When you're sure you've found the right place, select and delete all the G-code above that, leaving out the initial string up to the M command that starts the spindle, and insert a command like G00 Z 3.500 X 54.456 Y33.567 to send it to the place it stopped without cutting a trench through everything that's in the way.
    Andrew Werby
    Website

  3. #3
    Join Date
    Mar 2020
    Posts
    27

    Re: How to delete a full pass in g-code

    Hello, I work for WEIHONG which is NCSTUDIO's manufacturer. There is a function called Select Line to cut. It means you can start from where you want and end where you want. Here is a V10 software as an example for you.
    Attached Thumbnails Attached Thumbnails 111.jpg  

Similar Threads

  1. Sinumerick 802c full memory i can't delete files
    By leonardoaa1206 in forum SIEMENS -> Sinumerik 802D/808D/810D/828D/840D
    Replies: 2
    Last Post: 10-02-2019, 09:06 PM
  2. Eliminating tool markings on profile operations - full depth finish pass?
    By FoxCNC1 in forum Material Machining Solutions
    Replies: 2
    Last Post: 09-29-2014, 03:05 AM
  3. g code - invert X axis after one pass...
    By dodman in forum G-Code Programing
    Replies: 0
    Last Post: 07-08-2013, 09:32 AM
  4. Delete G Code
    By RVALUE in forum G-Code Programing
    Replies: 3
    Last Post: 03-24-2013, 03:55 AM
  5. .5" 316ss Single pass full width of cutter?
    By KVD in forum MetalWork Discussion
    Replies: 9
    Last Post: 08-10-2010, 11:29 PM

Tags for this Thread

Posting Permissions

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