Re: [Emc-users] Watchdogs

2008-04-29 Thread Kirk Wallace
On Mon, 2008-04-28 at 21:08 -0400, John Kasunich wrote:
... snip
> After I wrote my reply I looked closer at the schematic and saw the how
> big your caps are.  I also noticed that you are using an LS14.  I used
> much smaller caps, probably 0.1uF for the filter and 0.01uF or smaller
> for the pumps.  I used proportionally higher resistors to get the time
> constants I wanted, but the net result is less loading on the '14
> sections that are driving the pump.

I started with .1 uF pump caps but could not get enough voltage. When I
put the 2.2 uF caps, I got what I wanted and went on to other issues.
One of these days, it would be nice to learn spice and do a proper job
of design.

> In your case, the input current requirements of the LS14 make it
> interesting.  IIRC, LS inputs go high when open - you need to make sure
> your load resistor R5 is low enough to ensure a logic zero when the pump
> is off.  If you've socketed the chip, I'd strongly consider replacing it
> with CMOS one, like an HC or HCT.

I checked for proper output (low) for steady high and steady low input
signals. I used the LS because that is what I found in a pile of
telecomm boards I use for my own little RadioShack. I have never paid
much attention to the technology types, so I appreciate your advise and
will take it into consideration when I put my Digikey order together.
For the current circuit it might be helpful if I got the scope out and
looked at the signals along the way.

> Since the CMOS parts have very high DC input impedance, you could put
> 10K to 50K between the top of R5 and the input to the chip.  That would
> greatly limit any current that might flow into internal protection
> diodes, and make the clamp issue go away.

And since the signal is DC at this point, switching speed is not an
issue, so the resistor would not have any down side(?).

> The tradeoff between HC and HCT is driven mostly by the input from the
> PC (pin 5).  HC is better for the output section, since I think the HC
> thresholds are about mid-rail.  HCT thresholds are lower, and are a good
> choice if the parport might be driving only 3.3V.
> 
> Regards,
> 
> John Kasunich

-- 
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


Re: [Emc-users] Watchdogs

2008-04-29 Thread Kirk Wallace
On Mon, 2008-04-28 at 21:47 -0400, Kenneth Lerman wrote:
> Does anyone use a single chip solution consisting of a single  8 pin 
> microprocessor?
> 
> An Atmel atTiny13 is $1.40 in an 8 pin dip package. These chips power up 
> nicely, require no external oscillator, and are easy to program. If you 
> don't trust them, get two. Use one to drive the high side of the SSR relay 
> and the other to drive the low side. The paranoid among us can take the 
> drive signals from the chips and feed them back as inputs to the main 
> processor. It would then check that the chips are in the no signal state 
> prior to starting the charge pump.
> 
> It wouldn't do to have a failure of the failsafe circuit be undetected.
> 
> Ken

Who's checking the failsafe circuit checker?

If you can do the programming easily, these eight pin processors
certainly are cheap. I find it a little frustrating to consider using
them because I always try to think of other functions I can put in while
I am there. I am the only one here, so no one shoots the engineer to
finish the project.

-- 
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


Re: [Emc-users] CNC4PC +EMC2

2008-04-29 Thread John Thornton
I have one on the way as a loner to test out so if you figure it out first post 
your 
results.

John

On 28 Apr 2008 at 20:12, [EMAIL PROTECTED] wrote:

> Yes i got those board. it uses USB cable as a supply of power
> 
> > Did you get the adapter board that supplies the 5v to the encoder?
> >
> > John
> >
> > On 28 Apr 2008 at 6:00, [EMAIL PROTECTED] wrote:
> >
> >> Hi
> >> buy MPG not a problem, make it work with EMC2 is.
> >> those MPG-4 some has 4 axis because cable do not have enough wires
> >> inside. the main problem is configur EMC to plug MPG
> >>
> >>
> >> > Aram,
> >> >
> >> >  John Keling looks to have the identical MPG pendant for
> >> > $180.  
> >> >
> >> > Mark
> >> >
> >> > At 12:52 PM 4/27/2008, you wrote:
> >> >>Hi
> >> >>I have MPG4-6Axis pendant.
> >> >>http://www.cnc4pc.com/Store/osc/product_info.php?products_id=162
> >> >>It build with high level of craftsmanship. I am interesting if
> >> >>any one manage to plug MPG4-6 to EMC2with db25
> >> >> connector?
> >> >>I an sure that CNC4PC pendant will move EMC2 closer to the
> >> >>commercial
> >> >> type
> >> >>controllers.
> >> >>I think the first step is to find out how to switch control from
> >> >>PC to pendant and back. MPG-4 has switch ON/OFF. I need help in
> >> >>finding how it can be done. Thank you aram
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>-
> >> >>--- - 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.su
> >> >>n.c om/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.su
> >> > n.c om/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.c
> > om/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


Re: [Emc-users] CNC Fest

2008-04-29 Thread Thomas J Powderly
regarding EMC-Fest FISL...
Attend over the internet :)
we spend our time on these computers, oughta learn to use them ;)
( shame on me for not knowing how to video conference yet :(
TomP



-
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


Re: [Emc-users] Classicladder

2008-04-29 Thread Thomas J Powderly
to Dave Keeton:
http://www.futurlec.com/PCI8255.shtml
79$ US
72 i/o points
pci
emc2 driver is available, "sorta beta"
regards
TomP



-
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


Re: [Emc-users] CNC Fest

2008-04-29 Thread Dave Engvall
Certainly cheaper over the net than physical transport. I did look at  
flights and they were not cheap (~ 1400 to 1800) and will probably  
increase by 20% or so by next year.  :-(
Living in dry country I also looked at the temps and humidity.  ...  
pretty steady 25-30 degrees with 70 +/- 5% humidity.

Dave

On Apr 29, 2008, at 9:33 AM, Thomas J Powderly wrote:

> regarding EMC-Fest FISL...
> Attend over the internet :)
> we spend our time on these computers, oughta learn to use them ;)
> ( shame on me for not knowing how to video conference yet :(
> TomP
>
>
>
> -- 
> ---
> 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


Re: [Emc-users] CNC Fest

2008-04-29 Thread Filipi Vianna
Perhaps next FISL will be on June, one dry month on Porto Alegre.

On Tue, 2008-04-29 at 09:43 -0700, Dave Engvall wrote:
> Certainly cheaper over the net than physical transport. I did look at  
> flights and they were not cheap (~ 1400 to 1800) and will probably  
> increase by 20% or so by next year.  :-(
> Living in dry country I also looked at the temps and humidity.  ...  
> pretty steady 25-30 degrees with 70 +/- 5% humidity.
> 
> Dave
> 
> On Apr 29, 2008, at 9:33 AM, Thomas J Powderly wrote:
> 
> > regarding EMC-Fest FISL...
> > Attend over the internet :)
> > we spend our time on these computers, oughta learn to use them ;)
> > ( shame on me for not knowing how to video conference yet :(
> > TomP
> >
> >
> >
> > -- 
> > ---
> > 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
> 
-- 
Filipi Vianna
IDÉIA/PUCRS - Instituto de Pesquisa e Desenvolvimento
3320-3500 ramal: 7794
http://www.pucrs.br/ideia


-
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


Re: [Emc-users] CNC Fest

2008-04-29 Thread Filipi Vianna
FISL, since 3th edition, has always been broadcast trough the internet,
using theora ogg encoding (watch with VLC, mplayer, etc).

Videos of past events, key note speaks and talks are available on
http://tv.softwarelivre.org
http://mirrors.softwarelivre.org/fisl6/
http://mirrors.softwarelivre.org/fisl7/

There were no experiences on video conferences yet, but I can assure you
that Porto Alegre is a great place to visit ( in person ;-)

Regards,



On Tue, 2008-04-29 at 11:33 -0500, Thomas J Powderly wrote:
> regarding EMC-Fest FISL...
> Attend over the internet :)
> we spend our time on these computers, oughta learn to use them ;)
> ( shame on me for not knowing how to video conference yet :(
> TomP
> 
> 
> 
> -
> 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

-- 
Filipi Vianna
IDEIA/PUCRS Research and Development Institute
+55 51 33203525 ext. 7794
http://www.pucrs.br/ideia


-
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


Re: [Emc-users] CNC Fest

2008-04-29 Thread Fabio Gilii
Regarding next FISL+EMC Fest, I want to say that is a quite big "CNC"
community here in Brazil and possibly is very interesting to them
participate of such meeting...

I'm owner of a discussion forum focused in building simple CNC machines, and
some of us are using EMC² in our machines, and I think it can be very
interesting possibilty to join efforts to organize and to participate of
such happening!

We have made some meeting in the last two or three years, and we are
planning to do the next soon...

Maybe Filipi can participate (feel invited!) in the next!

Best regards,

Fabio Gilii
www.guiacnc.com.br
[EMAIL PROTECTED]
-
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


Re: [Emc-users] CNC Fest

2008-04-29 Thread amtb
Hi
round trip with soth west $ 550 from portland to chicago

> Certainly cheaper over the net than physical transport. I did look at
> flights and they were not cheap (~ 1400 to 1800) and will probably
> increase by 20% or so by next year.  :-(
> Living in dry country I also looked at the temps and humidity.  ...
> pretty steady 25-30 degrees with 70 +/- 5% humidity.
>
> Dave
>
> On Apr 29, 2008, at 9:33 AM, Thomas J Powderly wrote:
>
>> regarding EMC-Fest FISL...
>> Attend over the internet :)
>> we spend our time on these computers, oughta learn to use them ;)
>> ( shame on me for not knowing how to video conference yet :(
>> TomP
>>
>>
>>
>> --
>> ---
>> 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


Re: [Emc-users] CNC Fest

2008-04-29 Thread John Kasunich
[EMAIL PROTECTED] wrote:
> Hi
> round trip with soth west $ 550 from portland to chicago
> 
>> Certainly cheaper over the net than physical transport. I did look at
>> flights and they were not cheap (~ 1400 to 1800) and will probably
>> increase by 20% or so by next year.  :-(
>> Living in dry country I also looked at the temps and humidity.  ...
>> pretty steady 25-30 degrees with 70 +/- 5% humidity.
>>

Aram:  the travel price Dave quoted was to the FISL event in Brasil.  A 
bit farther than Chicago.

Regards,

John Kasunich

-
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


Re: [Emc-users] Classicladder

2008-04-29 Thread Dave Keeton
This board looks good! I did just buy a new NI DIO 96 board off of EBAY for 
50 bucksIf it does'nt work out I'll check it out. I guess i was 
completely wrong about the I/O situation. You all have been a big 
helpHow do I go about setting up the drivers for these boards in EMC? I 
am not all that familiar with Linux

Dave

- Original Message - 
From: "Thomas J Powderly" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" 
Sent: Tuesday, April 29, 2008 12:39 PM
Subject: Re: [Emc-users] Classicladder


> to Dave Keeton:
> http://www.futurlec.com/PCI8255.shtml
> 79$ US
> 72 i/o points
> pci
> emc2 driver is available, "sorta beta"
> regards
> TomP
>
>
>
> -
> 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


Re: [Emc-users] Classicladder

2008-04-29 Thread Andrew Ayre
Wow - 8255s - I didn't know those were still used for commercial products.

Andy

Dave Keeton wrote:
> This board looks good! I did just buy a new NI DIO 96 board off of EBAY for 
> 50 bucksIf it does'nt work out I'll check it out. I guess i was 
> completely wrong about the I/O situation. You all have been a big 
> helpHow do I go about setting up the drivers for these boards in EMC? I 
> am not all that familiar with Linux
> 
> Dave
> 
> - Original Message - 
> From: "Thomas J Powderly" <[EMAIL PROTECTED]>
> To: "Enhanced Machine Controller (EMC)" 
> Sent: Tuesday, April 29, 2008 12:39 PM
> Subject: Re: [Emc-users] Classicladder
> 
> 
>> to Dave Keeton:
>> http://www.futurlec.com/PCI8255.shtml
>> 79$ US
>> 72 i/o points
>> pci
>> emc2 driver is available, "sorta beta"
>> regards
>> TomP
>>
>>
>>
>> -
>> 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
> 
> 
> 

-- 
Andy
PGP Key ID: 0xDC1B5864

-
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


Re: [Emc-users] Classicladder

2008-04-29 Thread Thomas J Powderly
http://www.boondog.com/tutorials/8255/8255.htm
(you'll have to dig a bit to get the broken images fixed,
but they're there, just not browsable ;)
an isa 8255, an 8254 and a 2776(?) pwm control board too
(the sire is a bit dusty & disused ;)
tomp
On Tue, 2008-04-29 at 15:36 -0700, Andrew Ayre wrote:
> Wow - 8255s - I didn't know those were still used for commercial products.
> 
> Andy
:)


-
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


[Emc-users] Spindle speed control & fb

2008-04-29 Thread Dave Dyke
Hi
I am retrofitting a HES turning center with EMC2, using mesa 5i20 +7i33 
+7i37
I have taken some lines from pluto hal file to get thread cutting and 
connected the spindle encoder to enc-03, both threading and rigid tapping 
are working.
But have been unable to get the spindle speed display to work, I have tried 
variations of the example in the manual and from the nist lathe hal file, 
can someone point me in the right direction.
I have emc controlling spindle fwd/rev bits, but am not able to control the 
vfd speed when I try to run the spindle in reverse.
I am trying to use dac-03 to control the vfd speed, what should I set to 
change output  to 0 /+10v.

Thanks

Dave




-
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


Re: [Emc-users] Spindle speed control & fb

2008-04-29 Thread Ray Henry

Hi Dave

What vintage and size machine is this.  I used to service some of these
with GE 1050 controls.  I believe I still have Gettys drives and motors
and a bunch of relays and such out in storage.

Are you using the original spindle drive amp?

Rayh  


On Tue, 2008-04-29 at 17:11 -0600, Dave Dyke wrote:
> Hi
> I am retrofitting a HES turning center with EMC2, using mesa 5i20 +7i33 
> +7i37
> I have taken some lines from pluto hal file to get thread cutting and 
> connected the spindle encoder to enc-03, both threading and rigid tapping 
> are working.
> But have been unable to get the spindle speed display to work, I have tried 
> variations of the example in the manual and from the nist lathe hal file, 
> can someone point me in the right direction.
> I have emc controlling spindle fwd/rev bits, but am not able to control the 
> vfd speed when I try to run the spindle in reverse.
> I am trying to use dac-03 to control the vfd speed, what should I set to 
> change output  to 0 /+10v.
> 
> Thanks
> 
> Dave
> 
> 
> 
> 
> -
> 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


Re: [Emc-users] Spindle speed control & fb

2008-04-29 Thread Stephen Wille Padnos
Dave Dyke wrote:

>Hi
>I am retrofitting a HES turning center with EMC2, using mesa 5i20 +7i33 
>+7i37
>I have taken some lines from pluto hal file to get thread cutting and 
>connected the spindle encoder to enc-03, both threading and rigid tapping 
>are working.
>But have been unable to get the spindle speed display to work, I have tried 
>variations of the example in the manual and from the nist lathe hal file, 
>can someone point me in the right direction.
>I have emc controlling spindle fwd/rev bits, but am not able to control the 
>vfd speed when I try to run the spindle in reverse.
>I am trying to use dac-03 to control the vfd speed, what should I set to 
>change output  to 0 /+10v.
>  
>
It seems that you'd want to stick an absolute value component between 
the spindle speed output from EMC and the DAC on the Mesa card.

something like:
loadrt abs
net spindle-speed motion.spindle-speed-out abs.0.in
net spindle-abs abs.0.out m5i20.0.dac-03-value

- Steve


-
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


[Emc-users] CNC-Workshop

2008-04-29 Thread rehenry
HiI just received a call from Roland Friestad, the guy who puts
together the CNC-Workshop each year.  He has had a fairly severe heart
attack.  Got home from the hospital today and called me.  He will try
to get the web registration up in the next week and was wondering if we
could help with some of the coordination.He plans to contact
the other major players and want's to run the workshop in spite of the
lateness of starting up the web site.  He and his wife will get the
site going and handle the registration.  If you are one of those other
folk and need to get ahold of him directly, post a note to me here --
rayhswan (at)  yahoo.com and I'll get back to you asap with his new
cell number.He'd like us to take the responsibility for all of the EMC side of things.   There is the start of a wiki page at http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC_Fest_2008If
you'd update this page with info about when you will arrive and what
equipment you'll bring along it would be a big help.  Also if there are
things that you are specifically interested in, put it in there as well
and we'll try to get a class setup for your topics.There
are other activities more directly connected with the workshop that he
could use some help with. If someone is willing to assist with the
scheduling of presentations I'll get you in contact with him.  We could
put a preliminary page or two on our wiki for his classrooms and times
and then transfer info to him as things come in.   If you can take the
point on this let me know.It would probably also help if
someone could serve as a focal point for the raffle.  Twist arms for
contributions and keep track of who gave what so that Roland has the
info he needs during the event.    Then that person(s) would need to
keep all the stuff in one place once at the workshop and set it up.I'll plan to show up down there Thursday/Friday before and
help arrange things.  If a couple of you could do the same it would
really help us, Roland, and Joe a lot.Thanks for your kind attention.  Contact me if you need to contact Roland directly.Rayh

-
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


[Emc-users] Overriding limits

2008-04-29 Thread rtwas
Hello,

I'm using emc 2.2.2 and can't seem to override limits. This makes it 
hard to realign the table
manually if emc2 happens to quit oposite the normal *home* position. Is 
there a workaround
until emc2's *override limits* button becomes functional?

Thanks.


Robert W.

-
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


Re: [Emc-users] Classicladder

2008-04-29 Thread Gene Heskett
On Tuesday 29 April 2008, Andrew Ayre wrote:
>Wow - 8255s - I didn't know those were still used for commercial products.
>
Small correction, 82C55's, the cmos versions, so the board doesn't draw much 
more power than is consumed by any outputs being pulled high.  Each line is 
limited to about a 2 mill load, but can pull rail to rail both directions.  I 
had some of them once, sent them someplace that was gonna write a linux 
driver.  I tried to write one myself, and found I knew very little about 'PC' 
architecture.  The card contains no bios AFAIK, so its invisible to an lspci 
listing.

Once a linux driver is available, I think they would make a very nice 
interface for emc's use.  With all 24 lines available on each chip, the i/o 
expansion possibilities sure beat the usual parport, an architecture 
originally built from the 8255 decades ago.  IIRC the actual cabling from 
each chip was on a 34 pin floppy drive sized cable, so each card gave you 3, 
34 pin ribbon cables out of a spare slot opening in the back of the case.

One thing I ran into was that while that web site below shows prices in USD, 
they billed my card in AUD and applied the exchange rate, so I paid about a 
20% premium over the quoted price.  Quite close to a big buck each at the 
time, which was about 4, maybe 5 years ago now.

I also bought a few of stepper controllers based on the L298 they have, touch 
them only with a very long pole, there is no current chopper available for 
current regulation.

>Andy
>
>Dave Keeton wrote:
>> This board looks good! I did just buy a new NI DIO 96 board off of EBAY
>> for 50 bucksIf it does'nt work out I'll check it out. I guess i was
>> completely wrong about the I/O situation. You all have been a big
>> helpHow do I go about setting up the drivers for these boards in EMC?
>> I am not all that familiar with Linux
>>
>> Dave
>>
>> - Original Message -
>> From: "Thomas J Powderly" <[EMAIL PROTECTED]>
>> To: "Enhanced Machine Controller (EMC)" 
>> Sent: Tuesday, April 29, 2008 12:39 PM
>> Subject: Re: [Emc-users] Classicladder
>>
>>> to Dave Keeton:
>>> http://www.futurlec.com/PCI8255.shtml
>>> 79$ US
>>> 72 i/o points
>>> pci
>>> emc2 driver is available, "sorta beta"
>>> regards
>>> TomP
>>>
>>>
>>>
>>> -
>>> 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/ja
>>>vaone ___
>>> 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/jav
>>aone ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users



-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Never have children, only grandchildren.
-- Gore Vidal

-
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


[Emc-users] EMC2 on Ubuntu Hardy

2008-04-29 Thread Colin MacKenzie
Thank you Andy Ayre for such a great article on getting EMC2 and RTAI
running on Ubuntu 7.10. It was invaluable in my attempts to get EMC2 +
RTAI running on Ubuntu 8.04 Hardy. I am sooo close, even so close as to
running emc2 and selecting my configuration...but alas, RTAI crashes it
seems -- in fact, it seems to be the rtapi module that causes it which
is a wrapper that wraps either RTAI or the other realtime api emc can
use (??name). I had encountered a few other problems during the install
as some things have changed in the linux kernel and RTAI recently.
Mostly these were just moved or renamed files/links. I have documented
some of these issues for the next *victims*. ;)

Line "rtapi likely not compiled with -mcmodel=kernel" seems to be the
troubling line. This seems to only be necessary for x86_64 arch and has
to do with memory models and kernel space being the lower 2GB. I tried
adding -mcmodel=kernel to the rtapi Submakefile under CFLAGS and LDFLAGS
but this did not help. Either the makefile is not taking it, or mcmodel
is not the problem.

Anyone else encounter this yet?

Colin

dmesg output:
---
Apr 29 23:42:32 yogi kernel: [  144.157674] I-pipe: Domain RTAI
registered.
Apr 29 23:42:32 yogi kernel: [  144.157685] RTAI[hal]:  mounted
over IPIPE-NOTHREADS 2.0-05.
Apr 29 23:42:32 yogi kernel: [  144.157686] RTAI[hal]: compiled with gcc
version 4.2.3 (Ubuntu 4.2.3-2ubuntu7).
Apr 29 23:42:32 yogi kernel: [  144.157793] RTAI[hal]: mounted
(IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK:
0).
Apr 29 23:42:32 yogi kernel: [  144.157798] PIPELINE layers:
Apr 29 23:42:32 yogi kernel: [  144.157804] 88b5dd80 9ac15d93
RTAI 200
Apr 29 23:42:32 yogi kernel: [  144.157808] 806c68c0 0 Linux 100
Apr 29 23:42:32 yogi kernel: [  144.204807] RTAI[malloc]: global heap
size = 2097152 bytes, .
Apr 29 23:42:32 yogi kernel: [  144.205472] RTAI[sched]: IMMEDIATE, MP,
USER/KERNEL SPACE: , kstacks pool size = 524288
bytes.
Apr 29 23:42:32 yogi kernel: [  144.205487] RTAI[sched]: hard timer
type/freq = APIC/14941000(Hz); default timing: periodic; linear timed
lists.
Apr 29 23:42:32 yogi kernel: [  144.205490] RTAI[sched]: Linux timer
freq = 250 (Hz), CPU freq = 239000 hz.
Apr 29 23:42:32 yogi kernel: [  144.205493] RTAI[sched]: timer setup =
999 ns, resched latency = 2944 ns.
Apr 29 23:42:32 yogi kernel: [  144.288282] rtapi: no version for
"nano2count" found: kernel tainted.
Apr 29 23:42:32 yogi kernel: [  144.288928] overflow in relocation type
10 val 88bbb250
Apr 29 23:42:32 yogi kernel: [  144.288933] `rtapi' likely not compiled
with -mcmodel=kernel
Apr 29 23:42:33 yogi kernel: [  145.075719] RTAI[malloc]: unloaded.
Apr 29 23:42:33 yogi kernel: [  145.173636] RTAI[sched]: unloaded
(forced hard/soft/hard transitions: traps 0, syscalls 0).
Apr 29 23:42:33 yogi kernel: [  145.176061] I-pipe: Domain RTAI
unregistered.
Apr 29 23:42:33 yogi kernel: [  145.176188] RTAI[hal]: unmounted.
Apr 29 23:43:36 yogi kernel: [  207.707735] rtapi: Unknown symbol
nano2count
Apr 29 23:43:36 yogi kernel: [  207.707763] rtapi: Unknown symbol
rt_get_time
Apr 29 23:43:36 yogi kernel: [  207.707785] rtapi: Unknown symbol
rt_shutdown_irq
Apr 29 23:43:36 yogi kernel: [  207.707809] rtapi: Unknown symbol
rt_task_make_periodic
Apr 29 23:43:36 yogi kernel: [  207.707837] rtapi: Unknown symbol
rtf_get
Apr 29 23:43:36 yogi kernel: [  207.707861] rtapi: Unknown symbol
start_rt_timer
Apr 29 23:43:36 yogi kernel: [  207.707889] rtapi: Unknown symbol
rt_printk
Apr 29 23:43:36 yogi kernel: [  207.707911] rtapi: Unknown symbol
rt_task_delete
Apr 29 23:43:36 yogi kernel: [  207.707933] rtapi: Unknown symbol
rt_task_suspend
Apr 29 23:43:36 yogi kernel: [  207.707957] rtapi: Unknown symbol
rt_whoami
Apr 29 23:43:36 yogi kernel: [  207.707980] rtapi: Unknown symbol
rtf_put
Apr 29 23:43:36 yogi kernel: [  207.708004] rtapi: Unknown symbol
stop_rt_timer
Apr 29 23:43:36 yogi kernel: [  207.708026] rtapi: Unknown symbol
rt_startup_irq
Apr 29 23:43:36 yogi kernel: [  207.708047] rtapi: Unknown symbol
rt_shm_free
Apr 29 23:43:36 yogi kernel: [  207.708069] rtapi: Unknown symbol
rt_shm_alloc
Apr 29 23:43:36 yogi kernel: [  207.708090] rtapi: Unknown symbol
rtf_destroy
Apr 29 23:43:36 yogi kernel: [  207.708112] rtapi: Unknown symbol
rt_sem_signal
Apr 29 23:43:36 yogi kernel: [  207.708134] rtapi: Unknown symbol
rt_get_cpu_time_ns
Apr 29 23:43:36 yogi kernel: [  207.708155] rtapi: Unknown symbol
rt_linux_use_fpu
Apr 29 23:43:36 yogi kernel: [  207.708183] rtapi: Unknown symbol
rt_sem_wait_if
Apr 29 23:43:36 yogi kernel: [  207.708205] rtapi: Unknown symbol
rt_free_timer
Apr 29 23:43:36 yogi kernel: [  207.708226] rtapi: Unknown symbol
rt_request_irq
Apr 29 23:43:36 yogi kernel: [  207.708257] rtapi: Unknown symbol
rt_sem_init
Apr 29 23:43:36 yogi kernel: [  207.708278] rtapi: Unknown symbol
rtf_create
Apr 29 23:43:36 yogi kernel: [  207.708300] rtapi: Unknown symbol
rt_release_irq
Apr 29 23:43:36 yogi kernel: [  207.708327

Re: [Emc-users] 8255 driver

2008-04-29 Thread Thomas J Powderly
Gene,
pci_8255 is in my cvs emc2 run-in-place installation
pci_8255.c
pci_8255.o
and
i think the hal_ax5214h.c driver in all emc2 installs is really an 8255
(the src doesnt say that, so may be wrong)
tomp

in On Tue, 2008-04-29 at 22:56 -0400, Gene Heskett wrote:
> On Tuesday 29 April 2008, Andrew Ayre wrote:
> >Wow - 8255s - I didn't know those were still used for commercial products.
> >
> Small correction, 82C55's, the cmos versions, so the board doesn't draw much 
> more power than is consumed by any outputs being pulled high.  Each line is 
> limited to about a 2 mill load, but can pull rail to rail both directions.  I 
> had some of them once, sent them someplace that was gonna write a linux 
> driver.  I tried to write one myself, and found I knew very little about 'PC' 
> architecture.  The card contains no bios AFAIK, so its invisible to an lspci 
> listing.
> 
> Once a linux driver is available, I think they would make a very nice 
> interface for emc's use.  With all 24 lines available on each chip, the i/o 
> expansion possibilities sure beat the usual parport, an architecture 
> originally built from the 8255 decades ago.  IIRC the actual cabling from 
> each chip was on a 34 pin floppy drive sized cable, so each card gave you 3, 
> 34 pin ribbon cables out of a spare slot opening in the back of the case.
> 
> One thing I ran into was that while that web site below shows prices in USD, 
> they billed my card in AUD and applied the exchange rate, so I paid about a 
> 20% premium over the quoted price.  Quite close to a big buck each at the 
> time, which was about 4, maybe 5 years ago now.
> 
> I also bought a few of stepper controllers based on the L298 they have, touch 
> them only with a very long pole, there is no current chopper available for 
> current regulation.
> 
> >Andy
> >
> >Dave Keeton wrote:
> >> This board looks good! I did just buy a new NI DIO 96 board off of EBAY
> >> for 50 bucksIf it does'nt work out I'll check it out. I guess i was
> >> completely wrong about the I/O situation. You all have been a big
> >> helpHow do I go about setting up the drivers for these boards in EMC?
> >> I am not all that familiar with Linux
> >>
> >> Dave
> >>
> >> - Original Message -
> >> From: "Thomas J Powderly" <[EMAIL PROTECTED]>
> >> To: "Enhanced Machine Controller (EMC)" 
> >> Sent: Tuesday, April 29, 2008 12:39 PM
> >> Subject: Re: [Emc-users] Classicladder
> >>
> >>> to Dave Keeton:
> >>> http://www.futurlec.com/PCI8255.shtml
> >>> 79$ US
> >>> 72 i/o points
> >>> pci
> >>> emc2 driver is available, "sorta beta"
> >>> regards
> >>> TomP
> >>>
> >>>
> >>>
> >>> -
> >>> 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/ja
> >>>vaone ___
> >>> 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/jav
> >>aone ___
> >> 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


Re: [Emc-users] 8255 driver

2008-04-29 Thread Gene Heskett
On Wednesday 30 April 2008, Thomas J Powderly wrote:
>Gene,
>pci_8255 is in my cvs emc2 run-in-place installation
>pci_8255.c
>pci_8255.o
>and
>i think the hal_ax5214h.c driver in all emc2 installs is really an 8255
>(the src doesnt say that, so may be wrong)

>From the looks of the link I found on google, it is a ttl ssi version of a 
pair of 8255's, for only 48 bits of I/O.  If that driver can be expanded to 
handle 3 'channels' or 'groups', and can have its I/O addressing made 
compatible with this card, whose I/O addressing IIRC wastes addressing space 
by not making all 3 chips contiguous, then it might work just fine.  Those 
are the gotcha's I recall from when I was playing with it before giving up 
and throwing more money at a xylotex kit with 3 motors.

>tomp
>
Great Thomas.  Is this code you did, or were you able to make the code that 
came on the cd's with the cards actually build on linux?

>in On Tue, 2008-04-29 at 22:56 -0400, Gene Heskett wrote:
>> On Tuesday 29 April 2008, Andrew Ayre wrote:
>> >Wow - 8255s - I didn't know those were still used for commercial
>> > products.
>>
>> Small correction, 82C55's, the cmos versions, so the board doesn't draw
>> much more power than is consumed by any outputs being pulled high.  Each
>> line is limited to about a 2 mill load, but can pull rail to rail both
>> directions.  I had some of them once, sent them someplace that was gonna
>> write a linux driver.  I tried to write one myself, and found I knew very
>> little about 'PC' architecture.  The card contains no bios AFAIK, so its
>> invisible to an lspci listing.
>>
>> Once a linux driver is available, I think they would make a very nice
>> interface for emc's use.  With all 24 lines available on each chip, the
>> i/o expansion possibilities sure beat the usual parport, an architecture
>> originally built from the 8255 decades ago.  IIRC the actual cabling from
>> each chip was on a 34 pin floppy drive sized cable, so each card gave you
>> 3, 34 pin ribbon cables out of a spare slot opening in the back of the
>> case.
>>
>> One thing I ran into was that while that web site below shows prices in
>> USD, they billed my card in AUD and applied the exchange rate, so I paid
>> about a 20% premium over the quoted price.  Quite close to a big buck each
>> at the time, which was about 4, maybe 5 years ago now.
>>
>> I also bought a few of stepper controllers based on the L298 they have,
>> touch them only with a very long pole, there is no current chopper
>> available for current regulation.
>>
>> >Andy
>> >
>> >Dave Keeton wrote:
>> >> This board looks good! I did just buy a new NI DIO 96 board off of EBAY
>> >> for 50 bucksIf it does'nt work out I'll check it out. I guess i was
>> >> completely wrong about the I/O situation. You all have been a big
>> >> helpHow do I go about setting up the drivers for these boards in
>> >> EMC? I am not all that familiar with Linux
>> >>
>> >> Dave
>> >>
>> >> - Original Message -
>> >> From: "Thomas J Powderly" <[EMAIL PROTECTED]>
>> >> To: "Enhanced Machine Controller (EMC)"
>> >>  Sent: Tuesday, April 29, 2008 12:39
>> >> PM
>> >> Subject: Re: [Emc-users] Classicladder
>> >>
>> >>> to Dave Keeton:
>> >>> http://www.futurlec.com/PCI8255.shtml
>> >>> 79$ US
>> >>> 72 i/o points
>> >>> pci
>> >>> emc2 driver is available, "sorta beta"
>> >>> regards
>> >>> TomP
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>>--- 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
>> >>>/ja vaone ___
>> >>> 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/
>> >>jav aone ___
>> >> 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/javao
>ne ___
>Emc-users mailing list
>Emc-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-users



-- 
Cheers, Gene
"There are fou

Re: [Emc-users] 8255 driver

2008-04-29 Thread Stephen Wille Padnos
There are two drivers, one for the AX5214 and one for the Futurlec 
PCI8255 card.
They are called hal_ax5214h and pci_8255, respectively.
The pci_8255 driver has been included with EMC2 since 2.2.0, the ax5214 
driver has been there since before the 2.0.0 release.

For either card, you have to supply the base address to the driver, 
along with a string describing the directions you want the pins to be.

AFAIK, the pci_8255 card has a single chip with the PCI bridge and the 
equivalent of 3 8255 chips in it.

The PCI card should be seen and initialized by the BIOS or Linux.  
Usually there's a BIOS setting for "plug-n-play OS" or similar.  Setting 
this to "no" or "off" makes the BIOS do more initialization than it 
would otherwise do, so even if Linux doesn't know what the card is, it 
should at least have its memory and IO regions set up correctly.  The 
Linux kernel does this pretty well anyway - it'll just list unknown 
cards as "unknown vendor" / "unknown device" or similar, but should 
still set up address regions for those cards.  (I know it does this with 
the Mesa cards, for example)

There are only minor differences between the two drivers, but one or the 
other should work with just about any 8255-based card (or register 
compatible ones) with minor changes.

- Steve

Gene Heskett wrote:

>On Wednesday 30 April 2008, Thomas J Powderly wrote:
>  
>
>>Gene,
>>pci_8255 is in my cvs emc2 run-in-place installation
>>pci_8255.c
>>pci_8255.o
>>and
>>i think the hal_ax5214h.c driver in all emc2 installs is really an 8255
>>(the src doesnt say that, so may be wrong)
>>
>>
>
>>From the looks of the link I found on google, it is a ttl ssi version of a 
>pair of 8255's, for only 48 bits of I/O.  If that driver can be expanded to 
>handle 3 'channels' or 'groups', and can have its I/O addressing made 
>compatible with this card, whose I/O addressing IIRC wastes addressing space 
>by not making all 3 chips contiguous, then it might work just fine.  Those 
>are the gotcha's I recall from when I was playing with it before giving up 
>and throwing more money at a xylotex kit with 3 motors.
>
>  
>
>>tomp
>>
>>
>>
>Great Thomas.  Is this code you did, or were you able to make the code that 
>came on the cd's with the cards actually build on linux?
>
>  
>
>>in On Tue, 2008-04-29 at 22:56 -0400, Gene Heskett wrote:
>>
>>
>>>On Tuesday 29 April 2008, Andrew Ayre wrote:
>>>  
>>>
Wow - 8255s - I didn't know those were still used for commercial
products.


>>>Small correction, 82C55's, the cmos versions, so the board doesn't draw
>>>much more power than is consumed by any outputs being pulled high.  Each
>>>line is limited to about a 2 mill load, but can pull rail to rail both
>>>directions.  I had some of them once, sent them someplace that was gonna
>>>write a linux driver.  I tried to write one myself, and found I knew very
>>>little about 'PC' architecture.  The card contains no bios AFAIK, so its
>>>invisible to an lspci listing.
>>>
>>>Once a linux driver is available, I think they would make a very nice
>>>interface for emc's use.  With all 24 lines available on each chip, the
>>>i/o expansion possibilities sure beat the usual parport, an architecture
>>>originally built from the 8255 decades ago.  IIRC the actual cabling from
>>>each chip was on a 34 pin floppy drive sized cable, so each card gave you
>>>3, 34 pin ribbon cables out of a spare slot opening in the back of the
>>>case.
>>>
>>>One thing I ran into was that while that web site below shows prices in
>>>USD, they billed my card in AUD and applied the exchange rate, so I paid
>>>about a 20% premium over the quoted price.  Quite close to a big buck each
>>>at the time, which was about 4, maybe 5 years ago now.
>>>
>>>I also bought a few of stepper controllers based on the L298 they have,
>>>touch them only with a very long pole, there is no current chopper
>>>available for current regulation.
>>>
>>>  
>>>
Andy

Dave Keeton wrote:


>This board looks good! I did just buy a new NI DIO 96 board off of EBAY
>for 50 bucksIf it does'nt work out I'll check it out. I guess i was
>completely wrong about the I/O situation. You all have been a big
>helpHow do I go about setting up the drivers for these boards in
>EMC? I am not all that familiar with Linux
>
>Dave
>
>- Original Message -
>From: "Thomas J Powderly" <[EMAIL PROTECTED]>
>To: "Enhanced Machine Controller (EMC)"
> Sent: Tuesday, April 29, 2008 12:39
>PM
>Subject: Re: [Emc-users] Classicladder
>
>  
>
>>to Dave Keeton:
>>http://www.futurlec.com/PCI8255.shtml
>>79$ US
>>72 i/o points
>>pci
>>emc2 driver is available, "sorta beta"
>>regards
>>TomP
>>
>>
>>
>>--
>>--- This SF.net email is sponsored by the 2008 JavaOne(SM) 

Re: [Emc-users] 8255 driver

2008-04-29 Thread Gene Heskett
On Wednesday 30 April 2008, Stephen Wille Padnos wrote:
>There are two drivers, one for the AX5214 and one for the Futurlec
>PCI8255 card.
>They are called hal_ax5214h and pci_8255, respectively.
>The pci_8255 driver has been included with EMC2 since 2.2.0, the ax5214
>driver has been there since before the 2.0.0 release.

TBT Steve, I no longer have the cards, so I never looked.  My bad.

>For either card, you have to supply the base address to the driver,
>along with a string describing the directions you want the pins to be.
>
>AFAIK, the pci_8255 card has a single chip with the PCI bridge and the
>equivalent of 3 8255 chips in it.
>
>The PCI card should be seen and initialized by the BIOS or Linux.
>Usually there's a BIOS setting for "plug-n-play OS" or similar.  Setting
>this to "no" or "off" makes the BIOS do more initialization than it
>would otherwise do, so even if Linux doesn't know what the card is, it
>should at least have its memory and IO regions set up correctly.

I wasn't aware that it could be turned off and still boot.  I'll have to check 
that on my box next week, thanks.

>The 
>Linux kernel does this pretty well anyway - it'll just list unknown
>cards as "unknown vendor" / "unknown device" or similar, but should
>still set up address regions for those cards.  (I know it does this with
>the Mesa cards, for example)

At the time, booting bdi-4.3something, there was zero mention of any such 
devices in the dmesg or lspci outputs.  Completely invisible until you found 
its magic address and tickled it.

The cards I had, were a slightly earlier version that had the 82c55 chips 
mounted vertically, with the 34 pin headers also vertical, and all the cables 
could be simply taken directly out a missing card cover opening on the back.  
Now the 34 pin headers are along the top edge of the card & must be folded to 
point them out of the back of the box.  Much messier IMO.  If you poke around 
on that site, there is a pix of the cards I had, but the link to the full 
page then has the newer card in its pix.

>There are only minor differences between the two drivers, but one or the
>other should work with just about any 8255-based card (or register
>compatible ones) with minor changes.
>
>- Steve

Thanks Steve, here I had thought this card had fallen off the table and been 
swept up with the garbage.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
"There was a point to this story, but it has temporarily 
escaped the chronicler's mind." 

- This line perhaps best sums up the whole book. 

-
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


[Emc-users] EMC2 on Ubuntu Hardy 8.04

2008-04-29 Thread Colin MacKenzie
ok, forgot my last message...I managed to get the rtapi module to load.
I finally found the right spot to add the mcmodel=kernel option and emc
gets past the rtapi loading.

Then 'motmod' module gave me trouble. It said the following symbols are
undefined: cos, sin, atan2, acos. I had to go back into RTAI 'make
menuconfig' and enable the 'Math fun support'...I assume that is a type
for Math func support or something. I also had to
edit /usr/local/etc/emc2/rtapi.conf and specify the location of the new
rtai_math.ko module that was build as the location was blank in this
config file.

Finally, I have emc2 axis up and running on Ubuntu Hardy. I got some
realtime delay warnings...I think this may be because my machine is
turned off perhaps. Its late and I need to hit the sack.

Later. :)

Colin


-
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


[Emc-users] Blog Posting - Configuring EMC2 for Steppers

2008-04-29 Thread Andrew Ayre
I just posted a blog entry on how I configured EMC2 for my three stepper 
CNC machine. OK, it's the most basic configuration, and I picked a 
specific situation (200 steps per rev motors, 1/4 microstepping), but I 
hope it will be useful to someone else as a starting point.

http://www.britishideas.com/2008/04/29/configuring-emc2-for-three-axis-stepper-motor-control/

Andy

-- 
Andy
PGP Key ID: 0xDC1B5864

-
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