Choosing the correct .bit file

More
6 years 9 months ago #155888 by Ameone
Dear all,
I'm currently working on implementing LinuxCNC on the following setup: one MESA 7i80db FPGA board, that is connected to a MESA 7i76 for controlling 5 stepper motors and a MESA 7i89 for 5 encoders. Do you know which .bit file should I flash on the FPGA for this specific configuration?

Please Log in to join the conversation.

More
6 years 9 months ago #155912 by PCW
Replied by PCW on topic Choosing the correct .bit file
I don't think one exists currently but I can cobble one together
What 7I80DB model to you have?

Please Log in to join the conversation.

More
6 years 9 months ago #155923 by bbsr_5a
as a NOOB im asking this
as many now in this setup working
CAN i Run the Hardware Stepgens on the 7i76 to drive Stepperdrives like a servo with correction from the Encoders on the 7i89
so i got a Cheep 4Nm Steppersystem connected with cheep Liniarscale on the machine

as far as i know only relal servos can do this on a 7i77 even not the Hybrid systems as they use STEP DIR to position on there own encoder signals from the stepper not from the Machine Glasscale

Please Log in to join the conversation.

More
6 years 9 months ago #155981 by Ameone
We have a MESA 7i80db 16. Do you need other info? Thank you very much for yoy help.

Please Log in to join the conversation.

More
6 years 9 months ago #156030 by PCW
Replied by PCW on topic Choosing the correct .bit file

Attachment not found

Please Log in to join the conversation.

More
6 years 9 months ago #156241 by Ameone
Ok I've tried you configuration and everything works correctly. Thank you very much for your help!

Please Log in to join the conversation.

More
6 years 8 months ago #157582 by Ameone
Dear PCW,
we are trying to hook up rotary encoders to the MESA 7i89 with your .bit file, but we are having some problems. With an oscilloscope we tried measuring the a, b, and index signals to see if they matched to the hal values in LinuxCNC, but they are different. For example from the oscilloscope we have:

a => 1
b => 0
index => 0

while from the HAL pins:

encode.input-a => 1
encoder.input-b => 1
endoer.input-index => 1

Do you have any ideas on where the problem may be? I'm attaching both the hal and ini files for reference. Thank you very much for your help.

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
6 years 8 months ago #157609 by tommylight
Make sure you are checking encoder.00. As that is the only one in use in hal. Also make sure that the encoder is actually connected to the first encoder input.
Your result suggests you are checking an unused encoder input.

Please Log in to join the conversation.

More
6 years 8 months ago #157619 by PCW
Replied by PCW on topic Choosing the correct .bit file
1. Do you have 5V supplied to the 7I89s P1 connector?
2. Do you have the 7I89 connected to the 7I80DBs J3 connector?
3. Is the 7I80DB configured to supply 5V from P3 (W7 right)?
4. Are the 7I89,s W25,W26,W27 jumpers in the "UP" position?
5. Are the 7I89s encoder inputs jumpered to match your encoder type? (Diff or TTL)

Please Log in to join the conversation.

More
6 years 8 months ago #158284 by Ameone
Hi sorry for the late response, we tried your solutions and it was a problem related to point 5. Thank you very much for your help (as always ;)).

Please Log in to join the conversation.

Time to create page: 0.234 seconds
Powered by Kunena Forum