On Sat, 21 Mar 2020, Leonardo Marsaglia wrote:

Date: Sat, 21 Mar 2020 01:21:16 -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: Re: [Emc-users] Question about index pulse on high resolution encoder

Hello John,

I connected it using the differential pairs. Although the encoder says is
TTL differential and doesn't mention anything about RS-422  but it seems to
be working fine.

From what I've reading I'm not sure if halscope can sense that index pulse
because of the same reason I suspect hal is missing it. I'm triggering the
index with a custom made component to apply offsets to the X axis. I even
forced the component to set index to 1 on each iteration without even
sensing if it's on 0 and the same thing happens, if I turn it too fast the
index pulse is skipped.

Unfortunately this is the only encoder I have here to make the tests, so I
will not have a real conclusion until I test the differential encoder on
the Mazak.

The index pulse will be too short for the slow sampling of halscope to sample reliably. The way to check index is to "setp" the encoder index enable pin
(or if its already connected, "sets" the signal that its connected to)
Once set, index enable should get cleared at the index position
This is done in the encoder hardware so not dependent on halscopes
sample rate


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