Re: [Emc-users] HNC Lathe Spindle Sync Motion

2007-10-15 Thread Kirk Wallace
On Sun, 2007-10-14 at 18:00 -0700, Kirk Wallace wrote: Last week I made my first thread on my lathe. It didn't take long to get good threads, but I wasn't happy with the PID tuning, so I have been doing battle with that. After some improvement, I tried another thread and got a pronounced surge

[Emc-users] Fw: G-Code

2007-10-15 Thread Alex Joni
Might be of interest. Regards, Alex - Original Message - From: D. Kokenge To: Alex Joni Sent: Sunday, October 14, 2007 12:00 AM Subject: G-Code I recently wrote software to generate G-code from a photo or line drawings. It generates code that follows line or photos. Photos

Re: [Emc-users] Fw: G-Code

2007-10-15 Thread Gene Heskett
On Monday 15 October 2007, Alex Joni wrote: Might be of interest. Regards, Alex - Original Message - From: D. Kokenge To: Alex Joni Sent: Sunday, October 14, 2007 12:00 AM Subject: G-Code I recently wrote software to generate G-code from a photo or line drawings. It generates code

Re: [Emc-users] Halscope Settings

2007-10-15 Thread John Kasunich
Kirk Wallace wrote: I looked briefly at the emc.nml file and didn't see anything obvious, but I wonder if there is a way to run Halscope on another computer like you can run the user interface by redirecting emcsvr? Nope, sorry. HAL is strictly a local thing. You can of course run

[Emc-users] Restoring a saved HAL file

2007-10-15 Thread John Thornton
I'm trying to restore a saved HAL file in the terminal window. following the HAL TUTORIAL Chap 2.3.6 I get the following error after issuing this command: linux:~$ halcmd -f saved.hal RAPTI: ERROR: could not open shared memory (error=2) HAL: ERROR: rtapi init failed calcmd: hal_init()

[Emc-users] Topolinux?

2007-10-15 Thread Ian Wright
Hi, Does anyone know whether it is possible to run EMC2 in Topolinux within Windows XP? I'm not bothered about it running slow or not doing anything 'real' but my only computer with linux running on it is in the workshop and it would be nice to be able to mess about with sims etc. on EMC

Re: [Emc-users] Restoring a saved HAL file

2007-10-15 Thread Jeff Epler
On Mon, Oct 15, 2007 at 08:31:03AM -0500, John Thornton wrote: I'm trying to restore a saved HAL file in the terminal window. following the HAL TUTORIAL Chap 2.3.6 I get the following error after issuing this command: linux:~$ halcmd -f saved.hal RAPTI: ERROR: could not open shared memory

Re: [Emc-users] Restoring a saved HAL file

2007-10-15 Thread Alex Joni
You need to start the realtime subsystem first: e.g. : sudo /etc/init.d/realtime start (there might be an easier way to start it, which I'm overlooking now) Regards, Alex - Original Message - From: John Thornton [EMAIL PROTECTED] To: emc-users@lists.sourceforge.net Sent: Monday, October

Re: [Emc-users] Topolinux?

2007-10-15 Thread Alex Joni
Hi, I run it all the time inside a virtual machine. VMware Server is a free VM machine (running on Win here), in which you can install emc2 (the Live CD) and it will work without issues. You can also install a stock Ubuntu, and compile the non-RT simulation version of emc2 (this should work a

[Emc-users] Threading without feedback?

2007-10-15 Thread Svenne Larsson
Guys, Out of curiosity, can an EMC lathe make threads without spindle feedback? On cnczone.com a guy posted pictures on a thread made with Mach without spindle feedback, only a VFD as speed controller. They looked truly good. I know there are problems with it (torque figures, exact positioning,

Re: [Emc-users] Pluto Alternatives

2007-10-15 Thread Jon Elson
Stephen Wille Padnos wrote: It might make sense to have an option without terminals, for those of us who really can't stand the IDC ones ;) Even if I only save $10 or $20 due to parts cost, I sure save a lot of work and aggravation by not having to desolder the large connectors. I can't

Re: [Emc-users] HNC Lathe Spindle Sync Motion

2007-10-15 Thread Chris Radek
On Sun, Oct 14, 2007 at 06:00:46PM -0700, Kirk Wallace wrote: http://www.wallacecompany.com/cnc_lathe/HNC/emc2/spindle_sync_surge-1b.png Like Jon says, the axis needs some time to sync up with the spindle. The lower your acceleration is, the harder this is to do, and the farther outside the

Re: [Emc-users] Halscope Settings

2007-10-15 Thread Jon Elson
Kirk Wallace wrote: On Sun, 2007-10-14 at 22:59 -0500, Jon Elson wrote: Kirk Wallace wrote: Is there a way to save Halscope channel settings and reload them later? It does do that. If you don't have the latest version, it didn't save every setting, but it did save the channel assignment.

Re: [Emc-users] HNC Lathe Spindle Sync Motion

2007-10-15 Thread Jon Elson
Kirk Wallace wrote: After looking at the graph for a while, it came to me that the slope of the Z0 to Z2 move intersects the vertex of the Z2 to Z0 move and the G4p0.2 dwell. Shown as line A my revised graph here: http://www.wallacecompany.com/cnc_lathe/HNC/emc2/spindle_sync_surge-1b.png

Re: [Emc-users] Fw: G-Code

2007-10-15 Thread Jon Elson
Alex Joni wrote: From: D. Kokenge To: Alex Joni Sent: Sunday, October 14, 2007 12:00 AM Subject: G-Code I recently wrote software to generate G-code from a photo or line drawings. It generates code that follows line or photos. Photos move the head back and forth up the photo. Line

Re: [Emc-users] Threading without feedback?

2007-10-15 Thread Jon Elson
Svenne Larsson wrote: Guys, Out of curiosity, can an EMC lathe make threads without spindle feedback? On cnczone.com http://cnczone.com a guy posted pictures on a thread made with Mach without spindle feedback, only a VFD as speed controller. They looked truly good. I know there are

Re: [Emc-users] HNC Lathe Spindle Sync Motion

2007-10-15 Thread Chris Radek
On Mon, Oct 15, 2007 at 10:49:05AM -0500, Jon Elson wrote: Lines A and B are separated by about 1/3 of a second. If your spindle speed is roughly 180 RPM, then they are separated by one turn of the spindle. EMC decides which turn is best to sync to. See my other message for a

Re: [Emc-users] Threading without feedback?

2007-10-15 Thread Chris Radek
On Mon, Oct 15, 2007 at 05:24:01PM +0200, Svenne Larsson wrote: Guys, Out of curiosity, can an EMC lathe make threads without spindle feedback? On cnczone.com a guy posted pictures on a thread made with Mach without spindle feedback, only a VFD as speed controller. They looked truly good.

Re: [Emc-users] hal servo questions

2007-10-15 Thread Sebastian Kuzminsky
Chris Radek [EMAIL PROTECTED] wrote: On Mon, Oct 08, 2007 at 07:51:59PM -0600, Sebastian Kuzminsky wrote: Duty cycles from 0 to about 55% give me increasing whining from the motor but no movement at all. 55 to 100% gives increasing motor speed and torque. I think my linearity is much

Re: [Emc-users] Threading without feedback?

2007-10-15 Thread Svenne Larsson
Na, that wasn't my purpose so please let Mach stay out of this. :) Thanks for the replies, I was interested in the theoretical manner. Regards, Sven 2007/10/15, Chris Radek [EMAIL PROTECTED]: On Mon, Oct 15, 2007 at 05:24:01PM +0200, Svenne Larsson wrote: Guys, Out of curiosity, can an

[Emc-users] my servo motor is faster than my computer!

2007-10-15 Thread Sebastian Kuzminsky
I'm playing around with EMC, trying to control a small brushed DC motor. The parallel port controls an H-bridge circuit which feeds power to the motor. The motor has a 256-line encoder on the motor shaft, which I read through the parallel port. The fastest thread my PC can run reliably is about

Re: [Emc-users] Pluto Alternatives

2007-10-15 Thread Kyle
Maybe this is a dumb point. Could you not flow solder on the contacts on the board and let the user choose? Kyle Jon Elson wrote: I can't test it on my bed-of-nails text fixture without something soldered in those holes. Maybe I should prominently list the screw-terminal option on my

Re: [Emc-users] Pluto Alternatives

2007-10-15 Thread Stephen Wille Padnos
Actually, there's a better way :) (getting rid of the solder is one of the pains of replacing those connectors.) There are hundreds of kinds of pins for bed-o-nails fixtures, including ones that are meant to toich pins (cup varieties), ones that are meant to touch bare metal areas like SMT

Re: [Emc-users] my servo motor is faster than my computer!

2007-10-15 Thread John Kasunich
Sebastian Kuzminsky wrote: I'm playing around with EMC, trying to control a small brushed DC motor. The parallel port controls an H-bridge circuit which feeds power to the motor. The motor has a 256-line encoder on the motor shaft, which I read through the parallel port. The fastest thread

Re: [Emc-users] my servo motor is faster than my computer!

2007-10-15 Thread Sebastian Kuzminsky
John Kasunich [EMAIL PROTECTED] wrote: Sebastian Kuzminsky wrote: I've determined that with no load on the motor shaft, stepping the PWM duty cycle from 0 to 100% causes the motor to accelerate from a stand-still to the 1200 RPM limit in about 75 us. Wow. And wow again. That is one

Re: [Emc-users] my servo motor is faster than my computer!

2007-10-15 Thread John Kasunich
Sebastian Kuzminsky wrote: It's a Pittman 8322, overdriven from 19.1 V to 24 V. The rated top speed (at 19.1 V) is 7847 rpm, rated peak torque is 7.4 oz*in. There are excellent manufacturer's specs here: http://pittmannet.com/series8000motors.html Bummer, I was hoping to do it all in

Re: [Emc-users] HNC Lathe Spindle Sync Motion

2007-10-15 Thread Kirk Wallace
On Mon, 2007-10-15 at 11:05 -0500, Chris Radek wrote: On Mon, Oct 15, 2007 at 10:49:05AM -0500, Jon Elson wrote: Lines A and B are separated by about 1/3 of a second. If your spindle speed is roughly 180 RPM, then they are separated by one turn of the spindle. EMC decides which turn

Re: [Emc-users] Threading without feedback?

2007-10-15 Thread Jeff Epler
emc's motion controller uses the following HAL pins during the G33 spindle synchronized move and G76 threading canned cycle: motion.spindle-revs motion.spindle-index-enable These must behave like the canonical encoder interface pins 'position' and 'index-enable', described here:

Re: [Emc-users] HNC Lathe Spindle Sync Motion

2007-10-15 Thread Kenneth Lerman
I don't know what a K word does, but the interpreter allows only one per block. The interpreter reads the block, storing all of the words in a table, and then interprets it. The order of words in a block in not generally relevant. The K word could be first, or last, or anywhere in the block. Ken

Re: [Emc-users] my servo motor is faster than my computer!

2007-10-15 Thread Sebastian Kuzminsky
John Kasunich [EMAIL PROTECTED] wrote: If you limit the speed to 1200 RPM, you will be handicapping the motor. The power that a motor delivers is the product of speed and torque. If you cut the top speed from 7847 to 1200 RPM, you can only get 15.3% of the motor's rated power out of it.

Re: [Emc-users] Pluto Alternatives

2007-10-15 Thread Kirk Wallace
On Mon, 2007-10-15 at 13:18 -0400, Stephen Wille Padnos wrote: Actually, there's a better way :) (getting rid of the solder is one of the pains of replacing those connectors.) There are hundreds of kinds of pins for bed-o-nails fixtures, including ... snip went to the socketed probe pins.

Re: [Emc-users] Threading without feedback?

2007-10-15 Thread John Prentice
Sven Not sure about what was posted as the link is rather generic. Mach3 uses an index sensor (slotted disc and opto) to get angular orientation and speed. Could not work with just a VFD as you need to know the angle to start each pass. But threads are pretty good with the simple opto gate or

Re: [Emc-users] HNC Lathe Spindle Sync Motion

2007-10-15 Thread Jeff Epler
It may be useful to refer to the docs, which I believe are up to date http://linuxcnc.org/docs/devel/html/gcode_main.html#sec:G33,-G33.1:-Spindle-Synchronized .. but perhaps this conversation can help improve the documentation. On Mon, Oct 15, 2007 at 11:33:27AM -0700, Kirk Wallace wrote: - Can

Re: [Emc-users] HNC Lathe Spindle Sync Motion

2007-10-15 Thread Chris Radek
On Mon, Oct 15, 2007 at 11:33:27AM -0700, Kirk Wallace wrote: - Can a K be applied to each axis? Such as G33 z1.0 k0.050 x0.100 k0.010. I suppose, I could just try it and see what happens. If I understand what you want, you get it just by specifying a diagonal move. K is the pitch _along the

Re: [Emc-users] Pluto Alternatives

2007-10-15 Thread Peter C. Wallace
Oh good - I'm glad I'm not the only one who has done that ;) Mesa has some of their I/O boards with terminal header options - the boards are about $20 more than their ribbon header counterparts, but the two 24-pin terminal plugs are about $22 *each*. It's less than a (reasonable quality)

Re: [Emc-users] Restoring a saved HAL file

2007-10-15 Thread John Thornton
I couldn't tell if option was a lower case l (ell) or an upper case I (eye). Turns out it is an upper case i. Perhaps the upper case I (eye) and lower case l (ell) are poor choices for options... can't tell them apart on many systems. Now I can test hal snippets... If I can be of any help on

[Emc-users] Can anyone recomend me some Stepper Motor Drive interface?

2007-10-15 Thread 0 . 0
Hello everybody, i'm trying to make my own CNC Machine with EMC based as control, and i dont know how start, i mean what Stepper motor drive interface i need, or if exist some guide to build one, maybe i'm can build it, i has see some examples in internet using Darling Transistors, .. i has read

Re: [Emc-users] Pluto Alternatives

2007-10-15 Thread Jon Elson
Kyle wrote: Maybe this is a dumb point. Could you not flow solder on the contacts on the board and let the user choose? Most users would not want to have to suck the solder out of 60 holes and then solder in connectors. I really don't blame them, either! If you really want to do it this

Re: [Emc-users] my servo motor is faster than my computer!

2007-10-15 Thread Jon Elson
Sebastian Kuzminsky wrote: John Kasunich [EMAIL PROTECTED] wrote: The problem is going to be getting usable velocity feedback. Your encoder sampling is at 25uS, and your PID is running at 75uS. That means in any one PID period, you get either 0, 1, 2, or 3 encoder counts. Not much

Re: [Emc-users] HNC Lathe Spindle Sync Motion

2007-10-15 Thread Jon Elson
Kirk Wallace wrote: The only reason I put the G4's in was to try attenuate the low acceleration problem. I wonder if it is worth fixing. I am getting the impression that the spindle index is what starts the selected axis movement. No, I think there has to be more to it than that. If

Re: [Emc-users] Pluto Alternatives

2007-10-15 Thread Javid Butler
You might be able to find a crown type large enough to probe either populated or unpopulated boards. Have you tried targeting the edge of the hole with a crown type? Unless the fillet is very large that might work. Javid - Original Message - From: Jon Elson [EMAIL PROTECTED] To:

Re: [Emc-users] HNC Lathe Spindle Sync Motion

2007-10-15 Thread Jon Elson
Jeff Epler wrote: It may be useful to refer to the docs, which I believe are up to date http://linuxcnc.org/docs/devel/html/gcode_main.html#sec:G33,-G33.1:-Spindle-Synchronized .. but perhaps this conversation can help improve the documentation. On Mon, Oct 15, 2007 at 11:33:27AM -0700, Kirk