[Emc-users] Lathe Threading in EMC

2007-05-24 Thread Isak Levinson
Hi All,

Is it possible to make threads in EMC2?
In the user manual it says that it is possible, but I can't figure out how to 
do it.

Thanks, Isak.


   
Boardwalk
 for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's 
economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

-
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


Re: [Emc-users] Lathe Threading in EMC

2007-05-24 Thread Isak Levinson
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


Re: [Emc-users] Lathe Threading in EMC

2007-05-24 Thread Jeff Epler
On Thu, May 24, 2007 at 05:46:02AM -0700, Isak Levinson wrote:
 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.

Right now, only a spindle with encoder and index pulse may be used.
The index pulse gives one pulse per revolution, and the rest of the
encoder signal (called phase-A and phase-B) ensures that emc is aware of
the orientation of the spindle at all times.  I think that the
nist-lathe has a 1024 count per revolution encoder, which allows emc to
know the angle to within about 1/3 of a degree.

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