how to setup a Mesa 7i80HD?
First you explained, that bringing the stepper encoders to linuxcnc is not very useful, as the stepper driver needs the encoders. Ok, I understand that point.
So the only remaining encoders are manual encoders for manual movement oder speed limitations - so no special speed requirements.
The 7i47S offers a spindle interface (direction and PWM-Speed), which the 7i52S does not.
I need a spindle interface.
So where and why is a 7i52S better for my requirements as a 7i47S?
... and why noone mentioned the pin-configuration of the mesacards?
Is it possible?
And if so, how can I resolve an individual setting?
Please Log in or Create an account to join the conversation.
... and why noone mentioned the pin-configuration of the mesacards?
The pin configurations are printed to dmesg when the card is started, but that might not be the most convenient time to find out.
The definitive way to find the pin layout of a firmware is to look at the .pin file (where it exists) or the .vhd file that the firmware is created from.
For firmwares that are included in the linuxcnc-firmware package (which is a sub-set of those that are available in the .zip file from Mesa) you can see the files here as the PIN_*_*_.vhd files:
git.linuxcnc.org/gitweb?p=hostmot2-firmw...bf98062a75dfdb28cf20
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
LOL - yes sir..., but that might not be the most convenient time to find out.
I'd like to know it before I waste my money.
I'm willing to follow your recommendations, but I stil don't have the picture.
_
When I look at the archives from mesa, there're no .pin files.The definitive way to find the pin layout of a firmware is to look at the .pin file (where it exists) or the .vhd file that the firmware is created from.
The .vhd files are there, but no Makefile to build a certain .bit-file, which I assume is the firmware to load to the FPGA.
_
No I can't live with an axis selector switch.The 7i76 ticks a lot of boxes in 1 card but you are short 1 stepgen and 1 MPG encoder. But there are examples in the docs of using 1 MPG input for multiple Axes if you can live with an axis selector switch for your MPG's.
I start with a 4-axis gantry mill, which means 5 step/dir channels, 5 endstops, a spindle channel, about 3 encoders and about 5 relais. The endstops will be switched, depending on the 4th axis.
The fifth axis and a toolchanger are already planned, so to be precise, I'd need 7 channels.
May be I can use a switch for the 5th axis and the tool changer, but before, I have no axis to switch.
I have no problem, create a daughterboard on my own with RS422 transceivers, but I have no idea, how to configure the pin settings of the mesa card to suit my needs.
Please Log in or Create an account to join the conversation.
When I look at the archives from mesa, there're no .pin files.
The .vhd files are there, but no Makefile to build a certain .bit-file, which I assume is the firmware to load to the FPGA.
If you look at what bitfiles are available for the 7i80 you can then look for the corresponding .vhd file.
So, as an example the file 7i80hd_16_svst6_6_7i52sd.bit will have been made using the .vhd file PIN_SVST6_6_7I52S_72.vhd
For extra MPG channels don't ignore the fact that the 7i76 (and many other cards, for example the 7i84) can be configured to have 2 x MPG counters on GPIO pins 16-19 (See "SOFTWARE PROCESS DATA MODES") and that the 7i73 is a pretty good solution for a control panel as it multiplexes a lot of IO and MPG channels into a single RJ45 cable.
Please Log in or Create an account to join the conversation.
So where and why is a 7i52S better for my requirements as a 7i47S?
Because on your original request you wanted 6 step/dir outputs and 6 encoder inputs
you cannot do this with a 7I47S
(a 7I47S would have 4 step/dir outputs max + 4 full encoders or possibly 6 encoders
with a strange pinout by dropping the index pins)
Please Log in or Create an account to join the conversation.
EDIT: But I think what I suggested earlier will work out cheaper...
Please Log in or Create an account to join the conversation.
GREAT! Thanks!So, as an example the file 7i80hd_16_svst6_6_7i52sd.bit will have been made using the .vhd file PIN_SVST6_6_7I52S_72.vhd
Looks like the pin-definition can be changed without learning vhd
Can I use each pin-definition at any pin, or exists pins with special meaning?
Do I have to change "ModuleID" when I change "PinDesc"?
Where can I find the naming rules for filenames?
... and when I created my own pin-file, how do I generate a .bit-file?
_
what is a MPG channel?For extra MPG channels ...
_
yes, that card looks very interesting! Thanks!the 7i73 is a pretty good solution for a control panel
Where can I find a pin-definition for connecting to 7i73?
_
as far as I know, I don't have analog input channels.See "SOFTWARE PROCESS DATA MODES"
The pwm-channel for spindle speed - is it analog output or is it regular I/O?
I have step/dir, pwm, encoder and digital I/O - will mode 0 be appropriate?
_
Ok, but it was your recommendation, not to bring the encoders to linuxcnc.
Because on your original request you wanted 6 step/dir outputs and 6 encoder inputsSo where and why is a 7i52S better for my requirements as a 7i47S?
you cannot do this with a 7I47S
If there's a reason stil bringing the encoders to linuxcnc, please tell me.
_
Not really. Look at my second post.Your specs seem to have grown.
but with the possibility of generating my own bit-file, I can now figure out my setup and decide, whether a 7i92 will suffice or whether I need a 7i80HD
Very nice!
cheers
Please Log in or Create an account to join the conversation.
This isn't entirely trivial. There are instructions here: wiki.linuxcnc.org/cgi-bin/wiki.pl?Editing_MESA_Bitfiles... and when I created my own pin-file, how do I generate a .bit-file?
An encoder counter (possibly relatively slow, 100kHz rather than 10MHz) without an index for use with a Manual Pulse Generator rather than the encoder on a servo.what is a MPG channel?
That depends on the card. On the 7i76 it is an isolated digital potentiometer, so is particularly well suited to VFDs and KBIC drives.The pwm-channel for spindle speed - is it analog output or is it regular I/O?
It is typically simpler to move physical wires than to reconfigure the bitfiles. I don't know if you have noticed this, but you can disable specific functions such as stepgens and encoder counters and those pins then become available as GPIO pins.but with the possibility of generating my own bit-file, I can now figure out my setup and decide, whether a 7i92 will suffice or whether I need a 7i80HD
Please Log in or Create an account to join the conversation.
So a 7i80HD + 7i52S seems to be a good starting point. 6 step/dir channels and 3 MPG looks fine. I guess, digital I/O will work without any daughterboard. So this tuple looks nice but is lacking support for spindle control.
How can I add support for spindle speed?
7i80HD could drive 3 daughterboards, right?
The 7i73 looks really nice. I would like to go for one too. But how do I connect such a card to ... what? PC? or 7i80HD?
... and if I use multiple daughterboards, I'll have to create my own .bit files too - right?
I found two .bit files for the 7i80+7i52S: 7i80hd_16_svst6_6_7i52s.bit and 7i80hd_16_svst6_6_7i52sd.bit
What's the difference between them?
When I compare the PIN* files, some PLL registers apear in one, but no difference at pin configuration.
Is the xilinx design suite the only way to generate a .bit file?
I have to rip off my cloths for registration, abuse internet for huge download and flood my harddisk with unwanted software ...
... what a mess!
Please Log in or Create an account to join the conversation.