SpindleSynchronizedMotion - rmu75/linuxcnc-wiki GitHub Wiki


date: '2012-08-15T22:13:25' title: SpindleSynchronizedMotion

<HTML><IMG SRC="http://wiki.linuxcnc.org/uploads/thread-check.jpg" ALIGN=right></HTML> Basic lathe threading support (spindle synchronized motion) is now in EMC2. The image shows a 3/8-16 thread that was cut with EMC2.

The G33 syntax is subject to change. Right now, the usage is: G33 X- Y- Z- K- where K- gives the distance moved in XYZ for each revolution of the spindle. This syntax is subject to change (in particular, to use F- instead of K-). Support for canned cycles may be in store--more about this is at Lathe_Code.

The sim/lathe(http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob_plain;f=configs/sim/lathe.ini;hb=HEAD) sample configuration has an emulated spindle encoder, and the example program threading.ngc(http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob_plain;f=nc_files/threading.ngc;hb=HEAD) shows G33 usage.

Online documentation for G76 (canned threading cycle): http://www.linuxcnc.org/docs/html/gcode/gcode.html#sec:G76-Threading-Canned

Online documentation for G33 (spindle synchronized motion): http://www.linuxcnc.org/docs/html/gcode/gcode.html#sec:G33-Spindle-Sync