Re: [Emc-users] Encoder reset on homing to index

2020-04-26 Thread David Berndt
oder won't have to run any actual gain, just spit out the > current error vs commanded. > > -Dave > > > On Sat, 25 Apr 2020 23:44:46 -0400, Peter C. Wallace > wrote: > >> On Sat, 25 Apr 2020, David Berndt wrote: >> >>> Date: Sat, 25 Apr 2020 23:1

Re: [Emc-users] Encoder reset on homing to index

2020-04-26 Thread David Berndt
x27;t do >>> anything >>> to help, seems to add fuel to the fire instead of acting in an opposite >>> direction it should. >>> >>> Please see screenshots, any thoughts are appreciated. >>> >>> -Dave >>> >> >> The r

[Emc-users] Encoder reset on homing to index

2020-04-26 Thread Roland Jollivet
> > > > > > On Sat, 25 Apr 2020 23:44:46 -0400, Peter C. Wallace > > wrote: > > > >> On Sat, 25 Apr 2020, David Berndt wrote: > >> > >>> Date: Sat, 25 Apr 2020 23:13:59 -0400 > >>> From: David Berndt > >>> To: Pe

Re: [Emc-users] Encoder reset on homing to index

2020-04-26 Thread dave engvall
ndt wrote: Date: Sat, 25 Apr 2020 23:13:59 -0400 From: David Berndt To: Peter C. Wallace Cc: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Encoder reset on homing to index Resent-Date: Sat, 25 Apr 2020 23:39:11 -0400 Resent-From: "David Berndt" Resent-To: &quo

Re: [Emc-users] Encoder reset on homing to index

2020-04-26 Thread Peter C. Wallace
On Sun, 26 Apr 2020, David Berndt wrote: Date: Sun, 26 Apr 2020 01:56:05 -0400 From: David Berndt To: Peter C. Wallace Cc: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Encoder reset on homing to index The rotary loop works fine by itself. The linear loop, as it&#

Re: [Emc-users] Encoder reset on homing to index

2020-04-25 Thread David Berndt
00, Peter C. Wallace wrote: On Sat, 25 Apr 2020, David Berndt wrote: Date: Sat, 25 Apr 2020 23:13:59 -0400 From: David Berndt To: Peter C. Wallace Cc: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Encoder reset on homing to index Resent-Date: Sat, 25 Apr 2

Re: [Emc-users] Encoder reset on homing to index

2020-04-25 Thread Peter C. Wallace
On Sat, 25 Apr 2020, David Berndt wrote: Date: Sat, 25 Apr 2020 23:13:59 -0400 From: David Berndt To: Peter C. Wallace Cc: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Encoder reset on homing to index Resent-Date: Sat, 25 Apr 2020 23:39:11 -0400 Resent-From: &qu

Re: [Emc-users] Encoder reset on homing to index

2020-04-25 Thread David Berndt
quot; , Peter C. Wallace Subject: Re: [Emc-users] Encoder reset on homing to index Thanks for the feedback Peter. I took the time to re-order my hal file (it's a bit of a disaster with all the other non motion going-ons in there). Here is the relevant start of m addf's addf

Re: [Emc-users] Encoder reset on homing to index

2020-04-25 Thread Peter C. Wallace
On Sat, 25 Apr 2020, David Berndt wrote: Date: Sat, 25 Apr 2020 14:21:45 -0400 From: David Berndt To: "Enhanced Machine Controller (EMC)" , Peter C. Wallace Subject: Re: [Emc-users] Encoder reset on homing to index Thanks for the feedback Peter. I took the time to re-order m

Re: [Emc-users] Encoder reset on homing to index

2020-04-25 Thread David Berndt
erndt Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Encoder reset on homing to index After a few more hours tonight putzing around with this thing. Here's where I'm at. I've wire

Re: [Emc-users] Encoder reset on homing to index

2020-04-25 Thread Peter C. Wallace
On Sat, 25 Apr 2020, David Berndt wrote: Date: Sat, 25 Apr 2020 03:23:20 -0400 From: David Berndt Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Encoder reset on homing to index After a few more hours to

Re: [Emc-users] Encoder reset on homing to index

2020-04-25 Thread andy pugh
On Sat, 25 Apr 2020 at 01:03, David Berndt wrote: > Feels a bit unsatisfying though. I understand the timing issues (though > I'm not sure with a slow homing cycle I should care) but not solving this > in a reasonably elegant way in software seems like a fail to me. To solve it _properly_ in the

Re: [Emc-users] Encoder reset on homing to index

2020-04-25 Thread David Berndt
Fri, 24 Apr 2020 19:02:54 -0400 From: David Berndt To: "Enhanced Machine Controller (EMC)" , Peter C. Wallace Subject: Re: [Emc-users] Encoder reset on homing to index If I understand you correctly that would be the goal. But how do I tie them together? As I understand it now I'll

Re: [Emc-users] Encoder reset on homing to index

2020-04-24 Thread David Berndt
EMC)" To: emc-users@lists.sourceforge.net Subject: [Emc-users] Encoder reset on homing to index Can anyone enlighten me as to how hm2_5i25.0.encoder.N.position seems to get reset during homing to index? I assume somethnig is triggering hm2_5i25.0.encoder.N.reset? But I don't see tha

Re: [Emc-users] Encoder reset on homing to index

2020-04-24 Thread Peter C. Wallace
On Fri, 24 Apr 2020, David Berndt wrote: Date: Fri, 24 Apr 2020 19:02:54 -0400 From: David Berndt To: "Enhanced Machine Controller (EMC)" , Peter C. Wallace Subject: Re: [Emc-users] Encoder reset on homing to index If I understand you correctly that would be the goal. But ho

Re: [Emc-users] Encoder reset on homing to index

2020-04-24 Thread David Berndt
reset -Dave On Fri, 24 Apr 2020 18:20:07 -0400, Peter C. Wallace wrote: On Fri, 24 Apr 2020, David Berndt wrote: Date: Fri, 24 Apr 2020 17:19:10 -0400 From: David Berndt Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: [Emc-users] E

Re: [Emc-users] Encoder reset on homing to index

2020-04-24 Thread David Berndt
Just a plain KA300 chinese linear encoder. On Fri, 24 Apr 2020 17:39:51 -0400, Leonardo Marsaglia wrote: Just because I'm curious, Is this an absolute linear encoder or an incremental one (or may be it can work in both ways)? El vie., 24 abr. 2020 a las 18:28, andy pugh () escribió:

Re: [Emc-users] Encoder reset on homing to index

2020-04-24 Thread Peter C. Wallace
On Fri, 24 Apr 2020, David Berndt wrote: Date: Fri, 24 Apr 2020 17:19:10 -0400 From: David Berndt Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: [Emc-users] Encoder reset on homing to index Can anyone enlighten me as to how

Re: [Emc-users] Encoder reset on homing to index

2020-04-24 Thread Leonardo Marsaglia
> > Index-enable enable is true when index-enable is false? Who designed this? > Politicians? The index-enable pin is IO so It's set to TRUE when the homing sequence requires it. You can also set it to TRUE via HAL (I'm doing the latter with my homing sequence because I'm using servos in step+dir

Re: [Emc-users] Encoder reset on homing to index

2020-04-24 Thread René Hopf via Emc-users
Am Fr., 24. Apr. 2020 um 23:43 Uhr schrieb David Berndt : > Index-enable enable is true when index-enable is false? Who designed > this? > Politicians? > > I don't even know what to say as I try to wrap my mind around this one... > Isn't there some sane/simple way to just tie the index-enable out

Re: [Emc-users] Encoder reset on homing to index

2020-04-24 Thread David Berndt
Index-enable enable is true when index-enable is false? Who designed this? Politicians? I don't even know what to say as I try to wrap my mind around this one... Isn't there some sane/simple way to just tie the index-enable out bit from the one encoder to the index-enable in bit on the seco

Re: [Emc-users] Encoder reset on homing to index

2020-04-24 Thread Leonardo Marsaglia
Just because I'm curious, Is this an absolute linear encoder or an incremental one (or may be it can work in both ways)? El vie., 24 abr. 2020 a las 18:28, andy pugh () escribió: > On Fri, 24 Apr 2020 at 22:21, David Berndt wrote: > > > > Can anyone enlighten me as to how hm2_5i25.0.encoder.N.p

Re: [Emc-users] Encoder reset on homing to index

2020-04-24 Thread andy pugh
On Fri, 24 Apr 2020 at 22:21, David Berndt wrote: > > Can anyone enlighten me as to how hm2_5i25.0.encoder.N.position seems to > get reset during homing to index? I assume somethnig is triggering > hm2_5i25.0.encoder.N.reset? The encoder counts reset when encoder.N.index-enable is true and an ind

[Emc-users] Encoder reset on homing to index

2020-04-24 Thread David Berndt
Can anyone enlighten me as to how hm2_5i25.0.encoder.N.position seems to get reset during homing to index? I assume somethnig is triggering hm2_5i25.0.encoder.N.reset? But I don't see that plumbed up anywhere in my HAL. I'm adding a linear encoder to a servo axis and am retaining my servo