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
On Fri, 24 Apr 2020 18:20:07 -0400, Peter C. Wallace <[email protected]>
wrote:
On Fri, 24 Apr 2020, David Berndt wrote:
Date: Fri, 24 Apr 2020 17:19:10 -0400
From: David Berndt <[email protected]>
Reply-To: "Enhanced Machine Controller (EMC)"
<[email protected]>
To: [email protected]
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 that plumbed up anywhere in
my HAL.
I'm adding a linear encoder to a servo axis and am retaining my servo
homing, but when it homes I need to zero the linear encoder as well if
the rotary is going to zero to avoid huge f-errors and other issues...
Thanks,
-Dave
Why dont you use the preferred index signal to zero both encoders?
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users
Peter Wallace
Mesa Electronics
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users