Results 1 to 3 of 3

Thread: Help with G-code

  1. #1
    Registered esawyja's Avatar
    Join Date
    Oct 2004
    Location
    South Africa
    Posts
    22
    Downloads
    0
    Uploads
    0

    Help with G-code

    Hi all,
    I cut polystyrene cornices, but how can I modify the G code so that when it is done, it starts at the beginning of the code again and just repeat. At the moment, I would cut one cornice, then REF ALL HOME and start again, so what I want is as follow

    REF ALL HOME
    My G-code for the cornice
    Goto REF ALL HOME

    I know the G code for rewind, but my main problem is the G code for REF ALL HOME. In this way I can start a cut and just keep on doing it till I have enough, or maybe put some kind of counter in the code, so if I want to make 10 cornices, I can set the counter to stop at 10? See the machine at http://www.poly-cor.com see the CNC page

    I use AutoCad to design the cornice, export to DXF, load in DeskCNC to generate the G code and then control the machine with MACH3 (Quantum)

    Please help
    http://www.poly-cor.com


  2. #2
    Registered
    Join Date
    May 2007
    Location
    US
    Posts
    779
    Downloads
    0
    Uploads
    0
    Have you tried.

    Code:
    G91 G28 X0 Y0
    
    or
    
    G53 X0 Y0


  3. #3
    Registered esawyja's Avatar
    Join Date
    Oct 2004
    Location
    South Africa
    Posts
    22
    Downloads
    0
    Uploads
    0
    Problem with the code is that I do not want to move from the position where the cutter stopped after the 1st cornice, I just want to REF ALL HOME and then start cutting the new cornice, so that will take care of the spacing etc
    Thanks
    http://www.poly-cor.com


Similar Threads

  1. Wierd NC Code and G-Code
    By Tazzer in forum General CAM Discussion
    Replies: 10
    Last Post: 01-09-2012, 02:07 PM
  2. To hand Code? or to CAD Code?
    By automizer in forum Polls
    Replies: 81
    Last Post: 11-26-2011, 10:30 PM
  3. learning g code or cad-cam code output?
    By slow_rider in forum G-Code Programing
    Replies: 3
    Last Post: 02-27-2010, 09:48 PM
  4. G-code for beginners - want to learn G-code
    By FPV_GTp in forum G-Code Programing
    Replies: 7
    Last Post: 11-18-2008, 12:25 AM
  5. looking for g code 3d from bobcadcam or simmilar for indexer lpt v5 with g code soft
    By troyswood in forum Ability Systems - LPT Indexer and G-Code
    Replies: 2
    Last Post: 12-24-2006, 10:21 PM

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.