[Emc-users] Problem with RTAI on Ubuntu 8.04 HH and new EMC2 2.2.7

2008-11-14 Thread Roberto Caminiti
Hi everybody,
I have installed on my PC the Ubuntu 8.04 HH with EMC2 from the live
cd from linuxcnc.org.
After, i have updated my system to EMC 2.2.7 with the ubuntu update
manager, so I have updated
EMC2 and other 227 files (from critical update and other applications...).

Now when I try to load EMC2 with sim configuration (but it happens
with any configuration),
the rtai doesn't be loaded with the following error:

insmod: error inserting
'/usr/realtime-2.6.24-16-rtai/modules/rtai_hal.ko' -1 File exists
4891

PID TTYSTAT TIME   COMMAND
Stopping realtime threads
Unloading hal components
ERROR: Module rtai_math does not exists in /proc/modules
ERROR: Module rtai_sched does not exists in /proc/modules
ERROR: Module rtai_hal is in use by rtai_lxrt

I don't know how it's possible, i have tryied to reboot the pc but nothing...
I think that other applications use this rtai_lxrt but who is this???

Thank you!
BYEEE

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


Re: [Emc-users] Syncing an EMC program to other CNC system

2008-11-14 Thread John Thornton
On 13 Nov 2008 at 23:04, Jon Elson wrote:

 John Thornton wrote:
  Jon, do you have what you did on wiki or anyplace like that where I 
  can see what you did?
 
 OK, in the .ini file, I added this one line to the [HAL] section :
 HALUI =halui
 
 and then, in my univpwm_io.hal file, I added this :
 
 # hook up is.paused and resume to halui
 newsig ispaused bit
 newsig resume bit
 linksp ispaused = halui.program.is-paused
 linksp ispaused = ppmc.0.dout.05.out
 
 linksp resume  = ppmc.0.din.03.in
 linksp resume  = halui.program.resume
 
 That's all it took.  halui.program.is-paused goes true when the M00 is 
 executed, turning on SSR5 on my universal PWM controller board.
 When an unused digital input (dig in 3) is made a closed connection, it 
 sends true to halui.program.resume, and the g-code program resumes from 
 the M00 program stop.  To actually use this, you'd need to establish 
 some timings, so that the resume signal was always shorter than any 
 program could ever run, and that the other machine control would not 
 send the resume and see immediately that paused was set and assume that 
 EMC had already moved to the next position.  My customer will have to 
 work out these timings on his actual CNC control, in this case a Haas 
 mini-mill.
 
 Jon
 

Thanks for the info Jon.

John

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


Re: [Emc-users] Problem with RTAI on Ubuntu 8.04 HH and new EMC2 2.2.7

2008-11-14 Thread Jeff Epler
Please show us the list of kernel modules that are loaded immediately
after you log in but before you run emc.

You can do this by opening Applications  Accessories  Terminal, then
typing dmesg, then by pasting the result into your reply.  The *top*
lines are probably going to be the important ones, but there shouldn't
be so many that you can't include them all.

Jeff

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


Re: [Emc-users] EMC2 hal var ini files

2008-11-14 Thread BRIAN GLACKIN
When I first looked for the stepconf file, I always drilled down into the
folder itcreated thinking the inside it. I therefore thought I had a problem
because I could not find that file.  I only to noticed later (after numerous
searches) that it was right in the top directory at the same level as the
named folders.

On Thu, Nov 13, 2008 at 5:36 PM, Dave Houghton
[EMAIL PROTECTED]wrote:



 -Original Message-
 From: Michael Buesch [mailto:[EMAIL PROTECTED]
 Sent: 13 November 2008 11:51 PM
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] EMC2 hal var ini files

 On Thursday 13 November 2008 22:46:24 John Thornton wrote:
  On 13 Nov 2008 at 22:59, Dave Houghton wrote:
 
   Hello Everyone
  
  
  
   In my configs  folder I have another folder named Smill, Smill is the
 name I
   gave to my milling machine.
  
   In the Smill folder I have the Smill.ini   .hal  .var  etc files, also
 there
   is one named Smill.stepconf.
  
   Is this the file used by the Stepconf wizard, and should I keep a copy?
  
   Thank you
  
   Dave
  
 
  Yes.

 Note that it will overwite the .hal .ini files, if you re-run stepconf.

 --
 Greetings Michael.

 Thanks Michael
 Dave

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


Re: [Emc-users] Problem with RTAI on Ubuntu 8.04 HH and new EMC2 2.2.7

2008-11-14 Thread Eric H. Johnson
Roberto,

I suspect what is happening is that the real time kernel is not the default
kernel and the errors you are seeing are a consequence of not having a real
time kernel loaded. You can select the kernel on boot, on some systems you
may need to hit escape while grub is loading in order to select the kernel.
The real time kernels will have 'rtai' in the name.

To permanently change the default kernel, edit the file /boot/grub/menu.lst.

I don't know why this has changed for HH, as far as what becomes the default
kernel, but this question will continue to get asked until that is changed.

Regards,
Eric

I have installed on my PC the Ubuntu 8.04 HH with EMC2 from the live cd from
linuxcnc.org.
After, i have updated my system to EMC 2.2.7 with the ubuntu update manager,
so I have updated
EMC2 and other 227 files (from critical update and other applications...).

Now when I try to load EMC2 with sim configuration (but it happens with any
configuration), the rtai doesn't be loaded with the following error:

insmod: error inserting
'/usr/realtime-2.6.24-16-rtai/modules/rtai_hal.ko' -1 File exists
4891

PID TTYSTAT TIME   COMMAND
Stopping realtime threads
Unloading hal components
ERROR: Module rtai_math does not exists in /proc/modules
ERROR: Module rtai_sched does not exists in /proc/modules
ERROR: Module rtai_hal is in use by rtai_lxrt

I don't know how it's possible, i have tryied to reboot the pc but
nothing...
I think that other applications use this rtai_lxrt but who is this???


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


[Emc-users] question about taig 3000 setup

2008-11-14 Thread Thomas L Marshall
Hi all,

Does anyone have a Taig DSLS 3000 configuration they can share?  I can
turn it on and get some simple motion but I don't think I know enough
about the Taig details to complete the stepconf setup.

Thanks in advance.

Tom Marshall


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


Re: [Emc-users] question about taig 3000 setup

2008-11-14 Thread Dave Houghton


-Original Message-
From: Thomas L Marshall [mailto:[EMAIL PROTECTED] 
Sent: 14 November 2008 10:08 PM
To: Enhanced Machine Controller (EMC)
Subject: [Emc-users] question about taig 3000 setup

Hi all,

Does anyone have a Taig DSLS 3000 configuration they can share?  I can
turn it on and get some simple motion but I don't think I know enough
about the Taig details to complete the stepconf setup.

Thanks in advance.

Tom Marshall


Hello Tom

Try this link it might help
http://www.jeffree.co.uk/pages/taigcncpt2.htm

Regards
Dave


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


Re: [Emc-users] question about taig 3000 setup

2008-11-14 Thread Dave Houghton


-Original Message-
From: Thomas L Marshall [mailto:[EMAIL PROTECTED] 
Sent: 14 November 2008 10:08 PM
To: Enhanced Machine Controller (EMC)
Subject: [Emc-users] question about taig 3000 setup

Hi all,

Does anyone have a Taig DSLS 3000 configuration they can share?  I can
turn it on and get some simple motion but I don't think I know enough
about the Taig details to complete the stepconf setup.

Thanks in advance.

Tom Marshall

Tom

This site, I'm sure will be able to help:
http://www.microproto.com/

Dave


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


Re: [Emc-users] Problem with RTAI on Ubuntu 8.04 HH and new EMC2 2.2.7

2008-11-14 Thread Alex Hunt
Roberto,

I have experienced this same issue with 8.04 installed from the live CD -
but it is occurring on EMC 2.2.6.  I haven't allowed the upgrade to 2.2.7 to
occur, but I did install all the critical  other apps.

I have found a work around - load EMC2 again!  I only get the rtai_hal.ko
file exists error the first time I try to run EMC after a reboot.  If I shut
it down and start it again, it loads.

Here are the error messages I see after a reboot:
http://pastebin.com/m12dbb0b6
Here is the dmesg list after a reboot:  http://pastebin.com/m23c28ffb
Here is the dmesg list after I load EMC, let it fail, close and re-open:
http://pastebin.com/m71e7e99b
(I'm still working on the unexpected real time delay on task 1)

I hope that is helpful.  I didn't report it before because I am very new to
EMC and I thought I was doing something wrong.

Oh, another random bit of information - this error also happens if I try to
load emc-trunk using run-in-place.

Alex


On Fri, Nov 14, 2008 at 9:58 AM, Eric H. Johnson [EMAIL PROTECTED]wrote:

 Roberto,

 I suspect what is happening is that the real time kernel is not the default
 kernel and the errors you are seeing are a consequence of not having a real
 time kernel loaded. You can select the kernel on boot, on some systems you
 may need to hit escape while grub is loading in order to select the kernel.
 The real time kernels will have 'rtai' in the name.

 To permanently change the default kernel, edit the file
 /boot/grub/menu.lst.

 I don't know why this has changed for HH, as far as what becomes the
 default
 kernel, but this question will continue to get asked until that is changed.

 Regards,
 Eric

 I have installed on my PC the Ubuntu 8.04 HH with EMC2 from the live cd
 from
 linuxcnc.org.
 After, i have updated my system to EMC 2.2.7 with the ubuntu update
 manager,
 so I have updated
 EMC2 and other 227 files (from critical update and other applications...).

 Now when I try to load EMC2 with sim configuration (but it happens with any
 configuration), the rtai doesn't be loaded with the following error:

 insmod: error inserting
 '/usr/realtime-2.6.24-16-rtai/modules/rtai_hal.ko' -1 File exists
 4891

 PID TTYSTAT TIME   COMMAND
 Stopping realtime threads
 Unloading hal components
 ERROR: Module rtai_math does not exists in /proc/modules
 ERROR: Module rtai_sched does not exists in /proc/modules
 ERROR: Module rtai_hal is in use by rtai_lxrt

 I don't know how it's possible, i have tryied to reboot the pc but
 nothing...
 I think that other applications use this rtai_lxrt but who is this???


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


Re: [Emc-users] setting G54?

2008-11-14 Thread amtb
Hi
I want to be sure about setting G54.
“The coordinate system whose origin is set by a G10 command may be active
or inactive at the time the G10 is executed. If it is currently active,
the new coordinates take effect immediately.
Example: G10 L2 P1 x 3.5 y 17.2 sets the origin of the first coordinate
system (the one selected by G54)”
What is L2?
What it  does?
Does this mean that I need input G10 L2 P1 x () y () z () in MDI or at the
front of my main program to set G54?
And after that line  G10 L2 P1 x () y () z () in the program start to use
G54 which will take machine to x () y () z () specified with G10 L2 P1
above.
If I am right, than how I will input G10 L2 P1 x () y () z ()?

Thanks Aram


 On Mon, Nov 10, 2008 at 06:21:07AM -0700, [EMAIL PROTECTED] wrote:
 Hi
 I need help with setting G54.
 When I home machine it actually G53.
 Next I found my offset to my part 0, from where program will start.
 I am using TKMC interface, and where there I need input distance between
 G53 and G54?

 http://linuxcnc.org/docs/2.2/html/gcode_main.html#sub:G10:-Set-Coordinate


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