Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread Mike Bennett
Sounds like a good idea Andy, as long as each axis retains it's own value. Mike On 7 May 2012, at 20:15, andy pugh bodge...@gmail.com wrote: On 7 May 2012 15:16, gene heskett ghesk...@wdtv.com wrote: because Touch Off doesn't display the current setting, but defaults to 0.0. That of

Re: [Emc-users] Behavior of Touch-Off Dialog (and Tool Table Editor?)

2012-05-08 Thread andy pugh
On 8 May 2012 04:18, Chris Radek ch...@timeguy.com wrote: I must say that most often what I do with touch off is to accept the default zero value because I want to set the system origin where the tool is.  I also frequently type +/- an edge finder or probe tip radius. In some cases, though,

Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread andy pugh
On 8 May 2012 01:01, gene heskett ghesk...@wdtv.com wrote: Lathe mode seems to default to G8, that is something I've not tweaked. Another man page to read... Maybe the RS274NGC_STARTUP_CODE entry in the INI file?

Re: [Emc-users] Behavior of Touch-Off Dialog

2012-05-08 Thread John Thornton
I've given up using the touch off for setting the Z offset for the tool table due to making so many mistakes with not having the correct touch off selected in the menu and created a pyvcp button to do that. Next on the list is a pyvcp button to touch off the Z of the material. I always use a

Re: [Emc-users] Behavior of Touch-Off Dialog (and Tool Table Editor?)

2012-05-08 Thread BRIAN GLACKIN
snip I think current value and zero are the two initial values that make the most sense, but I don't know which one is useful MORE of the time. I suspect this is a matter of opinion and/or practice and opinion will be split. snip Perhaps the desired behavior can be triggered by the INI

Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread Dave
On 5/7/2012 6:34 AM, Steve Blackmore wrote: I also have an 8 position Enco type auto tool changer that I made, but haven't managed to get that to work with LinuxCNC. I gave up after days of hal editing. If you want to resurrect that project.. post what problems you run into. A

Re: [Emc-users] Behavior of Touch-Off Dialog (and Tool Table Editor?)

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 11:17:37 AM andy pugh did opine: On 8 May 2012 04:18, Chris Radek ch...@timeguy.com wrote: I must say that most often what I do with touch off is to accept the default zero value because I want to set the system origin where the tool is. I also frequently type +/-

Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 11:22:25 AM andy pugh did opine: On 8 May 2012 01:01, gene heskett ghesk...@wdtv.com wrote: Lathe mode seems to default to G8, that is something I've not tweaked. Another man page to read... Maybe the RS274NGC_STARTUP_CODE entry in the INI file?

Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread andy pugh
On 8 May 2012 13:39, Dave e...@dc9.tzo.com wrote: On 5/7/2012 6:34 AM, Steve Blackmore wrote: I also have an 8 position Enco type auto tool changer ... I gave up after days of hal editing. If you want to resurrect that project. There are a couple of dedicated HAL components for that type of

Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread andy pugh
On 8 May 2012 16:32, gene heskett ghesk...@wdtv.com wrote: Maybe the RS274NGC_STARTUP_CODE entry in the INI file? Not used in mine, possibly not included because I could never get stepconfig to run, As far as I know, Stepconf doesn't add that. You would have to add it yourself, but it ought

[Emc-users] Opinions on Leadwell VMC?

2012-05-08 Thread s...@highlab.com
Has anyone used a Leadwell VMC? Are they any good? There's one for sale nearby, cheap because it's got a dead controller... http://fortcollins.craigslist.org/tls/2952112016.html -- Live Security Virtual Conference

Re: [Emc-users] Behavior of Touch-Off Dialog

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 11:34:27 AM John Thornton did opine: I've given up using the touch off for setting the Z offset for the tool table due to making so many mistakes with not having the correct touch off selected in the menu and created a pyvcp button to do that. Next on the list is a

Re: [Emc-users] Behavior of Touch-Off Dialog (and Tool Table Editor?)

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 11:50:47 AM BRIAN GLACKIN did opine: snip I think current value and zero are the two initial values that make the most sense, but I don't know which one is useful MORE of the time. I suspect this is a matter of opinion and/or practice and opinion will be

Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 11:59:31 AM andy pugh did opine: On 8 May 2012 16:32, gene heskett ghesk...@wdtv.com wrote: Maybe the RS274NGC_STARTUP_CODE entry in the INI file? Not used in mine, possibly not included because I could never get stepconfig to run, As far as I know, Stepconf

Re: [Emc-users] Behavior of Touch-Off Dialog

2012-05-08 Thread BRIAN GLACKIN
snip John There is an echo in here. Maybe John and I are alone, but I think far fewer homing and touch off mistakes, where a previously established setting was in-advertantly foobared, is caused by the auto coupling between the last axis moved and these two functions. I have destroyed my Z

[Emc-users] PID controller Q's

2012-05-08 Thread gene heskett
I currently have the commanded spindle velocity, NDI if it is supposed to be rpms or what, essentially being fed thru the abs function directly into the pid.0.command input. I am sending the encoder.0.velocity thru the abs function also then into pid.0.feedback. This voltage on the hal meter

Re: [Emc-users] PID controller Q's

2012-05-08 Thread Peter C. Wallace
On Tue, 8 May 2012, gene heskett wrote: Date: Tue, 8 May 2012 15:45:11 -0400 From: gene heskett ghesk...@wdtv.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: [Emc-users] PID

Re: [Emc-users] PID controller Q's

2012-05-08 Thread andy pugh
On 8 May 2012 20:45, gene heskett ghesk...@wdtv.com wrote: setp    pid.0.Pgain                     0 setp    pid.0.Igain                     1 setp    pid.0.Dgain                     1 setp    pid.0.maxoutput                 401 # to keep it from running away I know that I-only is what the

Re: [Emc-users] PID controller Q's

2012-05-08 Thread Dave
Gene, You have no Pgain, but Igain and Dgain. That's a problem. An all I and D loop is almost always unstable. Chances are you are going to want Pgain and a little Igain and little Dgain(maybe.. if at all). Start out by trying some Pgain and no Igain or Dgain and see what happens.. Bump up

Re: [Emc-users] PID controller Q's

2012-05-08 Thread andy pugh
On 8 May 2012 21:06, Dave e...@dc9.tzo.com wrote: You have no Pgain, but Igain and Dgain.  That's a problem.  An all I and D loop is almost always unstable. That depends…. For a spindle P gain is not much help, as you need a non-zero PID output even when at the set speed (and when the error

Re: [Emc-users] PID controller Q's

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 04:26:08 PM Peter C. Wallace did opine: On Tue, 8 May 2012, gene heskett wrote: Date: Tue, 8 May 2012 15:45:11 -0400 From: gene heskett ghesk...@wdtv.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine

Re: [Emc-users] PID controller Q's

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 04:33:56 PM andy pugh did opine: On 8 May 2012 20:45, gene heskett ghesk...@wdtv.com wrote: setppid.0.Pgain 0 setppid.0.Igain 1 setppid.0.Dgain 1 setppid.0.maxoutput 401 #

Re: [Emc-users] PID controller Q's

2012-05-08 Thread Peter C. Wallace
On Tue, 8 May 2012, gene heskett wrote: Date: Tue, 8 May 2012 16:33:06 -0400 From: gene heskett ghesk...@wdtv.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] PID controller Q's On Tuesday,

Re: [Emc-users] PID controller Q's

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 04:39:15 PM Dave did opine: Gene, You have no Pgain, but Igain and Dgain. That's a problem. An all I and D loop is almost always unstable. Chances are you are going to want Pgain and a little Igain and little Dgain(maybe.. if at all). Start out by trying

Re: [Emc-users] PID controller Q's

2012-05-08 Thread andy pugh
On 8 May 2012 21:38, gene heskett ghesk...@wdtv.com wrote: I believe that FF0 + I is the way to go. WIth FF0 set to rpm/duty cycle and a much smaller I than you currently have to take up the error. Would that not require a dynamic, dependent on speed, FF0 then?  Since rps can easily go from

Re: [Emc-users] PID controller Q's

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 04:42:52 PM andy pugh did opine: On 8 May 2012 21:06, Dave e...@dc9.tzo.com wrote: You have no Pgain, but Igain and Dgain. That's a problem. An all I and D loop is almost always unstable. That depends…. For a spindle P gain is not much help, as you need a

Re: [Emc-users] PID controller Q's

2012-05-08 Thread Peter C. Wallace
On Tue, 8 May 2012, gene heskett wrote: Date: Tue, 8 May 2012 16:52:37 -0400 From: gene heskett ghesk...@wdtv.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] PID controller Q's On Tuesday, May 08,

Re: [Emc-users] PID controller Q's

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 04:53:56 PM Peter C. Wallace did opine: On Tue, 8 May 2012, gene heskett wrote: Date: Tue, 8 May 2012 16:33:06 -0400 From: gene heskett ghesk...@wdtv.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To:

Re: [Emc-users] PID controller Q's

2012-05-08 Thread andy pugh
On 8 May 2012 21:52, gene heskett ghesk...@wdtv.com wrote: Silly Q probably, but could the pid.0.command value also be sent to sum2.0.in0, and the pid.0.output sent to sum2.0.in1 to furnish the desired offset, allowing the pid module to work with a much more balanced (read closer to zero)

Re: [Emc-users] PID controller Q's

2012-05-08 Thread Peter C. Wallace
This shows the inner workings of the PID comp Notice that FF0 does exactly what you want, that is copies a scaled portion of the PID command input directly to the output http://linuxcnc.org/docs/html/hal/rtcomps.html#sec:PID Peter Wallace Mesa Electronics

Re: [Emc-users] PID controller Q's

2012-05-08 Thread Dave
On 5/8/2012 4:22 PM, andy pugh wrote: On 8 May 2012 21:06, Davee...@dc9.tzo.com wrote: You have no Pgain, but Igain and Dgain. That's a problem. An all I and D loop is almost always unstable. That depends…. For a spindle P gain is not much help, as you need a non-zero PID

Re: [Emc-users] Behavior of Touch-Off Dialog (and Tool Table Editor?)

2012-05-08 Thread Frank Tkalcevic
More exotic ideas might involve two entry boxes and two submit buttons... How about defaulting to the current position in the text box, and adding a Zero button that zeros and submits in one click. -- Live Security

Re: [Emc-users] PID controller Q's

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 05:00:12 PM andy pugh did opine: On 8 May 2012 21:38, gene heskett ghesk...@wdtv.com wrote: I believe that FF0 + I is the way to go. WIth FF0 set to rpm/duty cycle and a much smaller I than you currently have to take up the error. Would that not require a

Re: [Emc-users] PID controller Q's

2012-05-08 Thread gene heskett
On Tuesday, May 08, 2012 05:34:22 PM Peter C. Wallace did opine: On Tue, 8 May 2012, gene heskett wrote: Date: Tue, 8 May 2012 16:52:37 -0400 From: gene heskett ghesk...@wdtv.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To:

[Emc-users] Joystick Pendant

2012-05-08 Thread Mike Bennett
I've just 'wired' up a joystick to use as a pendant, based on the Simple Remote Pendant article on the Wiki. As I only have two analogue inputs X Y (the third is normally used for throttle and does not self centre so I did not fancy using that) I used the trigger button to select between X

Re: [Emc-users] Setting EPP Mode

2012-05-08 Thread Jeshua Lacock
On May 7, 2012, at 8:04 PM, Jon Elson wrote: BTW: apparently my current card is PCI, not PCI-e: http://www.amazon.com/gp/product/B000MY45WS/ref=oh_details_o00_s00_i03 Somehow I got the idea from one of the lspci reports that your board was pci-e. The Startech boards were reported to

Re: [Emc-users] PID controller Q's

2012-05-08 Thread andy pugh
On 8 May 2012 22:37, gene heskett ghesk...@wdtv.com wrote: On Tuesday, May 08, 2012 05:34:22 PM Peter C. Wallace did opine: From the pid man page:  pid.N.FF0 float rw              Zero order feed-forward term.  Produces a contribution to the output that is FF0 multiplied  by  the  commanded  

Re: [Emc-users] Joystick Pendant

2012-05-08 Thread andy pugh
On 8 May 2012 22:54, Mike Bennett mjb1...@gmail.com wrote: However I notice strange behaviour on start up.  I tracked this down to the fact that input.0.btn-joystick and input.0.btn-joystick-not were both false until the trigger is pressed the first time.  Is this normal?  I guess I can

Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread Steve Blackmore
On Tue, 08 May 2012 08:39:17 -0400, you wrote: On 5/7/2012 6:34 AM, Steve Blackmore wrote: I also have an 8 position Enco type auto tool changer that I made, but haven't managed to get that to work with LinuxCNC. I gave up after days of hal editing. If you want to resurrect that

[Emc-users] AC Servo Motor

2012-05-08 Thread Mark Cason
Is this motor worth trying to get working? http://www.flickr.com/photos/46689581@N03/7161870700/in/photostream http://www.flickr.com/photos/46689581@N03/7162041060/in/photostream A quick Google turns up nothing. I got it for nothing, and I'm interested in rigging it up to the Y axis on my

Re: [Emc-users] hal 'net' command puzzler

2012-05-08 Thread Dave
On 5/8/2012 7:48 PM, Steve Blackmore wrote: On Tue, 08 May 2012 08:39:17 -0400, you wrote: On 5/7/2012 6:34 AM, Steve Blackmore wrote: I also have an 8 position Enco type auto tool changer that I made, but haven't managed to get that to work with LinuxCNC. I gave up after days of

Re: [Emc-users] AC Servo Motor

2012-05-08 Thread Dave
On 5/8/2012 10:08 PM, Mark Cason wrote: Is this motor worth trying to get working? http://www.flickr.com/photos/46689581@N03/7161870700/in/photostream http://www.flickr.com/photos/46689581@N03/7162041060/in/photostream A quick Google turns up nothing. I got it for nothing, and I'm

Re: [Emc-users] Behavior of Touch-Off Dialog

2012-05-08 Thread Jon Elson
gene heskett wrote: There is an echo in here. Maybe John and I are alone, but I think far fewer homing and touch off mistakes, where a previously established setting was in-advertantly foobared, is caused by the auto coupling between the last axis moved and these two functions. I have

Re: [Emc-users] Setting EPP Mode

2012-05-08 Thread Jon Elson
Jeshua Lacock wrote: I just installed my new Siig card and I am not having much better luck so far. Launching LinuxCNC did not switch it to EPP mode. Here is what lspci reveals: 08:00.0 Parallel controller: Oxford Semiconductor Ltd OX9162 Mode 0 (parallel port) (prog-if 03)

Re: [Emc-users] Setting EPP Mode

2012-05-08 Thread Jeshua Lacock
On May 8, 2012, at 8:33 PM, Jon Elson wrote: Jeshua Lacock wrote: I just installed my new Siig card and I am not having much better luck so far. Launching LinuxCNC did not switch it to EPP mode. Here is what lspci reveals: 08:00.0 Parallel controller: Oxford Semiconductor Ltd

Re: [Emc-users] Setting EPP Mode

2012-05-08 Thread Jeshua Lacock
On May 8, 2012, at 8:33 PM, Jon Elson wrote: Jeshua Lacock wrote: I just installed my new Siig card and I am not having much better luck so far. Launching LinuxCNC did not switch it to EPP mode. I have tried your or Kirk Wallace's utilities yet because I want to make sure I know what

Re: [Emc-users] AC Servo Motor

2012-05-08 Thread Mark Cason
On 05/08/2012 09:17 PM, Dave wrote: On 5/8/2012 10:08 PM, Mark Cason wrote: Is this motor worth trying to get working? http://www.flickr.com/photos/46689581@N03/7161870700/in/photostream http://www.flickr.com/photos/46689581@N03/7162041060/in/photostream A quick Google turns up

Re: [Emc-users] Behavior of Touch-Off Dialog (and Tool Table Editor? )

2012-05-08 Thread gene heskett
On Wednesday, May 09, 2012 12:50:53 AM Frank Tkalcevic did opine: More exotic ideas might involve two entry boxes and two submit buttons... How about defaulting to the current position in the text box, and adding a Zero button that zeros and submits in one click. I'll vote for that. :)

Re: [Emc-users] PID controller Q's

2012-05-08 Thread gene heskett
On Wednesday, May 09, 2012 12:56:42 AM Peter C. Wallace did opine: This shows the inner workings of the PID comp Notice that FF0 does exactly what you want, that is copies a scaled portion of the PID command input directly to the output

Re: [Emc-users] Setting EPP Mode

2012-05-08 Thread Kirk Wallace
On Tue, 2012-05-08 at 22:26 -0600, Jeshua Lacock wrote: ... snip Here is the dmesg: [8.519908] parport_pc :08:00.0: PCI INT A - GSI 18 (level, low) - IRQ 18 [8.520179] parport0: PC-style at 0xc030 (0xc020), irq 18, using FIFO [PCSPP,TRISTATE,COMPAT,EPP,ECP] [8.620688]

Re: [Emc-users] PID controller Q's

2012-05-08 Thread gene heskett
On Wednesday, May 09, 2012 01:12:21 AM Peter C. Wallace did opine: This shows the inner workings of the PID comp Notice that FF0 does exactly what you want, that is copies a scaled portion of the PID command input directly to the output

Re: [Emc-users] Setting EPP Mode

2012-05-08 Thread Jeshua Lacock
On May 8, 2012, at 11:07 PM, Kirk Wallace wrote: On Tue, 2012-05-08 at 22:26 -0600, Jeshua Lacock wrote: ... snip Here is the dmesg: [8.519908] parport_pc :08:00.0: PCI INT A - GSI 18 (level, low) - IRQ 18 [8.520179] parport0: PC-style at 0xc030 (0xc020), irq 18, using

Re: [Emc-users] Joystick Pendant

2012-05-08 Thread Mike Bennett
Andy For now just linking a button to perform touch off zero would be good, but I need a way to control which axis. I have several buttons spare so I could use one for each axis. Mike On 8 May 2012, at 23:25, andy pugh bodge...@gmail.com wrote: On 8 May 2012 22:54, Mike Bennett

Re: [Emc-users] Setting EPP Mode

2012-05-08 Thread Kirk Wallace
On Tue, 2012-05-08 at 23:33 -0600, Jeshua Lacock wrote: ... snip Alas, I still get a fault: univstepdiags c030 bus io addr = c030 parport addr 0xc030 Segmentation fault LinuxCNC fails to start with the same message as before. Did you use sudo? sudo ./univdiags c030 bus -- Kirk

Re: [Emc-users] PID controller Q's

2012-05-08 Thread gene heskett
On Wednesday, May 09, 2012 01:28:26 AM andy pugh did opine: On 8 May 2012 22:37, gene heskett ghesk...@wdtv.com wrote: On Tuesday, May 08, 2012 05:34:22 PM Peter C. Wallace did opine: From the pid man page: pid.N.FF0 float rw Zero order feed-forward term. Produces a

[Emc-users] First cut

2012-05-08 Thread Mike Bennett
After four months of weekends I've taken my first cuts on my DIY gantry router. https://www.dropbox.com/gallery/59884319/1/CNC%20Machine?h=c48cbb Drawn in iPocket Draw on the iPad, made using the router on the machine, a cordless drill and a jig saw. My neighbour turned down the ends of the