Choosing the correct .bit file

More
27 Jan 2020 10:22 #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 or Create an account to join the conversation.

More
27 Jan 2020 15:16 #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 or Create an account to join the conversation.

More
27 Jan 2020 15:52 #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 or Create an account to join the conversation.

More
28 Jan 2020 08:08 #155981 by Ameone
We have a MESA 7i80db 16. Do you need other info? Thank you very much for yoy help.

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

More
28 Jan 2020 17:55 #156030 by PCW
Replied by PCW on topic Choosing the correct .bit file

File Attachment:

File Name: db16_76_89.zip
File Size:136 KB
Attachments:
The following user(s) said Thank You: Ameone

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

More
31 Jan 2020 08:30 #156241 by Ameone
Ok I've tried you configuration and everything works correctly. Thank you very much for your help!

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

More
17 Feb 2020 11:21 #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.

File Attachment:

File Name: moveo_2020-02-17.ini
File Size:9 KB

File Attachment:

File Name: moveo_step...2-17.hal
File Size:13 KB
Attachments:

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

More
17 Feb 2020 14:05 #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 or Create an account to join the conversation.

More
17 Feb 2020 14:51 - 17 Feb 2020 14:52 #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)
Last edit: 17 Feb 2020 14:52 by PCW.

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

More
23 Feb 2020 09:05 #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 or Create an account to join the conversation.

Time to create page: 0.467 seconds
Powered by Kunena Forum