Help needed with bit file 7i96 + 7i85s
- Redneck92
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 7
28 Sep 2021 16:34 #221760
by Redneck92
Help needed with bit file 7i96 + 7i85s was created by Redneck92
Hey guys,
Could someone help me or create me a bit file for my needs?
I have a 7i96e with a 7i85 doughter card and I need a bit file for my my machine setup.
My needs are as follows:
- 4 stepgens
- 1 spindle control for VFD
- 3 encoder inputs ( X Y and Z encoders on my Stepper motors )
- every possible input and output that is configurable
I will run one limit switch for every axis which also serves as the home switch.
I want to run a Tool lenght touchoff pad aswell as a 3D probe in the future
It would be awesome if someone could make me a suitable bit file for me or teache me on how to make it myself.
If that person would help me Setup linuxcnc with this bit file for this project, I would be very greatful aswell.
Thank you very much in advance.
Greetings Redneck92
Could someone help me or create me a bit file for my needs?
I have a 7i96e with a 7i85 doughter card and I need a bit file for my my machine setup.
My needs are as follows:
- 4 stepgens
- 1 spindle control for VFD
- 3 encoder inputs ( X Y and Z encoders on my Stepper motors )
- every possible input and output that is configurable
I will run one limit switch for every axis which also serves as the home switch.
I want to run a Tool lenght touchoff pad aswell as a 3D probe in the future
It would be awesome if someone could make me a suitable bit file for me or teache me on how to make it myself.
If that person would help me Setup linuxcnc with this bit file for this project, I would be very greatful aswell.
Thank you very much in advance.
Greetings Redneck92
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20197
- Thank you received: 6874
28 Sep 2021 17:17 #221766
by tommylight
Replied by tommylight on topic Help needed with bit file 7i96 + 7i85s
Moved to "driver boards".
The following user(s) said Thank You: Redneck92
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18543
- Thank you received: 5091
28 Sep 2021 20:45 #221779
by PCW
Replied by PCW on topic Help needed with bit file 7i96 + 7i85s
If you have a 7I85S you should use 7i96_7i85sd.bit
If you have a 7I85 you should use 7i96_7i85d.bit
Both are in the 7i96.zip file
If you have a 7I85 you should use 7i96_7i85d.bit
Both are in the 7i96.zip file
Please Log in or Create an account to join the conversation.
- Redneck92
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 7
29 Sep 2021 20:50 - 29 Sep 2021 20:53 #221854
by Redneck92
Replied by Redneck92 on topic Help needed with bit file 7i96 + 7i85s
When I Flash the 7i96_7i85sd.bit to my card it shows only 3 Encoder Inputs
1 encoder on the 7i96 and 2 encoders on the 7i85s as far as I see.
What is the problem here?
This is what I get when I read the data on the card:
General configuration information:
BoardName : MESA7I96
FPGA Size: 9 KGates
FPGA Pins: 144
Number of IO Ports: 3
Width of one I/O port: 17
Clock Low frequency: 100.0000 MHz
Clock High frequency: 200.0000 MHz
IDROM Type: 3
Instance Stride 0: 4
Instance Stride 1: 64
Register Stride 0: 256
Register Stride 1: 256
Modules in configuration:
Module: DPLL
There are 1 of DPLL in configuration
Version: 0
Registers: 7
BaseAddress: 7000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: WatchDog
There are 1 of WatchDog in configuration
Version: 0
Registers: 3
BaseAddress: 0C00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: IOPort
There are 3 of IOPort in configuration
Version: 0
Registers: 5
BaseAddress: 1000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: PWM
There are 1 of PWM in configuration
Version: 0
Registers: 5
BaseAddress: 4100
ClockFrequency: 200.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: StepGen
There are 8 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: MuxedQCount
There are 6 of MuxedQCount in configuration
Version: 4
Registers: 5
BaseAddress: 3600
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: MuxedQCountSel
There are 1 of MuxedQCountSel in configuration
Version: 0
Registers: 0
BaseAddress: 0000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: SSerial
There are 1 of SSerial in configuration
Version: 0
Registers: 6
BaseAddress: 5B00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 64 bytes
Module: SSR
There are 1 of SSR in configuration
Version: 0
Registers: 2
BaseAddress: 7D00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: LED
There are 1 of LED in configuration
Version: 0
Registers: 1
BaseAddress: 0200
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Configuration pin-out:
IO Connections for TB3
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
TB3-1 0 IOPort None
TB3-2 1 IOPort None
TB3-3 2 IOPort None
TB3-4 3 IOPort None
TB3-5 4 IOPort None
TB3-6 5 IOPort None
TB3-7 6 IOPort None
TB3-8 7 IOPort None
TB3-9 8 IOPort None
TB3-10 9 IOPort None
TB3-11 10 IOPort None
TB3-13,14 11 IOPort SSR 0 Out-00 (Out)
TB3-15,16 12 IOPort SSR 0 Out-01 (Out)
TB3-17,18 13 IOPort SSR 0 Out-02 (Out)
TB3-19,20 14 IOPort SSR 0 Out-03 (Out)
TB3-21,22 15 IOPort SSR 0 Out-04 (Out)
TB3-23,24 16 IOPort SSR 0 Out-05 (Out)
IO Connections for TB1/TB2
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
TB1-2,3 17 IOPort StepGen 0 Step/Table1 (Out)
TB1-4,5 18 IOPort StepGen 0 Dir/Table2 (Out)
TB1-8,9 19 IOPort StepGen 1 Step/Table1 (Out)
TB1-10,11 20 IOPort StepGen 1 Dir/
Table2 (Out)
TB1-14,15 21 IOPort StepGen 2 Step/Table1 (Out)
TB1-16,17 22 IOPort StepGen 2 Dir/Table2 (Out)
TB1-20,21 23 IOPort StepGen 3 Step/Table1 (Out)
TB1-22,23 24 IOPort StepGen 3 Dir/Table2 (Out)
TB2-2,3 25 IOPort StepGen 4 Step/Table1 (Out)
TB2-4,5 26 IOPort StepGen 4 Dir/Table2 (Out)
TB2-7,8 27 IOPort MuxedQCount 2 MuxQ-A (In)
TB2-10,11 28 IOPort MuxedQCount 2 MuxQ-B (In)
TB2-13,14 29 IOPort MuxedQCount 2 MuxQ-IDX (In)
TB2-16,17 30 IOPort SSerial 0 RXData0 (In)
TB2-18,19 31 IOPort SSerial 0 TXData0 (Out)
Internal-TXEn 32 IOPort SSerial 0 TXEn0 (Out)
Internal 33 IOPort SSR 0 AC Ref (Out)
IO Connections for P1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
P1-01/DB25-01 34 IOPort SSerial 0 RXData1 (In)
P1-02/DB25-14 35 IOPort SSerial 0 TXData1 (Out)
P1-03/DB25-02 36 IOPort None
P1-04/DB25-15 37 IOPort None
P1-05/DB25-03 38 IOPort StepGen 7 Step/Table1 (Out)
P1-06/DB25-16 39 IOPort StepGen 7 Dir/Table2 (Out)
P1-07/DB25-04 40 IOPort StepGen 6 Step/Table1 (Out)
P1-08/DB25-17 41 IOPort StepGen 6 Dir/Table2 (Out)
P1-09/DB25-05 42 IOPort StepGen 5 Step/Table1 (Out)
P1-11/DB25-06 43 IOPort StepGen 5 Dir/Table2 (Out)
P1-13/DB25-07 44 IOPort MuxedQCountSel 0 MuxSel0 (Out)
P1-15/DB25-08 45 IOPort MuxedQCount 0 MuxQ-A (In)
P1-17/DB25-09 46 IOPort MuxedQCount 0 MuxQ-B (In)
P1-19/DB25-10 47 IOPort MuxedQCount 0 MuxQ-IDX (In)
P1-21/DB25-11 48 IOPort MuxedQCount 1 MuxQ-A (In)
P1-23/DB25-12 49 IOPort MuxedQCount 1 MuxQ-B (In)
P1-25/DB25-13 50 IOPort MuxedQCount 1 MuxQ-IDX (In)
As far as I understand it tells me, that on the 7i85s only two encoder inputs are in use.
How can I change this? Do I overlook something?
1 encoder on the 7i96 and 2 encoders on the 7i85s as far as I see.
What is the problem here?
This is what I get when I read the data on the card:
General configuration information:
BoardName : MESA7I96
FPGA Size: 9 KGates
FPGA Pins: 144
Number of IO Ports: 3
Width of one I/O port: 17
Clock Low frequency: 100.0000 MHz
Clock High frequency: 200.0000 MHz
IDROM Type: 3
Instance Stride 0: 4
Instance Stride 1: 64
Register Stride 0: 256
Register Stride 1: 256
Modules in configuration:
Module: DPLL
There are 1 of DPLL in configuration
Version: 0
Registers: 7
BaseAddress: 7000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: WatchDog
There are 1 of WatchDog in configuration
Version: 0
Registers: 3
BaseAddress: 0C00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: IOPort
There are 3 of IOPort in configuration
Version: 0
Registers: 5
BaseAddress: 1000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: PWM
There are 1 of PWM in configuration
Version: 0
Registers: 5
BaseAddress: 4100
ClockFrequency: 200.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: StepGen
There are 8 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: MuxedQCount
There are 6 of MuxedQCount in configuration
Version: 4
Registers: 5
BaseAddress: 3600
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: MuxedQCountSel
There are 1 of MuxedQCountSel in configuration
Version: 0
Registers: 0
BaseAddress: 0000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: SSerial
There are 1 of SSerial in configuration
Version: 0
Registers: 6
BaseAddress: 5B00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 64 bytes
Module: SSR
There are 1 of SSR in configuration
Version: 0
Registers: 2
BaseAddress: 7D00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: LED
There are 1 of LED in configuration
Version: 0
Registers: 1
BaseAddress: 0200
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Configuration pin-out:
IO Connections for TB3
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
TB3-1 0 IOPort None
TB3-2 1 IOPort None
TB3-3 2 IOPort None
TB3-4 3 IOPort None
TB3-5 4 IOPort None
TB3-6 5 IOPort None
TB3-7 6 IOPort None
TB3-8 7 IOPort None
TB3-9 8 IOPort None
TB3-10 9 IOPort None
TB3-11 10 IOPort None
TB3-13,14 11 IOPort SSR 0 Out-00 (Out)
TB3-15,16 12 IOPort SSR 0 Out-01 (Out)
TB3-17,18 13 IOPort SSR 0 Out-02 (Out)
TB3-19,20 14 IOPort SSR 0 Out-03 (Out)
TB3-21,22 15 IOPort SSR 0 Out-04 (Out)
TB3-23,24 16 IOPort SSR 0 Out-05 (Out)
IO Connections for TB1/TB2
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
TB1-2,3 17 IOPort StepGen 0 Step/Table1 (Out)
TB1-4,5 18 IOPort StepGen 0 Dir/Table2 (Out)
TB1-8,9 19 IOPort StepGen 1 Step/Table1 (Out)
TB1-10,11 20 IOPort StepGen 1 Dir/
Table2 (Out)
TB1-14,15 21 IOPort StepGen 2 Step/Table1 (Out)
TB1-16,17 22 IOPort StepGen 2 Dir/Table2 (Out)
TB1-20,21 23 IOPort StepGen 3 Step/Table1 (Out)
TB1-22,23 24 IOPort StepGen 3 Dir/Table2 (Out)
TB2-2,3 25 IOPort StepGen 4 Step/Table1 (Out)
TB2-4,5 26 IOPort StepGen 4 Dir/Table2 (Out)
TB2-7,8 27 IOPort MuxedQCount 2 MuxQ-A (In)
TB2-10,11 28 IOPort MuxedQCount 2 MuxQ-B (In)
TB2-13,14 29 IOPort MuxedQCount 2 MuxQ-IDX (In)
TB2-16,17 30 IOPort SSerial 0 RXData0 (In)
TB2-18,19 31 IOPort SSerial 0 TXData0 (Out)
Internal-TXEn 32 IOPort SSerial 0 TXEn0 (Out)
Internal 33 IOPort SSR 0 AC Ref (Out)
IO Connections for P1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
P1-01/DB25-01 34 IOPort SSerial 0 RXData1 (In)
P1-02/DB25-14 35 IOPort SSerial 0 TXData1 (Out)
P1-03/DB25-02 36 IOPort None
P1-04/DB25-15 37 IOPort None
P1-05/DB25-03 38 IOPort StepGen 7 Step/Table1 (Out)
P1-06/DB25-16 39 IOPort StepGen 7 Dir/Table2 (Out)
P1-07/DB25-04 40 IOPort StepGen 6 Step/Table1 (Out)
P1-08/DB25-17 41 IOPort StepGen 6 Dir/Table2 (Out)
P1-09/DB25-05 42 IOPort StepGen 5 Step/Table1 (Out)
P1-11/DB25-06 43 IOPort StepGen 5 Dir/Table2 (Out)
P1-13/DB25-07 44 IOPort MuxedQCountSel 0 MuxSel0 (Out)
P1-15/DB25-08 45 IOPort MuxedQCount 0 MuxQ-A (In)
P1-17/DB25-09 46 IOPort MuxedQCount 0 MuxQ-B (In)
P1-19/DB25-10 47 IOPort MuxedQCount 0 MuxQ-IDX (In)
P1-21/DB25-11 48 IOPort MuxedQCount 1 MuxQ-A (In)
P1-23/DB25-12 49 IOPort MuxedQCount 1 MuxQ-B (In)
P1-25/DB25-13 50 IOPort MuxedQCount 1 MuxQ-IDX (In)
As far as I understand it tells me, that on the 7i85s only two encoder inputs are in use.
How can I change this? Do I overlook something?
Last edit: 29 Sep 2021 20:53 by Redneck92.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18543
- Thank you received: 5091
29 Sep 2021 22:43 #221856
by PCW
Replied by PCW on topic Help needed with bit file 7i96 + 7i85s
That shows 6 encoders, 4 on the 7I85S and 2 on the 7I96
(one on the 7I96 is not accessible)
The odd numbering is because these are multiplexed encoders
and use 3 pins for each encoder pair
(one on the 7I96 is not accessible)
The odd numbering is because these are multiplexed encoders
and use 3 pins for each encoder pair
The following user(s) said Thank You: Redneck92
Please Log in or Create an account to join the conversation.
- Redneck92
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 7
29 Sep 2021 23:21 #221861
by Redneck92
Replied by Redneck92 on topic Help needed with bit file 7i96 + 7i85s
Thank you very much for your help. I got it now. Last 5 Hours I was wraping my head around that stuff and figuring out how to edit the hal and ini files to my needs.
As you said, the numbering did not make any sense to me and lead me to beliefe that the bit file was wrong. Big thank you again.
Seems to work perfectly now. When I unplug the motor power cables and turn the motorshaft the encoder tracks the rotation. So I can use Linuxcnc as a DRO aswell when disabling the drives.
Now I need to figure out how to calculate the steps per revolution with my beltdrive and stuff. But as for today, I have enough of that stuff.
As you said, the numbering did not make any sense to me and lead me to beliefe that the bit file was wrong. Big thank you again.
Seems to work perfectly now. When I unplug the motor power cables and turn the motorshaft the encoder tracks the rotation. So I can use Linuxcnc as a DRO aswell when disabling the drives.
Now I need to figure out how to calculate the steps per revolution with my beltdrive and stuff. But as for today, I have enough of that stuff.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.070 seconds