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

Reply via email to