Hi Dave.  Fascinating experiment.  The ax driver is intended for a 48 IO ISA 
card but ....  I'd hook up a switch to one of the inputs and see if it changes 
in the HAL.  If it does then we can look into that iioo config stuff and see if 
we can expand.  I'd try the switch on several of the inputs.  One for each set 
of 8 inputs.  You need pull up or pull down resistors depending on the nature 
of your board.

In my early experiments with this stuff I was able to lock up the PC while 
doing some of this stuff.  Don't be surprised if your's does.

Rayh

--- [EMAIL PROTECTED] wrote:

From: "Dave Keeton" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] 8255 driver
Date: Sat, 3 May 2008 09:08:23 -0400

Make that 48 I/O points instead of 56....


----- Original Message ----- 
From: "Dave Keeton" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Saturday, May 03, 2008 8:57 AM
Subject: Re: [Emc-users] 8255 driver


> So here is what I have done.....(Recommended by another user)
>
>                   The pci_8255 showed up in both components and functions
> but nothing in pins under Hal Configuration. So I commented it out and did
> this.......
>         In the m5i20_io.hal file -
>                        loadrt hal_ax5214h cfg="0x220_iiooiioo"    (Copied
> from demo_mazak)
>         Now I show 56 I/O points in Hal Configuration and Hal Meter under
> pins.....Does this mean it worked I assume? Do I have to modify the driver
> to get the remainder of the I/O points in pins? Do I need to go ahead and
> hook up a switch or led to confirm?
>
>           Thanks,
>                 Dave
>
> ----- Original Message ----- 
> From: "Kirk Wallace" <[EMAIL PROTECTED]>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Sent: Friday, May 02, 2008 10:31 PM
> Subject: Re: [Emc-users] 8255 driver
>
>
>> On Fri, 2008-05-02 at 21:36 -0400, Dave Keeton wrote:
>>> So I have installed the PCI-DIO-96 board in the computer.....Ubuntu
>>> picked
>>> it up in the Device manager and called it by name.....How do I go about
>>> loading the pci_8255 hal driver, What file do I modify in the config
>>> directory, How do I know if EMC2 sees the board and its I/O points?
>>>
>>>          Dave
>>
>> If you look in the Integrator's Manual:
>>
>> http://www.linuxcnc.org/docs/EMC2_Integrator_Manual.pdf
>>
>> chapter four indicates that the [HAL] section of the .ini file for the
>> configuration you are running, has an entry(ies) called "HALFILE =".
>> These "HALFILE ="'s will list the .hal files that are part of the
>> initialization for starting your configuration in EMC2. One of these
>> files will have "loadrt somedriver and_options" in it. You will need a
>> loadrt entry for your 8255, plus an entry to add the driver to a thread,
>> something like "addf somedriver name_of_thread". You can do a Find for
>> addf in the manual to get more information. If you start EMC2 and if the
>> driver loads properly, you should be able to start Halmeter and see the
>> new Hal pins in the pin list.
>>
>> -- 
>> 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 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> _______________________________________________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to