Re: [Emc-users] dahlih

2008-12-06 Thread Jon Elson
Stuart Stevenson wrote:
> good idea Jon
> I will try that
> although the program doesn't just move to the end of the g2 line - it
> skips the g2 line completely and move directly to the end of the g1
> line that follows the g2 line
>   
OK, now that you point that out, I see what you mean.  Still, making arc 
moves in a plane other than the selected plane SHOULD flag an error, so 
bad behavior of the smoothing or something might be expected if wrong 
G-code was allowed through the interpreter.  (Wrong in the sense that it 
is asking for arc moves not in the selected plane.)  Since your G-code 
sample doesn't set the arc plane, that was the only thing I could 
imagine fouling things up.  And, it would be revealing a bug, as that 
condition should get an error message.  If you do get a message when you 
try it, then it would indicate that the wrong arc plane was NOT set by 
mistake or left over by a previous program, and then we have to look 
elsewhere, for a hard to reproduce problem.  Just love searching for those!

Jon

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Logitech Gamepad

2008-12-06 Thread Stephen Wille Padnos
Len Shelton wrote:

>I followed that tutorial exactly. In fact, the way I got it to work was to
>swap out the hal_input line with the hal_joystick line from:
>http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?HereIsHowToCheck
>
>...and to rename the hal pins appropriately.
>
>Hal joystick works fine, but hal_input does not. 
>
Could you either tell us exactly what you used to try to load hal_input, 
or post a log of what you did (in a terminal I presume) on 
http://pastebin.ca ?

>I put EMC into debug mode
>to watch what was happening, and it could not find the device by parsing the
>lines that hal_input is supposed to be parsing.
>  
>
Uh, what exactly do you mean by "put EMC into debug mode"?  There are 
several debugging facilities, so it's hard to tell which one(s) you mean :)

Also, what version of EMC2, and what version of Ubuntu do you have?

You should do testing with a halcmd prompt and maybe a short test.hal 
file (you can easily use halrun to start up the realtime system and take 
it down when you're done, just use "halrun -I " or "halrun -I 
yourtestfile.hal")

You can use the program "script" to log what you do at the command line 
and the output from any programs you run.  "script filename" will save a 
log of everything you do to "filename" until you type "exit".

- Steve


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Logitech Gamepad

2008-12-06 Thread Len Shelton
I followed that tutorial exactly. In fact, the way I got it to work was to
swap out the hal_input line with the hal_joystick line from:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?HereIsHowToCheck

...and to rename the hal pins appropriately.

Hal joystick works fine, but hal_input does not. I put EMC into debug mode
to watch what was happening, and it could not find the device by parsing the
lines that hal_input is supposed to be parsing.

>Len



-Original Message-
From: John Thornton [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 06, 2008 6:42 PM
To: Enhanced Machine Controller EEMC"
Subject: Re: [Emc-users] Logitech Gamepad

I use the game pad and wrote an article on the steps I used to get it up and
running here.

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

What did you add to your .hal file use the gamepad? and which file did you
add it to?

John

On 6 Dec 2008 at 7:51, Len Shelton wrote:

> I have installed a Logitech Gamepad on my machine recently. I could
> not get
> EMC to recognize it using hal_input, but it works fine using
> hal_joystick.
> The error was that it could not find "Dual" even though I confirmed
> it was
> initializing as "Logitech Logitech Dual Action". I also tried
> using
> "Action", the product id, and the Phys string, but it would never
> locate it.
> Any ideas?
> 
>  
> 
> >Len
> 
> 
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to
> help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visit
> mix.com/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 




--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Logitech Gamepad

2008-12-06 Thread Andrew Ayre
This looks interesting. Does it have to be that specific Logitech 
gamepad or will a generic XBox (original) gamepad work?

Andy

John Thornton wrote:
> I use the game pad and wrote an article on the steps I used to get it up and 
> running here.
> 
> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant
> 
> What did you add to your .hal file use the gamepad? and which file did you 
> add it to?
> 
> John

-- 
Andy
PGP Key ID: 0xDC1B5864

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Logitech Gamepad

2008-12-06 Thread John Thornton
I use the game pad and wrote an article on the steps I used to get it up and 
running here.

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

What did you add to your .hal file use the gamepad? and which file did you add 
it to?

John

On 6 Dec 2008 at 7:51, Len Shelton wrote:

> I have installed a Logitech Gamepad on my machine recently. I could
> not get
> EMC to recognize it using hal_input, but it works fine using
> hal_joystick.
> The error was that it could not find "Dual" even though I confirmed
> it was
> initializing as "Logitech Logitech Dual Action". I also tried
> using
> "Action", the product id, and the Phys string, but it would never
> locate it.
> Any ideas?
> 
>  
> 
> >Len
> 
> 
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to
> help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visit
> mix.com/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] dahlih

2008-12-06 Thread Matt Shaver
On Sat, 2008-12-06 at 08:34 -0600, Stuart Stevenson wrote:
> Let me know what {and how :) }to do this.

Maybe start EMC from a terminal:

$ emc 1>1.txt 2>2.txt

This should redirect stdout and stderr to files. You can later look at
them in an editor, or view them as they are created in another terminal
with:

$ tail -f 1.txt

or

$ $ tail -f 2.txt

Hope you find out what's going on!

Thanks,
Matt



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ethernet, rtai, and rtnet

2008-12-06 Thread Jon Elson
Rafael Skodlar wrote:
> You seem to like low cost stuff as quoted later but I doubt that you'll
> find that together with Ethernet/CNC controllers.
>
>   
NXP, Atmel and a bunch of other outfits have $12 - 15 chips that have an 
ARM7 CPU and a 10/100 Ethernet port on one chip, with additional I/O.
I make a line of parallel port-controlled motion interfaces.  The driver 
currently (with a big thanks to John Kasunich!) almost builds a packet 
and interrogates the board, and then sends back a packet of commands.  
The architecture is half way there to doing this like you would over 
networking hardware.  I think I could make a $50 "converter" that goes 
between the ethernet and the existing parallel port to control one or 
more of my boards.
Later I could get rid of the parallel interface and go with just the 
Ethernet.
>
>
> How do they coexist with parallel port or Mesa card for example?
>   
The various devices are SEPARATE hardware, and therefore can be isolated.
If all the SATA ports on a motherboard are on ONE chip, it may be 
impossible to isolate them.
SATA is not intended for network-like communications, and is meant for 
very short runs.  Ethernet has the VERY important feature of full 
electrical isolation, which should be quite helpful in making reliable 
systems.

Jon

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] dahlih

2008-12-06 Thread Stuart Stevenson
good idea Jon
I will try that
although the program doesn't just move to the end of the g2 line - it
skips the g2 line completely and move directly to the end of the g1
line that follows the g2 line


On Sat, Dec 6, 2008 at 12:32 PM, Jon Elson <[EMAIL PROTECTED]> wrote:
> Stuart Stevenson wrote:
>> when the machine enters this state it will repeat the incorrect behavior
>>
>>
> Maybe you need to find out what programs and operating steps your
> operator was doing before the problem happened.  Perhaps running the
> same programs in sequence will cause it to get in the same state.  I'm
> thinking some sequence of modal commands has got something set in a
> really wierd way.  I can't think of any logical modal settings that
> would do this.  Oh, wait a minute!  What about the arc plane?  What
> would EMC do if you set the arc plane to something OTHER than XY and
> then give a G02 move with XYIJ words?  Is that an error condition, or
> does it blithely move to the commanded XY end position, but with no arc,
> as the arc is going to be performed in, say, the XZ plane?  I don't see
> any G17, G18 or G19 in junk.txt to set the arc plane to a known state.
> Could be easy to enter the wrong one by accident in MDI.
>
> Well, there are only 3 arc planes to run the code in, might be worth a
> try in the two non-XY planes to see what it does.
>
> Jon
>
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] graphiteone

2008-12-06 Thread [EMAIL PROTECTED]
There used to be nice videos showing use of graphite one.
Does anyone know where I can find them again?
Or does anyone have a user manual I can get.

thanks.



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] dahlih

2008-12-06 Thread Jon Elson
Stuart Stevenson wrote:
> when the machine enters this state it will repeat the incorrect behavior
>
>   
Maybe you need to find out what programs and operating steps your 
operator was doing before the problem happened.  Perhaps running the 
same programs in sequence will cause it to get in the same state.  I'm 
thinking some sequence of modal commands has got something set in a 
really wierd way.  I can't think of any logical modal settings that 
would do this.  Oh, wait a minute!  What about the arc plane?  What 
would EMC do if you set the arc plane to something OTHER than XY and 
then give a G02 move with XYIJ words?  Is that an error condition, or 
does it blithely move to the commanded XY end position, but with no arc, 
as the arc is going to be performed in, say, the XZ plane?  I don't see 
any G17, G18 or G19 in junk.txt to set the arc plane to a known state.  
Could be easy to enter the wrong one by accident in MDI.

Well, there are only 3 arc planes to run the code in, might be worth a 
try in the two non-XY planes to see what it does.

Jon

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample, and same error than using EMC 2.2.6 + 7i43 + Ted's sample.... What now?

2008-12-06 Thread Peter C. Wallace

On Sat, 6 Dec 2008, Richard Acosta wrote:


Date: Sat, 06 Dec 2008 15:12:32 -0200
From: Richard Acosta <[EMAIL PROTECTED]>
Reply-To: "Enhanced Machine Controller (EMC)"

To: "Enhanced Machine Controller (EMC)" 
Subject: Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample,
and same error than using EMC 2.2.6 + 7i43 + Ted's sample What now?

i'l'l try the lights when at home and tell the exact order.
The port is an onboard port in a via mainboard


Can you also tell me the motherboard type and cable length?

I'm chasing some timing/ noise problems in the FPGA and CPLD code
and duplicating your setup would be helpful here





El 06/12/08 13:02, Peter C. Wallace escribió:

On Sat, 6 Dec 2008, Richard Acosta wrote:


Date: Sat, 06 Dec 2008 03:14:13 -0200
From: Richard Acosta <[EMAIL PROTECTED]>
Reply-To: "Enhanced Machine Controller (EMC)"

To: "Enhanced Machine Controller (EMC)"

Subject: Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample,
and same error than using EMC 2.2.6 + 7i43 + Ted's sample
What now?

El 05/12/2008 07:35 p.m., Peter C. Wallace escribió:

On Fri, 5 Dec 2008, Richard Acosta wrote:
This may also indicate a inability to communicate with the card.

1. Is the card jumpered for EPP (W4 and W5 both in the 'down' position)


Yes.

2. Is the card powered properly (all three status LEDS = RED RED
YELLOW)
Should be on at power-up


Yes,

3. Is your parallel port set for EPP 1.9 mode?


Yes,

4. What kind of parallel cable do you have? We have done all of our
testing
with Flat cable.


Flat cable, when starting EMC2 lights flash an ready goes on after about
1 or 2sec



Ready?

What lights change?

There are three status lights on the 7I43: /DONE /INIT (both red) and
POWER (Yellow)


Also what type of parallel port do you have, Motherboard or PCI add-on?






--

SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
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.


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
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.
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample, and same error than using EMC 2.2.6 + 7i43 + Ted's sample.... What now?

2008-12-06 Thread Richard Acosta
i'l'l try the lights when at home and tell the exact order.
The port is an onboard port in a via mainboard

El 06/12/08 13:02, Peter C. Wallace escribió:
> On Sat, 6 Dec 2008, Richard Acosta wrote:
>
>> Date: Sat, 06 Dec 2008 03:14:13 -0200
>> From: Richard Acosta <[EMAIL PROTECTED]>
>> Reply-To: "Enhanced Machine Controller (EMC)"
>> 
>> To: "Enhanced Machine Controller (EMC)" 
>> 
>> Subject: Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample,
>> and same error than using EMC 2.2.6 + 7i43 + Ted's sample 
>> What now?
>>
>> El 05/12/2008 07:35 p.m., Peter C. Wallace escribió:
>>> On Fri, 5 Dec 2008, Richard Acosta wrote:
>>> This may also indicate a inability to communicate with the card.
>>>
>>> 1. Is the card jumpered for EPP (W4 and W5 both in the 'down' position)
>>>
>> Yes.
>>> 2. Is the card powered properly (all three status LEDS = RED RED 
>>> YELLOW)
>>> Should be on at power-up
>>>
>> Yes,
>>> 3. Is your parallel port set for EPP 1.9 mode?
>>>
>> Yes,
>>> 4. What kind of parallel cable do you have? We have done all of our 
>>> testing
>>> with Flat cable.
>>>
>> Flat cable, when starting EMC2 lights flash an ready goes on after about
>> 1 or 2sec
>>
>
> Ready?
>
> What lights change?
>
> There are three status lights on the 7I43: /DONE /INIT (both red) and 
> POWER (Yellow)
>
>
> Also what type of parallel port do you have, Motherboard or PCI add-on?
>
>
>
>
>>
>> --
>>  
>>
>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, 
>> Nevada.
>> The future of the web can't happen without you.  Join us at MIX09 to 
>> help
>> pave the way to the Next Web now. Learn more and register at
>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ 
>>
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> 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.
> 
>
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> 
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>   

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Logitech Gamepad

2008-12-06 Thread Len Shelton
I have not tried any other devices with hal_input, but I did carefully read,
understand, and implement the UDEV rule set. I even chmodded 777 the rule
set file to make sure it was readable.

>Len



-Original Message-
From: Jeff Epler [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 06, 2008 9:39 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Logitech Gamepad

Have you successfully used any devices with hal_input?  If not, then
carefully read the section "PERMISSIONS AND UDEV" in the hal_input
manpage, and craft an appropriate rule for your device.

Jeff


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Logitech Gamepad

2008-12-06 Thread Jeff Epler
Have you successfully used any devices with hal_input?  If not, then
carefully read the section "PERMISSIONS AND UDEV" in the hal_input
manpage, and craft an appropriate rule for your device.

Jeff

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample, and same error than using EMC 2.2.6 + 7i43 + Ted's sample.... What now?

2008-12-06 Thread Peter C. Wallace

On Sat, 6 Dec 2008, Richard Acosta wrote:


Date: Sat, 06 Dec 2008 03:14:13 -0200
From: Richard Acosta <[EMAIL PROTECTED]>
Reply-To: "Enhanced Machine Controller (EMC)"

To: "Enhanced Machine Controller (EMC)" 
Subject: Re: [Emc-users] EMC 2.2.7 + 7i43 + Ted's sample,
and same error than using EMC 2.2.6 + 7i43 + Ted's sample What now?

El 05/12/2008 07:35 p.m., Peter C. Wallace escribió:

On Fri, 5 Dec 2008, Richard Acosta wrote:
This may also indicate a inability to communicate with the card.

1. Is the card jumpered for EPP (W4 and W5 both in the 'down' position)


Yes.

2. Is the card powered properly (all three status LEDS = RED RED YELLOW)
Should be on at power-up


Yes,

3. Is your parallel port set for EPP 1.9 mode?


Yes,

4. What kind of parallel cable do you have? We have done all of our testing
with Flat cable.


Flat cable, when starting EMC2 lights flash an ready goes on after about
1 or 2sec



Ready?

What lights change?

There are three status lights on the 7I43: /DONE /INIT (both red) and POWER 
(Yellow)



Also what type of parallel port do you have, Motherboard or PCI add-on?






--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
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.
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] dahlih

2008-12-06 Thread Stuart Stevenson
Gentlemen,
   Now would be the time to set the debug level where we want it. We
should be able to send the output to a log file, create a cron job to
(maybe tar and ) purge the log file and capture all events until the
next occurence. Hopefully the next occurence will 'occur' soon.
   Let me know what {and how :) }to do this.
thanks
Stuart

On Sat, Dec 6, 2008 at 2:42 AM, Alex Joni <[EMAIL PROTECTED]> wrote:
>> If it ever happens again, crank up the debug level and run it again.  It
>> would be good to know if the arcs don't get sent or if they just don't
>> get executed.
>>
>
> Also, in order for that to bring a usefull result, please remember to run
> emc2 from a terminal
> (I think even if you run it from a shortcut/launcher, you can tell it to run
> in a terminal).
> Otherwise the debug messages end up nowhere.
>
> Regards,
> Alex
>
>
> --
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Logitech Gamepad

2008-12-06 Thread Len Shelton
I have installed a Logitech Gamepad on my machine recently. I could not get
EMC to recognize it using hal_input, but it works fine using hal_joystick.
The error was that it could not find "Dual" even though I confirmed it was
initializing as "Logitech Logitech Dual Action". I also tried using
"Action", the product id, and the Phys string, but it would never locate it.
Any ideas?

 

>Len

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ethernet, rtai, and rtnet

2008-12-06 Thread Marc Bodmer

> So does SAS and now SATA. The distances are not the same by default but
> could be extended when needed. You and Marc Bodmer both talk about
> expensive Ethernet industrial controllers. Who's going to buy "3/6 Axis
> DC Servo controller (~900Eur)" for hobby or small shop use?
> 
> It would be way less expensive to buy DIO, ADC, or DAC PCI card with
> small PC box next to the CNC machine when PP is not available anymore.
> 
> I thought that EMC is mainly for small installations with an occasional
> large one. When you start talking about PLCs, SERCOS PCI-Board, etc.
> that's another ball game. Nothing against it, just that a lot of people
> will be left out.
> 

I did not mean everybody should just go and buy those not so inexpensive
900Euro Axis controllers. Just wanted to show that there acutally
exist some devices. And compared to the really expensive industrial
devices this is actually not so much. I agree it's too much for hobby
use, I would only buy it if there is no alternative. But neverthless
it's an interesting device.

More interesting than this 900Euro thing are the bus connection chips
and controllers i have in my list. And they are actually not so
expensive. This would allow to do some interesting and inexpensive
stuff.

I am not starting to talk about PLC. EMC does a good job in taking over
this part. Even in industry plcs are disappearing more and more. Their
job is taken over by SoftPLCs on the CNC PC - same as with EMC long ago.

Most DIO/DAC/ADC PCI boards I know are way more expensive or at least
not cheaper than those 900Euro, and then you still have no power stage
and motor control yet.

Both of these Buses can be driven by Software Masters. This means you
can use any standard Ethernet controllers on the host as with RTNET.
And there even exist Opensource Masters for EtherCAT. So you don't
need PCI Boards. Since Ethernet controllers are in EVERY mainboard
nowadays this is the same situation as with SATA. Many even have
2 controllers onboard. There is no additional HW on the host pc side.

The SATA idea is an interesting one. I think it's just not very
practical. And it is really impossible to buy anything anywhere.








--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ethernet, rtai, and rtnet

2008-12-06 Thread Alex Joni

> There is no such thing as "Linux driver." Call it GNU/Linux RT driver
> for Ethernet interface or whatever. That too needs to be isolated from
> the regular Ethernet driver as you would need to isolate SATA-CNC driver
> from the default SATA driver.

Before making such statements, please read up on the way things are done in 
emc2 (and any other RTAI application that uses hardware access).
Once a patched kernel exists there are basicly 2 different domains running 
on the same PC (the RTAI RT domain, and the linux domain).
All linux drivers are available only to the linux domain.
The emc2 code runs inside the RTAI domain, and has _no_ access to any linux 
drivers.
That said, any hardware you want to support from emc2 needs special drivers 
that use only RTAI system calls. Such a driver exists for some ethernet 
cards (check RTNet), for serial ports (rtserial), for parport (a few 
actually, emc2 has one), for special hardware (check COMEDI and emc2 
drivers).
The fact that there is a RTAI driver for a piece of hardware doesn't mean 
that we can use it directly in emc2, but it means such a driver can be 
written to run in RT context (that means we can probably use it from emc2).
The issues I see with SATA:
* there is usually only one controller on the motherboard. that means you 
would need to access it from 2 different domains (to separate one port for 
RT). That will surely lead to problems, as the RTAI domain has higher 
priority and can preempt the linux domain at any time. The SATA/whatever 
controllers have some setup procedures before you can actually send/receive 
data from a certain port, so 2 domains will probably lead to problems. This 
can be fixed by using a separate SATA controller board, but that is way more 
expensive than an addon ethernet card. (remember the thread started because 
of people looking for alternatives for the cheap parport... people willing 
to invest modest amount of money already have enough solutions).
*

>> At the other end of the wire, you need an FPGA or embedded controller
>> with an Ethernet interface.  Such things are much easier to find than
>> the same thing with an SATA interface.
>
> You seem to like low cost stuff as quoted later but I doubt that you'll
> find that together with Ethernet/CNC controllers.

That is the whole point of the thread. Some people are actually trying to 
build a device connected through Ethernet to emc2.
It won't be a ethernet CNC controller, but part of it. emc2 will still do 
more than enough, but the ethernet gizmo will do the actual data 
output/input. (be it step/dir or pwm+encoders or whatever).

>>
>>> Case 2, SATA-CNC:
>>> Implementation requires motherboard/Linux drivers combo with SATA
>>> (always available), SATA/CNC adapter, and SATA-CNC driver.
>>
>> And a realtime SATA driver.  And some way to keep the Linux driver from
>> interfering with the realtime driver.  Linux drivers are NOT realtime.
>>
>
> Not all Linux drivers are RT of course. I never claimed that.

Read above, "linux drivers are useless for emc2".
NO linux driver is a RT driver.

> That all depends on the driver. What's currently preventing SATA from
> interrupting parallel port? RT scheduler. That's all.

They don't talk to the same piece of hardware. The SATA driver runs in the 
linux domain, so when RT executes there is no way for the SATA driver to 
run.


>>> There is almost always a spare (S)ATA port on the motherboard, but only
>>> one Ethernet port which would better be used for default network
>>> connections.
>>
>> It is extremely unlikely that a Linux driver for the filesystem and a
>> realtime driver for the CNC will be able to coexist on SATA.
>>
>
> How do they coexist with parallel port or Mesa card for example?

Let me rephrase that:
It is extremely unlikely that a Linux driver for the SATA controller and a 
realtime driver for the CNC will be able to work on the same SATA controller 
chip.

> You mix file systems with interface driver. SATA drivers do not deal
> with file systems directly. They send bytes of commands, status, and
> data back and forth. You can format (S)ATA drives any way you want.
>
> What you forget is that drives are mechanical devices which could be
> controlled real time with appropriate driver. Tape drive that changes
> tape cartridges, connected to SATA bus, is much closer to a CNC machine
> than any Ethernet card ever was.
>
>> An ethernet card is slightly cheaper than dirt.  Newegg has 35 cards
>> under $25, and 9 that are under $10.
>>
>
> This is immaterial for this discussion. SATA is included in basic MB
> price so it's cheaper than any Ethernet.
>

Only if you can manage to access it from both RTAI and linux at the same 
time without problems.


> SATA was specifically designed to work with drives outside of the box
> like SCSI does. The amount of data depends on programs and drivers just
> like it does for Ethernet.

that may be, but the point you are (probably willingly) overlooking is 
"industrial environment

Re: [Emc-users] dahlih

2008-12-06 Thread Alex Joni
> If it ever happens again, crank up the debug level and run it again.  It
> would be good to know if the arcs don't get sent or if they just don't
> get executed.
>

Also, in order for that to bring a usefull result, please remember to run 
emc2 from a terminal
(I think even if you run it from a shortcut/launcher, you can tell it to run 
in a terminal).
Otherwise the debug messages end up nowhere.

Regards,
Alex


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users