Encoder signals returned to real world
25 Jan 2012 09:12 #17113
by Zig
Encoder signals returned to real world was created 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?
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.
25 Jan 2012 09:50 #17114
by cmorley
Replied by cmorley on topic Re:Encoder signals returned to real world
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
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.
25 Jan 2012 16:25 #17127
by PCW
Replied by PCW on topic Re:Encoder signals returned to real world
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
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.
25 Jan 2012 19:50 - 25 Jan 2012 19:55 #17134
by Zig
Replied by Zig on topic Re:Encoder signals returned to real world
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.
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.
25 Jan 2012 19:56 #17135
by PCW
Replied by PCW on topic Re:Encoder signals returned to real world
OK.
Does the drive have a encoder out? some do
otherwise I would just daisy chain the encoder cable
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.
26 Jan 2012 20:21 #17172
by Zig
Replied by Zig on topic Re:Encoder signals returned to real world
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.
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.063 seconds