On Tue, 2008-09-09 at 20:14 -0300, Richard Acosta wrote:
> Hello, my name is Richard, and i´have bought a 7i43 board, wich i hope
> to use on a home made drilling machine.
> 
> I´m stuck on the first steps, i have connected this board using
> parallel port cable, set jumpers according to what manual says, so,
> now i don't know what else to do.
... snip
> 
> So... whath should i do now?, where to put this files?, how to upload
> hostmot2 firmware?, how to tell EMC2 than i'm using this board.
> 
> Can anyone send an example?... or an easy to understand step by step
> guide?, i know some about linux, but at an user level.

I don't know much about this card, but I'll try to get you started. When
you first start EMC2 it will ask you to select a configuration file that
describes your machine. When you make a selection normally a set of
files get copied to your home directory under emc2 and the name of the
type of the application. In this directory are a set of files that get
loaded when you start EMC2 and describe to emc2 what software and
firmware is needed. The main file is xxx.ini and part of this file lists
what other files need to be loaded. These other files will be xxx.hal
files. Often only one .hal file will be called out an it will usually
start by loading drivers. Drivers are loaded with a line that starts
with "loadrt". See this page:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?HostMot2

You can use the Text Editor to edit your .ini and .hal files
(in /home/your_home/emc2/app_name/app_name.hal or load.hal) to add or
change the loadrt lines. It looks like you will need to have;
"loadrt hostmot2" and
"loadrt hm2_7i43 config= ..."

These will load the drivers, but the some or all of the functions within
the drivers will need to be called. See here for a 5i20 example:
http://cvs.linuxcnc.org/lxr/source/configs/m5i20/m5i20_io.hal

The "addf" lines first call out the name of the function and then the
name of the thread that the function should run in. Each function will
provide input and output HAL pins. The rest of the example file shows
how the pins are connected. This example shows the old way to make
connections. The newer way is to use "net":
"net signal_name pin_name pin_name"

There is allot more to this but this may get you started.

More documentation is here:
http://linuxcnc.org/docview/html/

and for most features, there is a man page. Open a terminal and at the
prompt type man and the name. Such as:
"man hm2_7i43"

Others on this list can provide better information. Good luck.

-- 
Kirk Wallace (California, USA
http://www.wallacecompany.com/machine_shop/ 
Hardinge HNC/EMC CNC lathe,
Bridgeport mill conversion, doing XY now,
Zubal lathe conversion pending
Craftsman AA 109 restoration
Shizuoka ST-N/EMC CNC)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to