Raspberry Pi 4 with Mesa 7c81

More
5 years 3 weeks ago #222596 by andypugh

From what I have seen on the fourms, this is a more unusual setup, and I will need to make and flash a custom bitfile to my board.
My understanding is that I will need PWM + 3StepGens + 3QCounts.
 
You will only need the quadrature counters if you plan to close the loop in LinuxCNC rather than in the stepper drivers. 

I guess you want the PWM for spindle control? 
 

Please Log in to join the conversation.

More
5 years 3 weeks ago #222602 by maurice
That's right. I want to close the loop in LinuxCNC. That way it will throw an error if the actual position has deviated too much.

Has anyone experimented with closing the loop in the driver, and then also reading the same encoder's position into LinuxCNC? Or is this the usual way of doing it?

Yes, PWM Would be for spindle control.

Please Log in to join the conversation.

More
5 years 3 weeks ago #222603 by PCW
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81
You need a interface card that accepts RS-422 differential signals and
converts them to single ended. I would suggest a 7I85S which has 4
single ended or differential encoder inputs and 4 buffered 5V step/dir
outputs.

Please Log in to join the conversation.

More
5 years 3 weeks ago #222606 by andypugh

Has anyone experimented with closing the loop in the driver, and then also reading the same encoder's position into LinuxCNC? Or is this the usual way of doing it?

It would be simpler to just trust the driver to send an alarm signal if the position is lost.

Though, I admit, if I was doing it I would want to get the position back to LinuxCNC too.

Mesa make an encoder signal splitter, but you might not need that, especially if the drive has a mirrored encoder output (as some do)

Please Log in to join the conversation.

More
5 years 3 weeks ago #222673 by maurice
Thank you so much.

I think I will just get stuff working by closing the loop through the driver for now. That would only require the Stepgens, which one of the included bitfiles has enough of.

If I wanted to get the encoder signal to both LinuxCNC and the driver (no mirror), what advantages would the signal splitter have over simply splicing the wires?

For the 7I85S, I assume that I would need to flash a special bitfile to my 7C81? I don't see any 7I85S bitfile in the downloads.

Please Log in to join the conversation.

More
5 years 2 weeks ago #222842 by andypugh

If I wanted to get the encoder signal to both LinuxCNC and the driver (no mirror), what advantages would the signal splitter have over simply splicing the wires?
No advantage if splicing the wires works. But it might not.

For the 7I85S, I assume that I would need to flash a special bitfile to my 7C81? I don't see any 7I85S bitfile in the downloads.

That's one for PCW but I found a VHDL file "PIN_7C80_7I85D_54" in the source. I am not sure what the "D" signifies though.

Please Log in to join the conversation.

More
5 years 2 weeks ago #222846 by tommylight

I am not sure what the "D" signifies though.

I would venture a guess at DPLL feature ...

Please Log in to join the conversation.

More
5 years 2 weeks ago #222857 by PCW
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81
Here is a bit file for a 7C81 and 1 or 2 7I85S's:

 

Attachment not found

Please Log in to join the conversation.

More
5 years 2 weeks ago #223333 by maurice
Haven't had much time recently to work on this stuff, but thank you so much for the bitfile!

Please Log in to join the conversation.

More
4 years 3 months ago #246674 by boyzo
Replied by boyzo on topic Raspberry Pi 4 with Mesa 7c81
I plan to retrofit old CNC lathe and keep original servo and spindle drives and motors. All drives are +- 10V analog input and motors have TTL encoders. My idea is to use 7c81 with 7I33TA. Is this configuration workable? Do I need some special bitfile for this combination?

Thank you for help

Please Log in to join the conversation.

Time to create page: 0.140 seconds
Powered by Kunena Forum