Encoder signals returned to real world

More
25 Jan 2012 09:12 #17113 by Zig
How to connect

encoder.<chan>.phase-A (bit, In)
encoder.<chan>.phase-B (bit, In)

To a couple of output pins, that is loop the encoder in and out for further processing by external hardware?

Please Log in or Create an account to join the conversation.

More
25 Jan 2012 09:50 #17114 by cmorley
hmm I don't think this is possible.
There actually isn't encoder phase-A / B HAL signals (unlike software encoder counting)
Since the high speed counting is done on the card, EMC never sees the raw quadrature input.
While you could read the GPIO pins that are related to the encoder they would only be read at the servo thread speed.
So aside from maybe having custom firmware on the card that copies the raw quadrature input to designated output pins
I think your out of luck. Surely Peter from Mesa will speak on this.

Chris M

Please Log in or Create an account to join the conversation.

More
25 Jan 2012 16:25 #17127 by PCW
Its possible echo the pins out other FPGA pins but I think a better solution is just a Y cable tah send the encoder signals to both places

Is the other device that gets the encoder signals something that can be replaced with a hal component? That might be a cleaner solution

Please Log in or Create an account to join the conversation.

More
25 Jan 2012 19:50 - 25 Jan 2012 19:55 #17134 by Zig
Its the encoder velocity feedback to the servo amp.

EDIT:

I shall use a longer length of 50 way ribbon cable and crimp 3 connectors. The third last connector will go to a break out board for signal distribution.
Last edit: 25 Jan 2012 19:55 by Zig.

Please Log in or Create an account to join the conversation.

More
25 Jan 2012 19:56 #17135 by PCW
OK.
Does the drive have a encoder out? some do
otherwise I would just daisy chain the encoder cable

Please Log in or Create an account to join the conversation.

More
26 Jan 2012 20:21 #17172 by Zig
The drive does not provide buffered encoder outputs.
I am goimg to use a breakout board ( a 7I42AT ) to access the signal on a ribbon cable with multiple connectors.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.096 seconds
Powered by Kunena Forum