Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-09-07 Thread Mark Wendt
That thing's a beast!

Mark

On 09/06/2010 01:28 PM, Igor Chudov wrote:
 Looks REALLY impressive and BIG!

 - Igor



 On Mon, Sep 6, 2010 at 11:38 AM, sam sokoliksa...@empirescreen.com  wrote:

   2 axis moving!

 http://www.youtube.com/watch?v=QU_O_Z7Vv8c

 sam

 On 8/26/2010 4:38 PM, sa...@empirescreen.com wrote:
  
 Well - I fail at copy and paste...

 this should work better.

 I thought I would give an update on our ongoing project.

 This is a 60's vintage NC that used hydraulic servos.  we are converting it 
 to EMC2 using not quite as old Inland servos. (80's vintage) they are 8 
 brush low rpm high torque.  (with the amc drives we are using - it will be 
 40ft-lbs peak.)  We are using 2 mesa 5i20 boards as we are needing a good 
 70+ i/o + atleast 7 encoder counters and 5 +/-10v outputs.  We are at the 
 point where the machine is waking up.  the mesa hardware is awesome (thank 
 to peter and seb for their work).

 Be sure to watch the 2 videos at the end of this email.

 lets see if I can create a linear picture show...
 this is what the machine looked like in the 60s
 http://electronicsam.com/images/KandT/oldkandt.JPG

 this is what the machine looks like now
 http://electronicsam.com/images/KandT/DSCCurrent.JPG

 getting rid of the old control
 http://www.electronicsam.com/images/control.jpg

 this is the old electrical box
 http://electronicsam.com/images/KandT/conversion/mainelectricalbox.JPG

 we welded 2 of the same boxes together for new electronics.
 http://electronicsam.com/images/KandT/conversion/moreelec.jpg

 here is it mostly hooked up
 http://electronicsam.com/images/KandT/conversion/mostio.JPG

 This is the x,z,b gearbox - the old control used 1 hydraulic servo to run 
 all 3 axis
 http://electronicsam.com/images/KandT/conversion/xaxis/start.JPG

 open
 http://electronicsam.com/images/KandT/conversion/xaxis/start.JPG

 stripped
 http://electronicsam.com/images/KandT/conversion/xaxis/stripped.JPG

 shafts extended out so we can hook the servos up.
 http://electronicsam.com/images/KandT/conversion/xaxis/3shafts.JPG

 servo plate mounted
 http://electronicsam.com/images/KandT/conversion/servo/x-zservo_mount.jpg

 belts (B axis still needs a solution)
 http://electronicsam.com/images/KandT/conversion/servo/belts.jpeg

 Because we are still using the z axis drive train that goes up though the 
 saddle - we needed to get the backlash out of it.  It uses split gears to 
 do that.  Grinding 1 washer thinner takes the backlash out of 5 sets of 
 gears. the washer is the spacer between the 2 lower small gears.
 http://electronicsam.com/images/KandT/conversion/zaxis/gears.JPG

 we still have to mount the y axis servo. - The plan is to direct couple 
 into this shaft.
 http://electronicsam.com/images/KandT/conversion/yaxis/yaxisshaft.JPG

 here is the tool chain logic working...
 http://www.youtube.com/watch?v=4nuRea6615s

 here is the first closed loop movement with the x axis
 http://www.youtube.com/watch?v=FgOqEz5Tk-Y

 Getting there :)  Very happy with the progress.  (I only work on it about 
 once a week.)

 sam


 On Thu, 26 Aug 2010 16:27:29 -0500
sa...@empirescreen.comwrote:

 I thought I would give an update on our ongoing project.

 This is a 60's vintage NC that used hydraulic servos.  we are converting 
 it to EMC2 using not quite as old Inland servos. (80's vintage) they are 8 
 brush low rpm high torque.  (with the amc drives we are using - it will be 
 40ft-lbs peak.)  We are using 2 mesa 5i20 boards as we are needing a good 
 70+ i/o + atleast 7 encoder counters and 5 +/-10v outputs.  We are at the 
 point where the machine is waking up.  the mesa hardware is awesome (thank 
 to peter and seb for their work).

 Be sure to watch the 2 videos at the end of this email.

 lets see if I can create a linear picture show...
 this is what the machine looked like in the 60s
 http://electronicsam.com/images/KandT/oldkandt.JPG

 this is what the machine looks like now
 http://electronicsam.com/images/KandT/DSCCurrent.JPG

 getting rid of the old control
 http://www.electronicsam.com/images/control.jpg

 this is the old electrical box
 http://electronicsam.com/images/Kand...ctricalbox.JPG

 we welded 2 of the same boxes together for new electronics.
 http://electronicsam.com/images/Kand...n/moreelec.jpg

 here is it mostly hooked up
 http://electronicsam.com/images/Kand...ion/mostio.JPG

 This is the x,z,b gearbox - the old control used 1 hydraulic servo to run 
 all 3 axis
 http://electronicsam.com/images/Kand...axis/start.JPG

 open
 http://electronicsam.com/images/Kand...axis/start.JPG

 stripped
 http://electronicsam.com/images/Kand...s/stripped.JPG

 shafts extended out so we can hook the servos up.
 http://electronicsam.com/images/Kand...is/3shafts.JPG

 servo plate mounted
 http://electronicsam.com/images/Kand...ervo_mount.jpg

 belts (B axis still needs a solution)
 http://electronicsam.com/images/Kand...rvo/belts.jpeg

 Because we are still using the z 

Re: [Emc-users] Enshu progress

2010-09-07 Thread Mark Wendt
WTH is that?  ;-)

Mark

On 09/06/2010 04:35 PM, Stuart Stevenson wrote:
 Gentlemen,
Been working on a gear change component today. I don't have it on the
 machine yet but it runs good in sim.
 Ubuntu 10.04
 EMC 2.5.0-pre

 I configured 5axis to load and run my gear2.comp. It needs some clean up as
 I have more pins than needed. I will put it on the machine tomorrow and
 clean it up when I have it running as desired.

 http://www.mpm1.com:8080/machines/enshu/gear2.comp

 constructive criticism is very welcome - WTH is that? is not constructive
 :)

 thanks
 Stuart




--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Enshu progress

2010-09-07 Thread Stuart Stevenson
heh - danged if I know :)

On Tue, Sep 7, 2010 at 4:23 AM, Mark Wendt mark.we...@nrl.navy.mil wrote:

 WTH is that?  ;-)

 Mark

 On 09/06/2010 04:35 PM, Stuart Stevenson wrote:
  Gentlemen,
 Been working on a gear change component today. I don't have it on the
  machine yet but it runs good in sim.
  Ubuntu 10.04
  EMC 2.5.0-pre
 
  I configured 5axis to load and run my gear2.comp. It needs some clean up
 as
  I have more pins than needed. I will put it on the machine tomorrow and
  clean it up when I have it running as desired.
 
  http://www.mpm1.com:8080/machines/enshu/gear2.comp
 
  constructive criticism is very welcome - WTH is that? is not
 constructive
  :)
 
  thanks
  Stuart
 
 
 


 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




-- 
dos centavos
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] is motor bad?

2010-09-07 Thread Stuart Stevenson
Aram,
  You need to make sure your configuration is sending the signal to the
motor. To confirm if the motor works you should move the motor back to the
machine where you know it worked. If it works on the old machine then the
problem is in the setup on the new machine.
thanks
Stuart

On Mon, Sep 6, 2010 at 9:28 PM, a...@conceptmachinery.com wrote:

 Hi
 i got problem after i removed system from one machine and install on
 another. i maybe wire something wrong.
 i want to ask 2 things:
 1. on one axis when i jog, on monitor it show that axis move but motor by
 them self didn't move at all. what this mean?
  2. i used tester and check resistance OM between U-V-W wire from motor
 (nema 34 servodynamis AC servo) and it show that that they link. is motor
 bad?

 thanks
 aram



 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




-- 
dos centavos
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC2 on Ubuntu 10.04 Lucid Lynx LTS - official announcement

2010-09-07 Thread Kent A. Reed
  Gentle persons:

Thank you, Alex, Moses, and all the EMC2 team for keeping us moving forward.

Three small points...

1. I suggest you update the home page for http://wiki.linuxcnc.org 
soonest to reflect what's shown in the sidebar on the home page for 
http://www.linuxcnc.org.
 Step 1: Download the iso from:
   http://www.linuxcnc.org/lucid/ubuntu-10.04-linuxcnc1-i386.iso
   (note:  this URL might change in the future, reference
   http://www.linuxcnc.org/  for the latest download link, and for a
   description
   of known problems).
2. Generally I endorse keeping as many options open as possible, but 
with three different places to post bugs, I suspect a bit of confusion 
will creep into the process as some people look in bin A, some in bin B, 
and some in bin C. I'd rather have only one place to look to see if 
others are having a problem I'm having, but I can live with three. Let's 
just all keep our cool in the early stages of mass testing.
   == Reporting problems  getting help ==
 
   Reporting issues/problems/nags/ideas for improvements or anything else,
   can
   be done via email (on this list), via IRC (#emc-devel on irc.freenode.net)
   or via bug-reports at:
   http://sourceforge.net/tracker/?group_id=6744atid=106744
 
   Thanks for your patience, and for all the help to make it another great
   release.
 
   Best regards,
   Alex Joni
 
3. For me, at least, the most compelling motivation for keeping up with 
the Ubuntu LTS releases is the access to new hardware support in the 
linux kernel and its modules. My Google skills are getting rusty. Does 
anyone know a better summary of new kernel features than the pages 
posted on kernelnewbies.org (e.g., 
http://kernelnewbies.org/Linux_2_6_32)? I suggest we post a link to them 
or whatever is better on our sites to help EMC2 users in their do 
I/don't I decision to upgrade.

These are just the usual KentNits (as my staff used to call them). I'm 
downloading the new LiveCD now and can't wait to take it for a test spin 
tonight.

Regards,
Kent


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] is motor bad?

2010-09-07 Thread dave
Assuming that Aram has the SD94P Servo Dynamics drives like the one he
had at fest a few years ago: they have special software for internal
tuning that should serve as a good check of the drive/motor. 
I don't know if the MotionView software runs on Linux. 

If that works then he can move on to checking the signals to the drive. 

Just my tuppence.

Dave

On Tue, 2010-09-07 at 06:58 -0500, Stuart Stevenson wrote:
 Aram,
   You need to make sure your configuration is sending the signal to the
 motor. To confirm if the motor works you should move the motor back to the
 machine where you know it worked. If it works on the old machine then the
 problem is in the setup on the new machine.
 thanks
 Stuart
 
 On Mon, Sep 6, 2010 at 9:28 PM, a...@conceptmachinery.com wrote:
 
  Hi
  i got problem after i removed system from one machine and install on
  another. i maybe wire something wrong.
  i want to ask 2 things:
  1. on one axis when i jog, on monitor it show that axis move but motor by
  them self didn't move at all. what this mean?
   2. i used tester and check resistance OM between U-V-W wire from motor
  (nema 34 servodynamis AC servo) and it show that that they link. is motor
  bad?
 
  thanks
  aram
 
 
 
  --
  This SF.net Dev2Dev email is sponsored by:
 
  Show off your parallel programming skills.
  Enter the Intel(R) Threading Challenge 2010.
  http://p.sf.net/sfu/intel-thread-sfd
  ___
  Emc-users mailing list
  Emc-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/emc-users
 
 
 
 


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Run in place

2010-09-07 Thread Slavko Kocjancic
Hello...
I just try to make new development version of emc2 on my computer.

as many times before I do:

git clone git://git.linuxcnc.org/git/emc2.git emc2-dev

cd emc2-dev
cd src
 ./autogen.sh
 ./configure --enable-run-in-place
 make
 sudo make setuid
 cd ..
emc

and try to run my configuration.
The program report error and here is log.
In the 1'st line is something that seems wrong. I (think) I compile with run
in place !
(I use 2.5.0~pre in same computer without problems) - Linux Hardy!



Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.4
EMC2 - 2.4.3
Machine configuration directory is '/home/slavko/emc2/configs/tester'
Machine configuration file is 'tester.ini'
INIFILE=/home/slavko/emc2/configs/tester/tester.ini
PARAMETER_FILE=stepper.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=emc.nml
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Starting HAL User Interface program: halui
Starting EMC2 TASK program: milltask
Starting EMC2 DISPLAY program: axis
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=5873
Killing task milltask, PID=5996
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Traceback (most recent call last):
  File /usr/bin/axis, line 55, in module
from rs274.interpret import StatMixin
ImportError: cannot import name StatMixin
5873
  PID TTY  STAT   TIME COMMAND
5996
  PID TTY  STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[  395.838657] I-pipe: Domain RTAI registered.
[  395.838671] RTAI[hal]: 3.6.1 mounted over IPIPE-NOTHREADS 2.0-04.
[  395.838674] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu
4.2.4-1ubuntu3).
[  395.838680] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs
DISPATCHED), ISOL_CPUS_MASK: 0).
[  395.838683] PIPELINE layers:
[  395.838686] dcc15000 9ac15d93 RTAI 200
[  395.838688] c0383180 0 Linux 100
[  395.856223] RTAI[malloc]: global heap size = 2097152 bytes, BSD.
[  395.856832] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: with
RTAI OWN KTASKs, kstacks pool size = 524288 bytes.
[  395.856838] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz);
default timing: periodic; linear timed lists.
[  395.856842] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq =
2120175000 hz.
[  395.856845] RTAI[sched]: timer setup = 2010 ns, resched latency = 2688
ns.
[  395.953159] RTAI[math]: loaded.
[  396.216659] config string '0x0378'
[  397.674116] RTAI[math]: unloaded.
[  397.784611] SCHED releases registered named ALIEN RTGLBH
[  397.849522] RTAI[malloc]: unloaded.
[  397.945803] RTAI[sched]: unloaded (forced hard/soft/hard transitions:
traps 0, syscalls 0).
[  397.952770] I-pipe: Domain RTAI unregistered.
[  397.952790] RTAI[hal]: unmounted.
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Tool table, setting up offsets with a caliper.

2010-09-07 Thread Igor Chudov
Guys,

First off, thanks to all for porting EMC to 10.04, it is fantastic.

Just a question. I use quick change toolholders based on NMTB-30.

I am trying to get a tool table started. And I wonder if I can simply
measure the total length of the tool, in toolholder, with a caliper,
and then subtract say 4 inches and use that as offset.

OFFSET = TOTAL LENGTH - 4 inches

Is that completely wrong? At least this way, it is easy to set up a
tool table and it does not require complicated tool setters, etc.

- Igor

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool table, setting up offsets with a caliper.

2010-09-07 Thread Stuart Stevenson
you can use the measured tool length as the number in the tool table
you will need to set your z zero to use the measured tool length

On Tue, Sep 7, 2010 at 10:17 AM, Igor Chudov ichu...@gmail.com wrote:

 Guys,

 First off, thanks to all for porting EMC to 10.04, it is fantastic.

 Just a question. I use quick change toolholders based on NMTB-30.

 I am trying to get a tool table started. And I wonder if I can simply
 measure the total length of the tool, in toolholder, with a caliper,
 and then subtract say 4 inches and use that as offset.

 OFFSET = TOTAL LENGTH - 4 inches

 Is that completely wrong? At least this way, it is easy to set up a
 tool table and it does not require complicated tool setters, etc.

 - Igor


 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




-- 
dos centavos
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool table, setting up offsets with a caliper.

2010-09-07 Thread Chris Radek
On Tue, Sep 07, 2010 at 10:17:01AM -0500, Igor Chudov wrote:
 
 Just a question. I use quick change toolholders based on NMTB-30.
 
 I am trying to get a tool table started. And I wonder if I can simply
 measure the total length of the tool, in toolholder, with a caliper,
 and then subtract say 4 inches and use that as offset.

Yes sort of.  If you measure the entire holder including the drawbar
screw part, I think you'll probably find some unwanted variation.
You should find a way to measure from the taper instead.

If you can turn up a ring that matches the taper, and you set that
over a hole in your surface plate (or support it up on a pair of 123
blocks if you don't have a hole) and then use a height gauge to
measure the tool, you'll get much better results.

Also, QC30 holders have a feature that NMTB30 don't: they have a
ground flange that is precisely sized and positioned relative to the
taper.  You might find that you have fine results just setting the
flange on 123 blocks and measuring the tool with a height gauge.  The
flange on those holders is going to be much more trustworthy than the
drawbar end.

Chris


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool table, setting up offsets with a caliper.

2010-09-07 Thread Igor Chudov
On Tue, Sep 7, 2010 at 10:27 AM, Stuart Stevenson stus...@gmail.com wrote:
 you can use the measured tool length as the number in the tool table
 you will need to set your z zero to use the measured tool length

Stuart, do you mean that I have to set my zero by touch off?

So say I touch off with one tool from tool table, then switch tool to
my desired cutting tool, and the cutting tool would automagically be
adjusted vertically to compensate for difference in offsets between
the cutting tool and the tool I used to touch off Z.

Right?

Just tryin' to be clear.

Thanks1

i

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool table, setting up offsets with a caliper.

2010-09-07 Thread Jon Elson
Igor Chudov wrote:
 Guys,

 First off, thanks to all for porting EMC to 10.04, it is fantastic.

 Just a question. I use quick change toolholders based on NMTB-30.

 I am trying to get a tool table started. And I wonder if I can simply
 measure the total length of the tool, in toolholder, with a caliper,
 and then subtract say 4 inches and use that as offset.

 OFFSET = TOTAL LENGTH - 4 inches
   
OK, I developed a procedure some time ago for doing this.  It worked 
with EMC1,
it should work the same way with EMC2.  I made a thing that looks like a 
cylindrical
square, but has a female R-8 taper in it.  I set it on my surface plate 
and used a
height gauge to read the total height of the cutting edge.  I picked one 
tool as a master
and calculated the length of all other tools relative to the master 
one.  I could then enter
this difference in length for all tools other than the master, which was 
set to zero.
Using the master tool, I could do a touch-off on the workpiece.  
Switching to other tools
and applying the length offset worked very well.

See http://pico-systems.com/preset.html for a couple pics.

I haven't done this in a while, as having no ATC, it is much simpler to 
do all work with one
tool, passing all workpieces through the fixture, then change tools and 
perform work
on all parts with that tool.

Jon

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] rtapi on missing list?

2010-09-07 Thread Gene Heskett
Greetings guys;

I installed, fresh, the 10.04 cd image yesterday, and I am slowly getting 
the missing stuff installed, like sshd. And amanda's client packages so I 
can recover all my gcode.

Overnight it went 12 megs into swap and got laggy as all get out.

I assume the first thing is to run stepconf and generate new configs, but 
there aren't any examples in the ~/emc2/configs dir, totally empty, and when 
I try to run stepconf I get an rtapi missing error.

Whats next?  Go get that script and re-install emc?


Thanks.

-- 
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)
The amount of time between slipping on the peel and landing on the
pavement is precisely 1 bananosecond.

-- 
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 is a time in the tides of men,
Which, taken at its flood, leads on to success.
On the other hand, don't count on it.
- T. K. Lawson

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] rtapi on missing list?

2010-09-07 Thread Gene Heskett
On Tuesday, September 07, 2010 01:36:56 pm Gene Heskett did opine:

 Greetings guys;
 
 I installed, fresh, the 10.04 cd image yesterday, and I am slowly
 getting the missing stuff installed, like sshd. And amanda's client
 packages so I can recover all my gcode.
 
 Overnight it went 12 megs into swap and got laggy as all get out.
 
 I assume the first thing is to run stepconf and generate new configs,
 but there aren't any examples in the ~/emc2/configs dir, totally empty,
 and when I try to run stepconf I get an rtapi missing error.
 
 Whats next?  Go get that script and re-install emc?
 
 
 Thanks.

More info:
Tried to run emc as the user gene, picked the stepper_inch config from the 
menu, then got this:

g...@shop:/usr/realtime-2.6.32-122-rtai$ emc
EMC2 - 2.4.3
Machine configuration directory is '/home/gene/emc2/configs/stepper'
Machine configuration file is 'stepper_inch.ini'
Starting EMC2...
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko': -1 
Operation not permitted
Realtime system did not load
Shutting down and cleaning up EMC2...
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
ERROR: Module hal_lib does not exist in /proc/modules
ERROR: Module rtapi does not exist in /proc/modules
ERROR: Module rtai_math does not exist in /proc/modules
ERROR: Module rtai_sem does not exist in /proc/modules
ERROR: Module rtai_fifos does not exist in /proc/modules
ERROR: Module rtai_sched does not exist in /proc/modules
ERROR: Module rtai_hal does not exist in /proc/modules
Cleanup done
EMC terminated with an error.  You can find more information in the log:
/home/gene/emc_debug.txt
and
/home/gene/emc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
g...@shop:/usr/realtime-2.6.32-122-rtai$ 

And from dmesg:
[61158.717614] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
AVAILABLE/ENABLED.
[61416.202211] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
AVAILABLE/ENABLED.
[67750.283154] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
AVAILABLE/ENABLED.

The real technical explanation is Something is buggered up someplace. ;-)

Hints appreciated.

Thanks guys.

-- 
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)
The universe is all a spin-off of the Big Bang.

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool table, setting up offsets with a caliper.

2010-09-07 Thread Ed
Igor Chudov wrote:
 Guys,
 
 First off, thanks to all for porting EMC to 10.04, it is fantastic.
 
 Just a question. I use quick change toolholders based on NMTB-30.
 
 I am trying to get a tool table started. And I wonder if I can simply
 measure the total length of the tool, in toolholder, with a caliper,
 and then subtract say 4 inches and use that as offset.
 
 OFFSET = TOTAL LENGTH - 4 inches
 
 Is that completely wrong? At least this way, it is easy to set up a
 tool table and it does not require complicated tool setters, etc.
 
 - Igor


What I do is put a dowel pin in a holder and dedicate it to being tool 
Zero. Type M6T0 and G43H0 in MDI. Bring tool0 down to a setter or a 
block. Press the end key and set to 0.0  . Now mount a loaded tool 
holder and bring it down to the same setter or block. Record the reading 
and tool number. Repeat until you run out of holders. Fill up your tool 
table. My method of using a block is to jog the tool down to slightly 
lower than the block then slowly raise it till the block slips under. To 
set workpiece zero simply install tool zero, jog down to set the block, 
hit the end key, type in the thickness of the block and all tools will 
referance from that. The advantage to this method is you always have one 
absolute referance point with tool zero.   Ed.

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool table, setting up offsets with a caliper.

2010-09-07 Thread Igor Chudov
Ed, thanks.

What do you use to locate Z edge of a part?

You cannot use a ball end electronic edge finder, right?

- Igor



On Tue, Sep 7, 2010 at 11:56 AM, Ed ate...@mwt.net wrote:
 Igor Chudov wrote:
 Guys,

 First off, thanks to all for porting EMC to 10.04, it is fantastic.

 Just a question. I use quick change toolholders based on NMTB-30.

 I am trying to get a tool table started. And I wonder if I can simply
 measure the total length of the tool, in toolholder, with a caliper,
 and then subtract say 4 inches and use that as offset.

 OFFSET = TOTAL LENGTH - 4 inches

 Is that completely wrong? At least this way, it is easy to set up a
 tool table and it does not require complicated tool setters, etc.

 - Igor


 What I do is put a dowel pin in a holder and dedicate it to being tool
 Zero. Type M6T0 and G43H0 in MDI. Bring tool0 down to a setter or a
 block. Press the end key and set to 0.0  . Now mount a loaded tool
 holder and bring it down to the same setter or block. Record the reading
 and tool number. Repeat until you run out of holders. Fill up your tool
 table. My method of using a block is to jog the tool down to slightly
 lower than the block then slowly raise it till the block slips under. To
 set workpiece zero simply install tool zero, jog down to set the block,
 hit the end key, type in the thickness of the block and all tools will
 referance from that. The advantage to this method is you always have one
 absolute referance point with tool zero.   Ed.

 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] rtapi on missing list?

2010-09-07 Thread Alex Joni
  There was a similar report yesterday.
try this: in /etc/default/grub, change

GRUB_CMDLINE_LINUX_DEFAULT=quiet splash

to

GRUB_CMDLINE_LINUX_DEFAULT=quiet splash lapic

and then run update-grub and reboot

Regards,
Alex

On 9/7/2010 8:44 PM, Gene Heskett wrote:
 On Tuesday, September 07, 2010 01:36:56 pm Gene Heskett did opine:

 Greetings guys;

 I installed, fresh, the 10.04 cd image yesterday, and I am slowly
 getting the missing stuff installed, like sshd. And amanda's client
 packages so I can recover all my gcode.

 Overnight it went 12 megs into swap and got laggy as all get out.

 I assume the first thing is to run stepconf and generate new configs,
 but there aren't any examples in the ~/emc2/configs dir, totally empty,
 and when I try to run stepconf I get an rtapi missing error.

 Whats next?  Go get that script and re-install emc?


 Thanks.
 More info:
 Tried to run emc as the user gene, picked the stepper_inch config from the
 menu, then got this:

 g...@shop:/usr/realtime-2.6.32-122-rtai$ emc
 EMC2 - 2.4.3
 Machine configuration directory is '/home/gene/emc2/configs/stepper'
 Machine configuration file is 'stepper_inch.ini'
 Starting EMC2...
 insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko': 
 -1 Operation not permitted
 Realtime system did not load
 Shutting down and cleaning up EMC2...
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 ERROR: Module hal_lib does not exist in /proc/modules
 ERROR: Module rtapi does not exist in /proc/modules
 ERROR: Module rtai_math does not exist in /proc/modules
 ERROR: Module rtai_sem does not exist in /proc/modules
 ERROR: Module rtai_fifos does not exist in /proc/modules
 ERROR: Module rtai_sched does not exist in /proc/modules
 ERROR: Module rtai_hal does not exist in /proc/modules
 Cleanup done
 EMC terminated with an error.  You can find more information in the log:
  /home/gene/emc_debug.txt
 and
  /home/gene/emc_print.txt
 as well as in the output of the shell command 'dmesg' and in the terminal
 g...@shop:/usr/realtime-2.6.32-122-rtai$

 And from dmesg:
 [61158.717614] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
 AVAILABLE/ENABLED.
 [61416.202211] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
 AVAILABLE/ENABLED.
 [67750.283154] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
 AVAILABLE/ENABLED.

 The real technical explanation is Something is buggered up someplace. ;-)

 Hints appreciated.

 Thanks guys.


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool table, setting up offsets with a caliper.

2010-09-07 Thread Ed
Igor Chudov wrote:
 Ed, thanks.
 
 What do you use to locate Z edge of a part?
 
 You cannot use a ball end electronic edge finder, right?
 
 - Igor

I do use the zero tool. Usually I use a carbide end mill as a feeler. As 
mentioned earlier, bring tool zero down to just above the work piece, 
then jog it up until the shank of the end mill just slides under tool 
zero, then press the END key and enter the diameter in the popup box, 
press enter and your tool zero is referenced to the top of your 
workpiece. Always jog upward as you are setting the tool, if you jog 
down it might affect the position of tool zero. Incremental at .001 
works well to fine tune the height. You could use your ball end edge 
finder as tool zero if you know the travel to actuation. Once you get 
used to useing a block or tool shank it is almost as fast.  Ed.

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] is motor bad?

2010-09-07 Thread Ulf Dambacher
Am 07.09.2010 04:28, schrieb a...@conceptmachinery.com:
 Hi
 i got problem after i removed system from one machine and install on
 another. i maybe wire something wrong.
 i want to ask 2 things:
 1. on one axis when i jog, on monitor it show that axis move but motor by
 them self didn't move at all. what this mean?

from your motor description I assume a servo system:
check your motion controller in the cabinet if it shows an error (led or 
display)
some controllers work with step/diretction signals and mimic stepper 
systems.
You may check them,too but you need an oscilloscope or something like it
some controllers have leds for motion input.
does  the motor make sounds ?
you can measure the motor voltage on all 3 phases when running but be 
careful, read the manuals on how high it may be.

   2. i used tester and check resistance OM between U-V-W wire from motor
 (nema 34 servodynamis AC servo) and it show that that they link. is motor
 bad?

maybe not:
on a servo motor with 3 phase it is normal. Check if all permutations 
show the same resistance (usuallly as low as 100 ohm) and the resistance 
to the ground / housing signal should be more then 1Mohm

 thanks
 aram

some further questions
Has the machine glass scales?
what control manufacturer?

bye
Ulf

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC2 on Ubuntu 10.04 Lucid Lynx LTS - official announcement

2010-09-07 Thread Leonardo Marsaglia
Thanks as always for the really good job, I wish I could have more time to
write here in the mailing list and help at least with the most little thing.
I will try this new version on my laptop to see how it works.

Again thanks to all the people involved in this proyect, and I hope EMC
keeps growing, I know it will.

Best regards from Argentina.

Leonardo.

2010/9/7 Kent A. Reed knbr...@erols.com

  Gentle persons:

 Thank you, Alex, Moses, and all the EMC2 team for keeping us moving
 forward.

 Three small points...

 1. I suggest you update the home page for http://wiki.linuxcnc.org
 soonest to reflect what's shown in the sidebar on the home page for
 http://www.linuxcnc.org.
  Step 1: Download the iso from:
http://www.linuxcnc.org/lucid/ubuntu-10.04-linuxcnc1-i386.iso
(note:  this URL might change in the future, reference
http://www.linuxcnc.org/  for the latest download link, and for a
description
of known problems).
 2. Generally I endorse keeping as many options open as possible, but
 with three different places to post bugs, I suspect a bit of confusion
 will creep into the process as some people look in bin A, some in bin B,
 and some in bin C. I'd rather have only one place to look to see if
 others are having a problem I'm having, but I can live with three. Let's
 just all keep our cool in the early stages of mass testing.
== Reporting problems  getting help ==
  
Reporting issues/problems/nags/ideas for improvements or anything
 else,
can
be done via email (on this list), via IRC (#emc-devel on
 irc.freenode.net)
or via bug-reports at:
http://sourceforge.net/tracker/?group_id=6744atid=106744
  
Thanks for your patience, and for all the help to make it another
 great
release.
  
Best regards,
Alex Joni
  
 3. For me, at least, the most compelling motivation for keeping up with
 the Ubuntu LTS releases is the access to new hardware support in the
 linux kernel and its modules. My Google skills are getting rusty. Does
 anyone know a better summary of new kernel features than the pages
 posted on kernelnewbies.org (e.g.,
 http://kernelnewbies.org/Linux_2_6_32)? I suggest we post a link to them
 or whatever is better on our sites to help EMC2 users in their do
 I/don't I decision to upgrade.

 These are just the usual KentNits (as my staff used to call them). I'm
 downloading the new LiveCD now and can't wait to take it for a test spin
 tonight.

 Regards,
 Kent



 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] rtapi on missing list?

2010-09-07 Thread Gene Heskett
On Tuesday, September 07, 2010 05:05:54 pm Alex Joni did opine:

   There was a similar report yesterday.
 try this: in /etc/default/grub, change
 
 GRUB_CMDLINE_LINUX_DEFAULT=quiet splash
 
 to
 
 GRUB_CMDLINE_LINUX_DEFAULT=quiet splash lapic
 
 and then run update-grub and reboot
 
 Regards,
 Alex
 
Did that, rebooted, but had to go login and sudo ifup eth0 before I had a 
network.  How do I make that bring up the network automatically even if I 
am not logged in on its own console?

Looks like that lapic was the magic twanger, stepconf ran w/o any upset 
tummy.

Thanks Alex.

 On 9/7/2010 8:44 PM, Gene Heskett wrote:
  On Tuesday, September 07, 2010 01:36:56 pm Gene Heskett did opine:
  Greetings guys;
  
  I installed, fresh, the 10.04 cd image yesterday, and I am slowly
  getting the missing stuff installed, like sshd. And amanda's client
  packages so I can recover all my gcode.
  
  Overnight it went 12 megs into swap and got laggy as all get out.
  
  I assume the first thing is to run stepconf and generate new configs,
  but there aren't any examples in the ~/emc2/configs dir, totally
  empty, and when I try to run stepconf I get an rtapi missing error.
  
  Whats next?  Go get that script and re-install emc?
  
  
  Thanks.
  
  More info:
  Tried to run emc as the user gene, picked the stepper_inch config from
  the menu, then got this:
  
  g...@shop:/usr/realtime-2.6.32-122-rtai$ emc
  EMC2 - 2.4.3
  Machine configuration directory is '/home/gene/emc2/configs/stepper'
  Machine configuration file is 'stepper_inch.ini'
  Starting EMC2...
  insmod: error inserting
  '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko': -1 Operation not
  permitted Realtime system did not load
  Shutting down and cleaning up EMC2...
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  ERROR: Module hal_lib does not exist in /proc/modules
  ERROR: Module rtapi does not exist in /proc/modules
  ERROR: Module rtai_math does not exist in /proc/modules
  ERROR: Module rtai_sem does not exist in /proc/modules
  ERROR: Module rtai_fifos does not exist in /proc/modules
  ERROR: Module rtai_sched does not exist in /proc/modules
  ERROR: Module rtai_hal does not exist in /proc/modules
  Cleanup done
  
  EMC terminated with an error.  You can find more information in the log:
   /home/gene/emc_debug.txt
  
  and
  
   /home/gene/emc_print.txt
  
  as well as in the output of the shell command 'dmesg' and in the
  terminal g...@shop:/usr/realtime-2.6.32-122-rtai$
  
  And from dmesg:
  [61158.717614] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT
  AVAILABLE/ENABLED. [61416.202211] RTAI[hal]: ERROR, LOCAL APIC
  CONFIGURED BUT NOT AVAILABLE/ENABLED. [67750.283154] RTAI[hal]:
  ERROR, LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED.
  
  The real technical explanation is Something is buggered up
  someplace. ;-)
  
  Hints appreciated.
  
  Thanks guys.
 
 
 -- This SF.net Dev2Dev email is sponsored by:
 
 Show off your parallel programming skills.
 

Re: [Emc-users] rtapi on missing list?

2010-09-07 Thread Igor Chudov
On Tue, Sep 7, 2010 at 4:17 PM, Gene Heskett gene.hesk...@gmail.com wrote:
 On Tuesday, September 07, 2010 05:05:54 pm Alex Joni did opine:

   There was a similar report yesterday.
 try this: in /etc/default/grub, change

 GRUB_CMDLINE_LINUX_DEFAULT=quiet splash

 to

 GRUB_CMDLINE_LINUX_DEFAULT=quiet splash lapic

 and then run update-grub and reboot

 Regards,
 Alex

 Did that, rebooted, but had to go login and sudo ifup eth0 before I had a
 network.  How do I make that bring up the network automatically even if I
 am not logged in on its own console?

1) Remove network manager

sudo aptitude remove network-manager network-manager-gnome

2) Edit your /etc/network/interfaces file and populate it with your IP
information, example

auto eth0
iface eth0 inet static
address 192.168.1.23
netmask 255.255.255.0
gateway 192.168.2.1

Also make sure that your /etc/resolv.conf is good.

i

 Looks like that lapic was the magic twanger, stepconf ran w/o any upset
 tummy.

 Thanks Alex.

 On 9/7/2010 8:44 PM, Gene Heskett wrote:
  On Tuesday, September 07, 2010 01:36:56 pm Gene Heskett did opine:
  Greetings guys;
 
  I installed, fresh, the 10.04 cd image yesterday, and I am slowly
  getting the missing stuff installed, like sshd. And amanda's client
  packages so I can recover all my gcode.
 
  Overnight it went 12 megs into swap and got laggy as all get out.
 
  I assume the first thing is to run stepconf and generate new configs,
  but there aren't any examples in the ~/emc2/configs dir, totally
  empty, and when I try to run stepconf I get an rtapi missing error.
 
  Whats next?  Go get that script and re-install emc?
 
 
  Thanks.
 
  More info:
  Tried to run emc as the user gene, picked the stepper_inch config from
  the menu, then got this:
 
  g...@shop:/usr/realtime-2.6.32-122-rtai$ emc
  EMC2 - 2.4.3
  Machine configuration directory is '/home/gene/emc2/configs/stepper'
  Machine configuration file is 'stepper_inch.ini'
  Starting EMC2...
  insmod: error inserting
  '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko': -1 Operation not
  permitted Realtime system did not load
  Shutting down and cleaning up EMC2...
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  ERROR: Module hal_lib does not exist in /proc/modules
  ERROR: Module rtapi does not exist in /proc/modules
  ERROR: Module rtai_math does not exist in /proc/modules
  ERROR: Module rtai_sem does not exist in /proc/modules
  ERROR: Module rtai_fifos does not exist in /proc/modules
  ERROR: Module rtai_sched does not exist in /proc/modules
  ERROR: Module rtai_hal does not exist in /proc/modules
  Cleanup done
 
  EMC terminated with an error.  You can find more information in the log:
       /home/gene/emc_debug.txt
 
  and
 
       /home/gene/emc_print.txt
 
  as well as in the output of the shell command 'dmesg' and in the
  terminal g...@shop:/usr/realtime-2.6.32-122-rtai$
 
  And from dmesg:
  [61158.717614] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT
  AVAILABLE/ENABLED. [61416.202211] RTAI[hal]: ERROR, LOCAL APIC
  CONFIGURED BUT NOT 

Re: [Emc-users] Tool table, setting up offsets with a caliper.

2010-09-07 Thread Jon Elson
Igor Chudov wrote:
 On Tue, Sep 7, 2010 at 10:27 AM, Stuart Stevenson stus...@gmail.com wrote:
   
 you can use the measured tool length as the number in the tool table
 you will need to set your z zero to use the measured tool length
 

 Stuart, do you mean that I have to set my zero by touch off?
   
When you start EMC2, by default, the workpiece coordinate system you 
last used
is restored.  If this was set to some repeatable machine feature like 
the vise jaw,
and you reference everything off that, that might be acceptable.  
Otherwise, it is
probably best to reset some of the workpiece coordinates for each 
fixture setup.
I can tell you of disastrous high-speed plunges into workpieces when I 
forgot to
reset the Z offset, particularly, on a new setup.
 So say I touch off with one tool from tool table, then switch tool to
 my desired cutting tool, and the cutting tool would automagically be
 adjusted vertically to compensate for difference in offsets between
 the cutting tool and the tool I used to touch off Z.
   
Yes, if the tool lengths of all tools are entered in the table, and you 
engage tool length
offsets on every tool, then this will work.

In my system, I do it a little differently, the master tool has a 
length of zero, and
I don't engage the length offset on that tool (it makes no difference as 
its length
is set to zero).  To be completely uniform, then you should set the 
length of all
tools, but you have to remember to activate the length offset of that 
tool before
touching it off.


Jon

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool table, setting up offsets with a caliper.

2010-09-07 Thread Jon Elson
Igor Chudov wrote:
 Ed, thanks.

 What do you use to locate Z edge of a part?

 You cannot use a ball end electronic edge finder, right?
   
My hideous technique is to lower the tool close to the part, then feel 
under the
cutting edge with a .005 thick piece of paper.  When the paper starts 
to drag
on the cutter, I enter .005 in the touch-off window.  This works 
surprisingly well.

Jon

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool table, setting up offsets with a caliper.

2010-09-07 Thread Igor Chudov
What I am doing now is setting up a tool table using GUI.

I first homed the mill. Then I would load one tool after another: for
each of them, I would find the Z coordinate so that they barely clear
a gage block. Then, I enter the minus of that as Z attribute of the
tool.

I will try with a piece of rubber stock, to see if that method gives
me consistent height betwen the tool and part, when a certain Z is
commanded.

- Igor



On Tue, Sep 7, 2010 at 8:26 PM, Jon Elson el...@pico-systems.com wrote:
 Igor Chudov wrote:
 Ed, thanks.

 What do you use to locate Z edge of a part?

 You cannot use a ball end electronic edge finder, right?

 My hideous technique is to lower the tool close to the part, then feel
 under the
 cutting edge with a .005 thick piece of paper.  When the paper starts
 to drag
 on the cutter, I enter .005 in the touch-off window.  This works
 surprisingly well.

 Jon

 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users