On Sat, 30 Apr 2011, Viesturs L?cis wrote:

> Date: Sat, 30 Apr 2011 00:08:30 +0300
> From: "[UTF-8] Viesturs L?cis" <[email protected]>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <[email protected]>
> To: "Enhanced Machine Controller (EMC)" <[email protected]>
> Subject: [Emc-users] EMC2, 7I43, Hostmot2
> 
> Hello, folks!
>
> I wanted to ask, if there is some nice place with a sample configs for
> 7I43 card?
> Tomorrow might be the day, when I would like to get some movement in
> the newly built robotic arm, but I just realized, that I have not yet
> found out, how to set up the 7I43 card - this is my first time trying
> to use Mesa hardware.
> I found these pages:
> http://linuxcnc.org/docs/html/drivers_hostmot2.html
> http://linuxcnc.org/docs/html/man/man9/hostmot2.9.html
> http://www.linuxcnc.org/docview/html/man/man9/hm2_7i43.9.html
>
> The thing is that I still do not understand, how exactly should I load
> hostmot driver for 7I43 card.
>
> http://linuxcnc.org/docs/html/drivers_hostmot2.html and
> http://linuxcnc.org/docs/html/man/man9/hostmot2.9.html say that I
> should:
> loadrt hostmot2
> loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_encoders=3
> num_pwmgens=3 num_stepgens=1"
>
> The second line is confusing me - I do not understand, how exactly
> that "firmware" section is created. I am particularly afraid of that
> SVST8_4.BIT phrase. That page tells that it is some file name, but I
> am obviously missing something.
>
> But http://www.linuxcnc.org/docview/html/man/man9/hm2_7i43.9.html suggests:
> loadrt hm2_7i43 [ioaddr=N] [ioaddr_hi=N] [epp_wide=N]
> [config="str[,str...]"] [debug_epp=N]
>
> So does it mean that this last line substitutes the second line of the
> previous code? I think that no, because this last line does not state,
> how many stepgens should be created etc. So this page also does not
> provide full information.
>
> So can anyone share some sample HAL file for 7I43 card? Or at least
> point me to some noob tutorial, how to set it up? I _think_ that I
> might be able to figure out the correct syntax for different pins on
> the board and link them accordingly, currently I see difficulties in
> understanding, how to get EMC2 to communicate with the board.
>
> Thanks in advance!
>
> Viesturs
>



The easiest thing is to start with the example configurations, if you just 
select hm2-stepper/7i43-big (if you have a 400K 7I43) from the EMC menus, that 
should load the appropriate firmware and start EMC. If it does not, there is 
an interface issue. Pinouts are determined by the bitfile so if you need a 
different pinout you need a different bitfile (you can selectively enable 
encoder/stepgens/pwmgens etc and pins unused (by these special functions) 
revert to GPIO pins


> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to