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

2020-04-24 Thread David Berndt
The rotary encoder is supplying it's own power (+5v) as it's the encoder relay/output from an amplifier and not directly from the rotary encoder. The linear encoder is using the inbuilt 7i77 5v. Common ground, at least I assume all the encoder inputs have a common ground... So I guess jumperi

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 how do I tie the

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

2020-04-24 Thread David Berndt
If I understand you correctly that would be the goal. But how do I tie them together? As I understand it now I'll need to detect when index-enable changes state to false, as an indication of the preferred index signal being detected. Then fire a oneshot to encoder.LinearNumber.reset -Dave

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 hm2_5i25.0.encoder.N.

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

Re: [Emc-users] cloning hard drive to new SSD

2020-04-24 Thread Chris Albertson
All the advice to use "dd" is OK. But it will spend hours copying many gigabytes of blank areas of the disk.I bet there is only a few megabytes of data you really need. The simple way is to make a bootable disk or SD card (or better an SSD) from scratch. Just the same way everyone install