Re: [Emc-users] Newly updated Ubuntu 8.04 kernel.

2008-05-28 Thread Alex Joni
Another option is to remove the generic kernel completely (if you can do all 
tasks with the rtai kernel).
If you started by installing with the LiveCD, then you won't have it on your 
system.
The case Ray described only applies for people who started with a stock 8.04 
Ubuntu, and then installed emc2.

sudo apt-get remove linux-image-generic (I think that's the meta package 
which depends on the latest kernel).

Regards,
Alex

- Original Message - 
From: Ray Henry [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Wednesday, May 28, 2008 03:04
Subject: [Emc-users] Newly updated Ubuntu 8.04 kernel.



 If you are running 8.04, Hardy Heron you need to be aware that Ubuntu
 has released a new kernel.  When/if you update to this kernel you will
 be advised to reboot.  It's the little pair of blue arrows up near the
 stuff in the top right corner of the Gnome window.  When you update, it
 will modify the GRUB bootloader's configuration so that when you reboot,
 this new kernel will be the default and you will not be able to run EMC2
 unless you change things just a bit.

 This note is from Jeff.
 jepler now that the -17 kernel is out from ubuntu, I think a lot of
 people are going to run into problems at their next reboot (the new
 ubuntu kernel will be chosen over the rtai kernel).  I don't have time
 right now, but can someone write a message to the users list explaining
 how to select the right kernel at boot time so that emc can be run?

 You can probably catch the GRUB menu if you're awake when the reboot
 starts.  Simply press the esc key quite a few times while it reboots.
 And tab down when the menu shows.  You need to run the kernel named

 Linux version 2.6.24-16-rtai

 rather than the new 2.6.24.17

 so that EMC2 will have access to the proper modules and such.  But that
 is a nuisance so Jeff's next suggestion is probably the correct way to
 fix this for now.

 jepler unfortunately without editing grub's menu manually I'm not sure
 how to change the default to be the rtai kernel..

 First let's make a backup of the proper configuration file.  Do this by
 issuing the following command in a terminal

 sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.backup

 When you press enter, you'll be asked for your user password.  Once you
 enter that it should make the backup for you.

 Now we need to find your favorite editor.  If you'd rather not use
 Gedit, ignore the startup stuff here.  Open a terminal and enter this
 command.

 sudo Gedit /boot/grub/menu.lst

 You'll be asked for your password if this is not the same terminal you
 used to make the backup or if the password has timed out.  Enter it and
 the gedit widget will fill up with a bunch of stuff.  Most of it you can
 ignore but down near the bottom of that file you will see several blocks
 of stuff that looks a bit like this.

 title Ubuntu 8.04, kernel 2.6.24-17-generic
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.24-17-generic
 root=UUID=55655b37-adf7-4806-928a-cdbe2b889492 ro quiet splash
 initrd /boot/initrd.img-2.6.24-17-generic
 quiet

 and down a way you should find.

 title Ubuntu 8.04, kernel 2.6.24-16-rtai
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.24-16-rtai
 root=UUID=55655b37-adf7-4806-928a-cdbe2b889492 ro quiet splash
 initrd /boot/initrd.img-2.6.24-16-rtai
 quiet

 This kernel is the one you want to use to run the EMC2 software so we
 need to point GRUB to it.  To do that, count each block, look for the
 word title at the start of a line.  Count starting with zero until you
 get to the title line that shows the -rtai.  On mine that is 2.  (the
 third block)  Your setup may well be different because you might have
 dual, tripple, or more boot or some such.

 Now you need to move up near the top of the file to a line that reads
 something like this.

 default 0

 and change that line to read like this.

 default (insert the numerical value you counted to here)

 On my box that line reads like this.

 default 2

 Now immediately below that are a couple of handy things you might want
 to also thing about changing.  The first is the timeout for the menu.

 timeout 5

 Put the time you need to come awake in there if you are dual booting.

 This one pretty much explains itself.  Just put a (#) in front of the
 hiddenmenu line and it will always give you the menu for the time you
 set above.

 ## hiddenmenu
 # Hides the menu by default (press ESC to see the menu)
 hiddenmenu

 For right now, DONT SCREW with the rest of the file.  You can do that
 later when you feel adventurous.

 Hope this helps folks around the problem I had not long ago.



 Rayh





 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 

Re: [Emc-users] ini.fiiles

2008-05-28 Thread aaron Moore
I know I,m missing something very simple here but: 

If I set max speed to equal feed speed the motors freeze on rapid moves. 
With max speed about 15 they just about start turning. If I set max speed 
to 20mm/s the motors do rapids move but do not go to the right position.

There is also a reluctance for all motors to move in positive direction at 
lower max speeds

All this also seems to happen in Mach3

Unless anyone can figire this out I am going to rewire the drivers and 
power supply with shielded cable and fix them to an aluminium base.

Aaron


 - Original Message -


 From: Dave Engvall [EMAIL PROTECTED]
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] ini.fiiles
 Date: Tue, 27 May 2008 15:37:38 -0700
 
 
 Notice that he is stalling on rapids so his max velocity is too high:
 but the procedure below should tell him where
 to set it. :-)
 
 Dave
 On May 27, 2008, at 3:05 PM, Alex Joni wrote:
 
  Aaron,
 
  another way to try this:
  start with the old config (speed at 10 mm/second).
  Do a series of tests with increasing F-words (G1 X100 F100, G1X0 F150,
  etc..)
  Notice when it starts to fall apart, and let us know the speed.
  The ini should hold about 80% of the value divided by 60.
 
  Regards,
  Alex
 
  - Original Message -
  From: aaron Moore [EMAIL PROTECTED]
  To: Enhanced Machine Controller (EMC) emc- 
[EMAIL PROTECTED]
  Sent: Tuesday, May 27, 2008 11:00 PM
  Subject: Re: [Emc-users] ini.fiiles
 
 
  Rayh
 
  I just set the velocity to 4 and acceleration to 4.  Feed moves  are 
okay,
  but the motors just freeze on rapid moves, and I'm tearing my hair  
out,
  and
  the wife is about to divorce me.
 
  Thanks
  Aaron
 
 
 
 
  - Original Message -
  From: Ray Henry [EMAIL PROTECTED]
  To: Enhanced Machine Controller (EMC) emc- 
[EMAIL PROTECTED]
  Subject: Re: [Emc-users] ini.fiiles
  Date: Tue, 27 May 2008 09:58:16 -0500
 
 
 
  Hi Aaron
 
  As I see it the problem is that your config runs the rapids much  to 
fast
  for the ability of your hardware.
 
  MAX_VELOCITY = 10.0
 
  Means 10mm per second or 600 mm per minute.  If you lower that to
 
  MAX_VELOCITY = 4.0
 
  your rapids will run about 240 mm a minute.  Since that is not much
  faster than your feedrate you should be okay.  But I would not be  
afraid
  to play with the numbers until you discover a combination that  moves 
the
  machine about 80% of the speed at which you begin loosing steps.
 
  HTH
 
  Rayh
 
 
 
 
 
 
 
  On Tue, 2008-05-27 at 14:27 +, aaron Moore wrote:
  Between 100mm and 200mm a minute
  Aaron
  - Original Message -
  From: Kenneth Lerman [EMAIL PROTECTED]
  To: Enhanced Machine Controller (EMC)
  emc-users@lists.sourceforge.net
  Subject: Re: [Emc-users] ini.fiiles
  Date: Tue, 27 May 2008 08:52:04 -0400
  Alex, as usual, identified a key question.
  Just to expand a little, it is important because rapids (G0) use
  the
  maximum velocity; but cutting (G1, G2, G3) use the last specified
  Fword
  as the velocity. Generally, that will be much slower than the
  maximum.
  So, to repeat Alex's question, what feed rate are you using?
  Ken
  Alex Joni wrote:
  What feedrate do you use for cutting?
 
  Regards,
  Alex
 
  - Original Message - From: aaron Moore
  [EMAIL PROTECTED]
  To: EMC userslist emc-users@lists.sourceforge.net
  Sent: Tuesday, May 27, 2008 10:24 AM
  Subject: [Emc-users] ini.fiiles
 
 
  Hi
  Could someone have a look at my ini. files to see if I am
  missing something.
 
  Still have the same problem with my stepper router system.
  Cutting moves seem to go okay, but rapid moves screw the
  plot up
  completely even when max vel and max acc are the same as
  cutting   speed.  I am going to rewire drivers and powersupply
  with   shielded
  cable and fix them to an aluminium backing board, but in the
  mean time do these files look okay?
 
  Also steppconfig wizard still will not test my axis although
  it   will change config files.
 
 
 
  http://www.quickfilepost.com/download.do? 
  get=647fa4e602ea153fa1399379c64108ba
 
 
  http://www.quickfilepost.com/download.do? 
  get=d576ac74852a64a2873d1f43bdd26279
 
  Thanks to all
 
  Aaron
 
 
 
 
 
  -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2008.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  Emc-users mailing list
  Emc-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/emc-users
  --
  Kenneth Lerman
  Mark Kenny Products Company, LLC
  55 Main Street
  Newtown, CT 06470
  888-ISO-SEVO
  203-426-7166
 
 
  -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2008.
  

[Emc-users] Power Supply. was Re: ini.fiiles (aaron Moore)

2008-05-28 Thread Daniel Kavanagh
Aaron,

  Try splitting the power supplies, one to x, one to y and z ummm,

  Z and side to side, other to the big heavy gantry alone.

  If it's also happening in Mach then it's prolly power supply.

  I looked up those power supplies, they are switch mode, as opposed to 
chunks of transformer. Copper and Iron are your friends.

  I tried a switching supply on my router and it acted crazy, worked on 
one axis at a time but on multi axis moves it would stutter and stall.

  Dan

  P.S. My first machine was a hell of a learning curve. I think I made 
every mistake possible.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] AXIS display

2008-05-28 Thread Ian W. Wright
Hi,

Another question - is it possible to make AXIS show more than one rotary 
axis? I'd like to show an axis parallel to the Z axis - whatever that 
would normally be called {C?)

Thanks
Ian
--
Ian W. Wright
Sheffield  UK

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ini.fiiles

2008-05-28 Thread Andre' Blanchard
At 06:45 AM 5/28/2008, you wrote:
I know I,m missing something very simple here but:

If I set max speed to equal feed speed the motors freeze on rapid moves.
With max speed about 15 they just about start turning. If I set max speed
to 20mm/s the motors do rapids move but do not go to the right position.

There is also a reluctance for all motors to move in positive direction at
lower max speeds

All this also seems to happen in Mach3

Unless anyone can figire this out I am going to rewire the drivers and
power supply with shielded cable and fix them to an aluminium base.

Aaron

May have been mentioned before but that (low speed reluctance) sounds like 
classic stepper motor resonance problems to me.  Do your drives have any 
adjustments for tuning that out?

I have seen a half step unipolar drive where on phase was weak and when 
accelerating up to speed the motor would sometimes switch directions and 
end up running (very rough) in the wrong direction.

__
Andre' B.  Clear Lake, Wi.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] g-code driving me loopy...

2008-05-28 Thread Ian W. Wright
Hi,

Could someone please give me a little tutorial on using do/while loops 
in g-code please or, at least, point to me to a tutorial on the web 
while I have obviously missed in several hours of trawling the 'net. I'm 
trying to write a simple gearcutting program where I can mount the blank 
on a rotary axis and traverse the cutter back and forth on the X-axis a 
given number of times. I'm wanting to make the script 'universal' so 
that I can just insert numbers into variables for number of teeth, 
length of X travel, depth of each cut, and total cut depth but I seem to 
be getting my brain in a twist trying to figure out how to write the 
loops. I know that, if I was bright, I should be able to figure this out 
easily and maybe even write an interactive GUI but, today at least, I'm 
not and I need to get this part made ASAP!! ( a house full of 
grandchildren doesn't help either :-(  )

Thanks,
Ian
--
Ian W. Wright
Sheffield  UK

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ini.fiiles

2008-05-28 Thread Anders Wallin
 http://www.quickfilepost.com/download.do?get=647fa4e602ea153fa1399379c64108ba
 http://www.quickfilepost.com/download.do?get=d576ac74852a64a2873d1f43bdd26279

ini files for servo setups also have acceleration settings in the [TRAJ] 
section, something like this:
DEFAULT_ACCELERATION =  80.0
MAX_ACCELERATION =  100.0

are these not needed for stepper systems? or is stepconf leaving them 
out for some other reason?

Anders

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Power Supply. was Re: ini.fiiles (aaron Moore)

2008-05-28 Thread Jim Coleman
or even watch a multimeter on the voltage when running a program, and see if
it's dropping.

On Wed, May 28, 2008 at 7:59 AM, Daniel Kavanagh [EMAIL PROTECTED]
wrote:

 Aaron,

  Try splitting the power supplies, one to x, one to y and z ummm,

  Z and side to side, other to the big heavy gantry alone.

  If it's also happening in Mach then it's prolly power supply.

  I looked up those power supplies, they are switch mode, as opposed to
 chunks of transformer. Copper and Iron are your friends.

  I tried a switching supply on my router and it acted crazy, worked on
 one axis at a time but on multi axis moves it would stutter and stall.

  Dan

  P.S. My first machine was a hell of a learning curve. I think I made
 every mistake possible.

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] g-code driving me loopy...

2008-05-28 Thread Ed
Ian W. Wright wrote:
 Hi,
 
 Could someone please give me a little tutorial on using do/while loops 
 in g-code please or, at least, point to me to a tutorial on the web 
 while I have obviously missed in several hours of trawling the 'net. I'm 
 trying to write a simple gearcutting program where I can mount the blank 
 on a rotary axis and traverse the cutter back and forth on the X-axis a 
 given number of times. I'm wanting to make the script 'universal' so 
 that I can just insert numbers into variables for number of teeth, 
 length of X travel, depth of each cut, and total cut depth but I seem to 
 be getting my brain in a twist trying to figure out how to write the 
 loops. I know that, if I was bright, I should be able to figure this out 
 easily and maybe even write an interactive GUI but, today at least, I'm 
 not and I need to get this part made ASAP!! ( a house full of 
 grandchildren doesn't help either :-(  )
 
 Thanks,
 Ian
 --
 Ian W. Wright
 Sheffield  UK
 
Following is my generic-gear.ngc:
%
#1=25(number of teeth)
#2=[360/#1](angle to turn chuck)
#3=-.1(y clearance)
#4=-.05(X start of cut)
#5=2.2(X end of cut)
#6=0(starting A position)
#7=.7(feed rate infeed Y axis)
#8=.394(depth of cut)
#9=15(feed rate across X axis)
g0x#4y#3
g0z0
g0a0
m3s70m8
o200 do
g1y[#8-.04]f#7
g1x#5f#9
g1y#8
g1x#4f1.5
g0y#3
g0x#4
#6=[#6+#2]
g0a#6
o200 while[#6 lt 359.9]
m5m9
%
Notice that it does a rough cut across then climb mills back for a 
finish cut.


Following is my generic-spline.ngc:
%
m6t0
g43h0
#1=27(number of splines)
#2=[360/#1](angle to turn chuck)
#3=-.1(y clearance)
#4=-.05(X start of spline)
#5=5(X end of spline)
#6=0(starting A position)
#7=3(feed rate)
#8=.088(depth of cut)
g0x#4y#3
g0z0
g0a#6
m3s200m8
o200 do
g1y#8f#7
g1x#5
g0y#3
g0x#4
#6=[#6+#2]
g0a#6
o200 while[#6 lt 359.9]
m5m9
%
Simular but does all cutting in a single pass.
Both are using a cutter on an arbor in a vertical spindle.   Ed.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users