Thanks, I'll try the nist-lathe config. Does the index output need to be one pulse per revolution? Can it be similar to what there is in mach2 program: several pulses per rev with one pulse wider than the others.
Thanks, Isak. ----- Original Message ---- From: Jeff Epler <[EMAIL PROTECTED]> To: Isak Levinson <[EMAIL PROTECTED]>; Enhanced Machine Controller (EMC) <emc-users@lists.sourceforge.net> Sent: Thursday, May 24, 2007 3:37:16 PM Subject: Re: [Emc-users] Lathe Threading in EMC Yes, it is possible. You need a spindle with encoder and index pulse output. The sample configuration "nist-lathe" shows the necessary HAL configuration when the encoder is connected to parport pins 11, 12, and 13. The sample ngc file "threading.ngc" uses a bunch of G33 (spindle synchronized motion) commands to cut a thread; the file "g76.ngc" uses the threading canned cycle to make a 20TPI thread. The User Manual has a descrition and diagram of the numbers that are used by the G76 threading cycle -- page 143 in the version here: http://linuxcnc.org/docs/2.1/EMC2_User_Manual.pdf Jeff ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ____________________________________________________________________________________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users