On Wednesday 11 July 2018 15:08:03 Gene Heskett wrote: > On Wednesday 11 July 2018 14:13:10 yomin estiven jaramillo munera wrote: > > Hi, Gene. we have decided to use the Mesa 5i25 for our application, > > in this case could you recommended us to use the standard profile or > > the low profile?, so i would like to known, how is the installation > > process of this card in the machine? thanks you. > > First, you mentioned the PCI-e bus in your machine. The card that is > virtually identical to the PCI 5i25, is the 6i25 in PCI-e form. So > that should solve one problem if your machine does not have both > styles of slots available. > > Second the std vs low profile is only in the cards back plate, and the > choice is determined by your machine. If looking at the rear of the > machine, the dummy card is around 4.5", thats a std profile, but its a > low profile if only 3" and change. I have in a pinch, made a plate, > but it is a bit of cuss & cry sometimes. :) > Part 3 of your question is recommended to download and install, the hostmot2 package, which will contain some, but probably not for either of these 2 cards, the files to program the fpga's, and the programmer sw. To get the exact fpga images for either of these cards, goto the mesanet site, and get the docs and driver packages for these cards.
A common fpga file that will give you the best for most jobs, is: $cardname_prob_rfx2.bit. Follow the help instructions for mesaflash, and program the card, then do a verify run. Add something like this to the bottom of your linuxcnc .ini file: #************************* [HOSTMOT2] # **** This is for info only **** DRIVER=hm2_pci BOARD=6i25 (or 5i25) If everything else is kosher, the card should sign on when you launch linuxcnc -l, showing you its available functions in the dmesg screen. The -l isn't documented, but means to use the last selected configuration in case you have several. I'm running Master so its not in the terminal, but is in the dmesg output, and looks like this with my $config: [1319720.541542] hm2: loading Mesa HostMot2 driver version 0.15 [1319720.548439] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 [1319720.548487] hm2_pci: discovered 5i25 at 0000:04:02.0 [1319720.551576] hm2/hm2_5i25.0: 34 I/O Pins used: [1319720.551582] hm2/hm2_5i25.0: IO Pin 000 (P3-01): IOPort [1319720.551587] hm2/hm2_5i25.0: IO Pin 001 (P3-14): PWMGen #0, pin Out0 (PWM or Up) (Output) [1319720.551592] hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #0, pin Step (Output) [1319720.551596] hm2/hm2_5i25.0: IO Pin 003 (P3-15): IOPort [1319720.551600] hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #0, pin Direction (Output) [1319720.551605] hm2/hm2_5i25.0: IO Pin 005 (P3-16): PWMGen #0, pin Out1 (Dir or Down) (Output) [1319720.551609] hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #1, pin Step (Output) [1319720.551613] hm2/hm2_5i25.0: IO Pin 007 (P3-17): IOPort [1319720.551617] hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #1, pin Direction (Output) [1319720.551621] hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #2, pin Step (Output) [1319720.551625] hm2/hm2_5i25.0: IO Pin 010 (P3-07): StepGen #2, pin Direction (Output) [1319720.551629] hm2/hm2_5i25.0: IO Pin 011 (P3-08): StepGen #3, pin Step (Output) [1319720.551633] hm2/hm2_5i25.0: IO Pin 012 (P3-09): StepGen #3, pin Direction (Output) [1319720.551637] hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort [1319720.551641] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Encoder #0, pin A (Input) [1319720.551645] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Encoder #0, pin B (Input) [1319720.551649] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Encoder #0, pin Index (Input) [1319720.551653] hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort [1319720.551657] hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort [1319720.551660] hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort [1319720.551664] hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort [1319720.551667] hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort [1319720.551671] hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort [1319720.551674] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort [1319720.551678] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort [1319720.551681] hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort [1319720.551685] hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort [1319720.551688] hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort [1319720.551692] hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort [1319720.551695] hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort [1319720.551699] hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort [1319720.551702] hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort [1319720.551706] hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort [1319720.551709] hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort [1319720.551863] hm2/hm2_5i25.0: registered Change the hm2_5i25 above to hm2_6i25 and that which is defined as a function should show as above, but if the card contains 4 copies like for encoders, but you only spec 1 of them, the pins of the 2nd, 3rd, and 4th will be available as gpio pins. Ditto for pwmgen(erators) and stepper drivers. The gpio's can be ins or outs, but you'll be restricted as to which by the breakout cards, which generally have a fixed map that matches a std parport, eg 12 outputs and 5 inputs. With 2 ports, thats 34 pins usable totally. The config for loading the driver can be either at the top of the .hal file, like this: loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_dio=12 loadrt hostmot2 loadrt hm2_pci config="num_encoders=1 num_pwmgens=1 num_stepgens=4" Its the last line that restricts the number of each function, leaving the unused pins as gpio pins. That machine is a 4 axis machine part of the time as I have motorized a small rotary table that is mounted when needed for the job. It can also be placed in the HostMot2 section of the ini file as not shown above. And my doorbell just rang, UPS dropping a 23 lb box, a set of carbide reloading dies for a 9mm Lugar, and 1000 124gr copper plated lead bullets. So I'll be ready to go shoot a new M&P cheap yet this week if the powder shows up. I have way too many hobbies for an old fart. But they keep me out of the bars... > > El mar., 10 de jul. de 2018 a la(s) 21:53, Gene Heskett ( > > > > ghesk...@shentel.net) escribió: > > > On Tuesday 10 July 2018 20:13:27 yomin estiven jaramillo munera > > wrote: > > > > Hi guys, I need configure 2 parallel ports PCI express ( > > > > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?WCH) for a application > > > > of 6 axis. however I am having some problems with the > > > > recognition of parallel ports in Debian. > > > > Someone knows what can I do with that? > > > > I need that linuxcnc recognizes the 2 ports. but i must do a > > > > initial configuration from terminal. > > > > can you help me? > > > > > > Does this machine have a std pci slot? If it does, a Mesa 5i25 > > > card will give you a pair of parports, independent of the machines > > > own parport, and do it with more i/o bandwidth than you'll get > > > from adding another parport card. I have 2 machines setup with the > > > 5i25, and both work well. A 4 axis G0704, which uses both ports > > > and and a 7x12 lathe that so far is only using one of them. > > > > > > You can use 2 more or less std parport breakout boards, and I > > > highly recommend the SainSmart boards for that as they have no > > > signal distorting opto-isolators in any output. They do isolate > > > the inputs however, which limits the speed of any spindle encoders > > > involved unless the opto is snipped out of the circuit and > > > bypassed in those two inputs. I am an old C.E.T., so thats easy > > > for me to do. > > > > > > I have no clue if Peter (mesanet) has a pci-express version of > > > that card. You might ask, or an old off lease Dell usually has a > > > pair of pci slots, and can be had for less than a 100 dollar bill > > > from places like pcliquidater.com. > > > > > > Another, more pricey way might be to use a 7i90HD and a trio of > > > 7i42TA's, which are required to protect the 3 volt circuitry of > > > the 7i90, which I am running a converted Sheldon 11x36 with, that > > > gives you 72 gpio's and several choices of FPGA configs. So I am > > > doing what needs to be done to run this lathe and still have > > > around 25 gpio's I haven't used. This card can be driven from a > > > parport, or from an SPI, which I am doing from a raspi 3b on that > > > machine. > > > > > > I hope this helps, yomin estiven jaramillo munera, where are you? > > > > > > -- > > > Cheers, Gene Heskett > > > -- > > > "There are four boxes to be used in defense of liberty: > > > soap, ballot, jury, and ammo. Please use in that order." > > > -Ed Howdershelt (Author) > > > Genes Web page <http://geneslinuxbox.net:6309/gene> > > > > > > > > > ------------------------------------------------------------------ > > >-- ---------- Check out the vibrant tech community on one of the > > > world's most engaging tech sites, Slashdot.org! > > > http://sdm.link/slashdot > > > _______________________________________________ > > > Emc-users mailing list > > > Emc-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > -------------------------------------------------------------------- > >-- -------- Check out the vibrant tech community on one of the > > world's most engaging tech sites, Slashdot.org! > > http://sdm.link/slashdot > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users -- Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users