On 21 Oct 2008 at 6:38, [EMAIL PROTECTED] wrote: > Jon, > Thanks for the information on the G code. If you have been "reading > the mail" you know I > am just jetting started in LINUX / EMC2. So stand by for some read new > guy dumb questions.
Everyone was/is a newbee at one time that's why we try and get you over the hump as most of us remember the climb up we took... > I was in AXIS, MDI mode playing with the G Code. I set the inch > measurement first and only once (G20) and then moved on the Y axis > using G1 Y+1.959F4, and that worked great. > I them moved on the x axis with G1 X+.120F4 and that worked great. > But the next movement did not work out. I entered G1 Y-1.959F4. The > tool moved in the right direction ok, but did not stop where it was > supposed to. It kept on going. I had to ESTOP the machine. So where > was my mistake? My guess is your mistake was thinking that it would move the opposite direction 1.959 but what you got was a move "to" -1.959 which is a distance of 3.190 from 1.959. Once you set a feed rate you don't have to set it again until you want change it. The same is true for G1. Also the + is not needed. For example you could do it like this: G1 Y1.959 F4 G20 X0.120 (G1 is still in force) Y0 ( the move back to where you started) What you learned was the difference between absolute and incremental modes. http://www.linuxcnc.org/docview/html//gcode_main.html#sub:G90,-G91:-Set Otherwise you have the scaling wrong on the Y axis... John > > John ------------------------------------------------------------------------- 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