Re: [Emc-users] steppers with encoders in closed loop

2017-06-27 Thread Todd Zuercher
- Original Message - > From: "Valerio Bellizzomi" <vale...@selnet.org> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Sent: Tuesday, June 27, 2017 3:58:34 AM > Subject: Re: [Emc-users] steppers with encoders in

Re: [Emc-users] steppers with encoders in closed loop

2017-06-27 Thread Valerio Bellizzomi
t; loops. > > > > - Original Message - > > From: "Tom Easterday" <tom-...@bgp.nu> > > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > > Sent: Monday, June 26, 2017 8:37:47 AM > > Subject: Re: [Emc-users] stepp

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread tom-emc
Latest plot (on X axis): http://bgp.nu/~tom/pub/pid-X-ff2.png -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread tom-emc
Thanks Peter, It did help a small bit. Max f-error is now .00014 to .00015 (vs .00018 to .00019). That is a sensitive parameter. I played with FF2 = .001 (bad), .0006 (bad), .00055 ok but ferror was .00016-.00017, so I left it at .0005. -Tom > On Jun 26, 2017, at 7:35 PM, Peter C. Wallace

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread Peter C. Wallace
On Mon, 26 Jun 2017, tom-...@bgp.nu wrote: Date: Mon, 26 Jun 2017 19:20:14 -0400 From: tom-...@bgp.nu Reply-To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> S

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread tom-emc
And for those following along at home, I got the machine set up in velocity mode and the pid tuned fairly well. The following error is less than .0002 and the machine runs very nicely, and I can now Home to the index pulse on the encoder (which is where this all began)! Yay. Below are links

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread tom-emc
"Tom Easterday" <tom-...@bgp.nu> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Sent: Monday, June 26, 2017 8:37:47 AM > Subject: Re: [Emc-users] steppers with encoders in closed loop > > Exactly, and any help in

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread Todd Zuercher
he encoder feedback. Then connect the encoders to the PID loops. - Original Message - From: "Tom Easterday" <tom-...@bgp.nu> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> Sent: Monday, June 26, 2017 8:37:47 AM Subject: Re: [Emc-us

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread Tom Easterday
Exactly, and any help in getting my stall detection and position tracking working using velocity mode would be greatly appreciated  -Tom > On Jun 26, 2017, at 6:52 AM, Rene Hopf wrote: > > there is no benefit in using them in linuxcnc, apart from stall detection or >

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread Rene Hopf
> On 26. Jun 2017, at 00:12, tom-...@bgp.nu wrote: > > I would like to attempt to get my machine with stepper motors running in > velocity mode with feedback from the encoders. this setup makes absolutely no sense. if the drive does not use the encoder, there is no benefit in using them in

Re: [Emc-users] steppers with encoders in closed loop

2017-06-26 Thread Gene Heskett
On Sunday 25 June 2017 22:13:04 Tom Easterday wrote: > Gene, > Thanks for the response. The machine has been running great for years > on those values but in position mode, not in velocity mode. I > wouldn't think that any of the step-gen parameters would need to > change when changing to

Re: [Emc-users] steppers with encoders in closed loop

2017-06-25 Thread Tom Easterday
Gene, Thanks for the response. The machine has been running great for years on those values but in position mode, not in velocity mode. I wouldn't think that any of the step-gen parameters would need to change when changing to velocity mode...? I suspect the PID parameters I am using,

Re: [Emc-users] steppers with encoders in closed loop

2017-06-25 Thread Gene Heskett
On Sunday 25 June 2017 18:12:14 tom-...@bgp.nu wrote: > I would like to attempt to get my machine with stepper motors running > in velocity mode with feedback from the encoders. Below are the > relevant parts of my Hal and Ini files for just the X-Axis. I figured > I would do one axis at a