Re: [Emc-users] odd PID tuning problem

2010-07-08 Thread Jake Anderson
On 08/07/10 13:01, dave wrote: > On Wed, 2010-07-07 at 20:43 -0500, Chris Radek wrote: > >> On Thu, Jul 08, 2010 at 10:32:50AM +1000, Jake Anderson wrote: >> >>> We have converted our mill to CNC and EMC2 and all is fairly well. >>> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?JakeAndRusse

Re: [Emc-users] odd PID tuning problem

2010-07-08 Thread Jake Anderson
On 08/07/10 11:43, Chris Radek wrote: > On Thu, Jul 08, 2010 at 10:32:50AM +1000, Jake Anderson wrote: > >> We have converted our mill to CNC and EMC2 and all is fairly well. >> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?JakeAndRussells >> > ... > > >> Unfortunatly when I change that

Re: [Emc-users] odd PID tuning problem

2010-07-08 Thread Jon Elson
Stephen Wille Padnos wrote: > Jon Elson wrote: > >> This is pid2, but it still doesn't solve the quantization noise in the >> encoder-derived velocity. >> >> > Actually, it does. The Mesa encoder counter has a timestamp of when the > last encoder edge was seen, so the velocity is base

Re: [Emc-users] A file someone posted which I called 'jointerror.ngc'

2010-07-08 Thread Gene Heskett
On Thursday 08 July 2010, Andy Pugh wrote: >On 8 July 2010 18:13, Gene Heskett wrote: >> error: (1283, 'stack overflow') >> Exception in Tkinter callback >> Traceback (most recent call last): > >I have been seeing that a lot myself recently. I am wondering if I >accidentally downloaded some under-

Re: [Emc-users] odd PID tuning problem

2010-07-08 Thread Stephen Wille Padnos
Jon Elson wrote: > [snip] >> Dont know if EMCs PID loop has been modified to allow an external (not >> DPosition/DT) velocity input. If the PID component had a velocity input, you >> could use HostMot2s encoder velocity output as a better velocity feedback >> term >> than the (crunchy) DPosition/D

Re: [Emc-users] A file someone posted which I called 'jointerror.ngc'

2010-07-08 Thread Andy Pugh
On 8 July 2010 18:13, Gene Heskett wrote: > error: (1283, 'stack overflow') > Exception in Tkinter callback > Traceback (most recent call last): I have been seeing that a lot myself recently. I am wondering if I accidentally downloaded some under-tested update or other. -- atp ---

Re: [Emc-users] odd PID tuning problem

2010-07-08 Thread Jon Elson
Peter C. Wallace wrote: > > Does you motor power supply droop when doing a fast move? With a bare Hbridge > (Voltage mode), FF1 is needed to compensate for the motors back EMF, I believe FF1 compensates mostly for motor resistance, not back EMF. Back EMF turns the servo motor into a velocity ser

[Emc-users] A file someone posted which I called 'jointerror.ngc'

2010-07-08 Thread Gene Heskett
I, by mistake, loaded and ran this file to cut air today, from an ssh connection. I can see why it failed in the shell I ran it from, which has a 100k line scrollback, but exceeded it so I do not have a complete trace: error: (1283, 'stack overflow')

Re: [Emc-users] odd PID tuning problem

2010-07-08 Thread Jon Elson
Andy Pugh wrote: > I _think_ what you would have in such a dual PID loop would be a loop > closed by velocity but controlled by duty-cycle (and motor torque is > at least approximately directly proportional to PWM duty cycle) driven > by a loop closed by position and controlled by velocity. > >

Re: [Emc-users] odd PID tuning problem

2010-07-08 Thread Jon Elson
Chris Radek wrote: > > I see you're using bare H bridges which means you don't have a > velocity loop. I think this problem with FF1 is because of that, and > it is a fairly fundamental problem with a torque-mode setup. > > My PWM servo system is very similar, essentially a voltage-mode amplifi

Re: [Emc-users] odd PID tuning problem

2010-07-08 Thread Peter C. Wallace
On Thu, 8 Jul 2010, Jake Anderson wrote: > Date: Thu, 08 Jul 2010 10:32:50 +1000 > From: Jake Anderson > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: [Emc-users] odd PID tuning problem > > We have converted our mill to CNC and EMC2 an

Re: [Emc-users] ClassicLadder : "sequential" editor problem/bug

2010-07-08 Thread Chris Morley
> Dave wrote: > > Yann, > > > > So you are saying that the sequential editor in Classic Ladder Grafcet > > freezes up? > > > > > yeah it does strange things, crash when printing, freezes up sometimes, > or don't save anything... > Congrats you are the firt and only person that I know that

Re: [Emc-users] ClassicLadder : "sequential" editor problem/bug

2010-07-08 Thread Dave
Yann, You are welcome.. Try putting Classic Ladder into stop mode via the stop button before editing the logic. Then once you are done editing, always save it with the save button, then push the run button to start the logic engine. I think some instability make sneak into CL if you try to d

Re: [Emc-users] odd PID tuning problem

2010-07-08 Thread Andy Pugh
On 8 July 2010 02:43, Chris Radek wrote: > One step more complicated is to have dual pid loops, a torque loop > inside a velocity.  I'm not sure what you'd use for torque/current > feedback, though.  Normally that's current sensing in hardware, and > you have no equivalent that I can see. I _thi

Re: [Emc-users] Where is home?

2010-07-08 Thread Ian W. Wright
Ian, Look at the + or - signs on the homing lines in your .ini file. I think what is happening is that the machine is running to the limit switch but not reversing its direction to 'back off' the switch before final low speed homing. So, the direction should effectively be + - + or - + - depen