Hi John, on line 31 of the gcode file, you should see G0 Z#1000 This is the first move after executing the variable initialization (lines 5 to 11) and setting the operating conditions (line 30) This should do a rapid move on Z to the safe Z position defined in line 5. Using the engrave11 defaults, this should be +0.1" above the surface of your material. Line 34 calls a subroutine o9000 that does a rapid move to the start of the engraving. The 3 numbers you see on line 34 after the call are: the rapid or at Fxx flag used to move at either the setup rapid speed or at the speed programmed by the F command on line 30; the x value to position to(scaled in the o9000 subroutine); and the y value to position to(scaled in the o9000 subroutine). Line 35 then sets to the Z axis the number programmed in variable 1001 (set on line 6) using the feedrate defined in line 30. This should take the cutter down into the material (a minus Z value).
To help you learn what is happening, it would be very useful to single step the program in axis. This way you will get a feel for what each line of gcode actually does. Other than the subroutine and calls, the gcode is very straight forward. Its all G0 or G1 moves (no arcs etc). You can check lines 5 and 6 in the gcode file to see what the variables are set to for a safe Z and the engraving depth Z. The defaults assume that Z=0.000 is at the top surface of your workpiece. It is possible that you have your Z axis calibrated in a reverse direction. The numbers set in lines 5 to 11 all come from the gui screen for engrave11.py cheers On Tue, 2008-10-21 at 15:56 -0400, John Domville wrote: > LaweranceG, > > > > I was able to copy the g-code from a terminal window running copy of > engrave-11.py. I then opened a working AXIS file, erased everything > then pasted the clipboard file into it and saved it under another > name. I then was able to "open" it from AXIS. > > The problem I have now is that it does not run well on my SHERLINE > Mill. It starts by cutting a straight line from the start point to the > location of the first letter. Then raises the bit off of the surface > and does the rest of the movements in free air. It's almost like its > running the Z axis backwards. The first line from the start point to > the letter should be up off of the piece and then back down for the > engraving. Mine is doing just the opposite. I have been routing PBB’s > alright with the mill so I know it is set up OK. > > Still can't get the engrave-11.py to run from within AXIS, but > that’s no real problem. Just extra steps with the running of > engrave-11.py as an executable and then doing the cutting and pasting. > > John-Elmira NY (KC2EQ) > > > > -----Original Message----- > From: Lawrence Glaister [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 21, 2008 2:53 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Engrave11.py > > > > On Tue, 2008-10-21 at 11:27 -0400, John Domville wrote: > > > I have muddled through all that was necessary to get Engrave-11.py > on > > > my LINUX machine. I installed QCAD so I > > > > > > Would not only have the fonts but the dedicated hard path to their > > > location in the script. I can run the program > > > > > > Thru a terminal window but see only a “save to clip board” option as > a > > > output. > > > > > Hi John, > > The engraving program is smart enough to know if its being run as an > > axis input filter or directly as a standalone program. The save to > > clipboard button will generate and copy all the gcode to the system > > clipboard. If you have another window open with an editor (gedit,vim > > etc) you can use the edit/paste option to copy the gcode into the > editor > > file window. This is quite useful when doing multiple engraving > strings > > like on a front panel for a project. With multiple pastes, you will > have > > to do a little cleanup as the included subroutine(s) should only be > > defined once in a gcode file.... as well, if you have defined preamble > > and postamble on the engraving screen, this is only needed once in a > > g-code file. (This problem solved.) > > > > To get engrave to work as an axis input filter you need to follow the > > instruction in section 10 of the link below... > > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_EMC_G-Code_Generators > > > > When you open engrave11.py from within axis, it should pop open a > > similar window to the standalone version except it also gets a button > > that passes off the gcode and returns to axis. > > > > Have fun. > > LawrenceG > > > > > > > > > > > How do I use this “clipboard” to get it into > AXIS? > > > > > > > > > > > > Running AXIS and trying to “open” engrave-11.py does > > > not work. After I select the file in the open menu, AXIS just sets > > > > > > There. No indication that it was loaded. No changes in the prior G > > > Code window of AXIS. > > > > > > > > > > > > John – Elmira NY > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > > Build the coolest Linux based applications with Moblin SDK & win > great prizes > > > Grand prize is a trip for two to an Open Source event anywhere in > the world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ Emc-users mailing > list Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > -- > > > > ===================================================================== > > Lawrence Glaister VE7IT mailto:[EMAIL PROTECTED] > > 1462 Madrona Drive > > Nanoose Bay, B.C. http://members.shaw.ca/swstuff > > Canada V9P 9C9 http://gspy.sourceforge.net > > ===================================================================== > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users