On Mon, 3 Mar 2025, Leonardo Marsaglia wrote:

Date: Mon, 3 Mar 2025 13:17:07 -0300
From: Leonardo Marsaglia <ldmarsag...@gmail.com>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: [Emc-users] Mesa stepper and HOME_USE_INDEX

Hello guys, hope you're doing well

I'm trying to set up the homing sequence on this lathe with Mesa 7i95
driving servo motors as steppers.

I have already linked the index enable pin of the stepgen to the index
enable pin of the encoder like this:

net z-index      <=> hm2_7i95.0.stepgen.01.index-enable
net z-index      <=> hm2_7i95.0.encoder.04.index-enable

Note that the stepgen channel index matches the encoder channel index
so index enables 01 and 04 refer to different physical I/O pins.

Also if you are using stepgen index, you typically would not use the encoder index at all.

The signal z-index is really index-enable, not an index signal.





The problem is, when the homing sequence starts, the joint keeps forever in
the latching stage waiting for the index and this doesn't happen. It's like
the index enable is never changing to TRUE. I assume the homing sequence
does this automatically?

If I try to force it, it makes no difference, the joint keeps moving in the
latching velocity.

If I force it while jogging I can see how the index pulse is triggering the
index pin to false again so it's working.

Any ideas?

Thanks!

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to