Re: [Emc-users] Threading on a mill with fourth axis

2013-03-20 Thread Gene Heskett
On Wednesday 20 March 2013 02:59:22 Igor Chudov did opine:

 I have a vertical mill with a fourth axis A.
 
 My buddy wants me to write a subroutine that would let me mill  thread
 on round parts, that are held in the fourth axis, and the thread would
 be milled using a 60 degree chamfer end mill, rotating the part around
 the A axis.
 
 I have some questions about the odds and ends of this.
 
 1. I would like to be able to say to the machine, in G code, that
 wherever we are on the A axis, call it zero degrees position. In
 other words, I want to change the coordinate system in G code for one A
 axis only. How do I do it.
 
 2. Is that correct that feedrate F in a G1 statement that changes both
 X, as well as A, only refers to the change of X? I can live with that,
 I just want to know.

I think the canned routine g33? might be the first place I'd check in the 
docs.

I started to say G76, but one would have to cobble up some sort of an index 
pulse from the combo of A=0 + Z=0 in hal, and dummy up encoder quad signals 
from the step count going to the A table in order to lock the A/Z timing 
together on the multipass loopback g76 uses.

I have one of those milling bits, but I've now cnc'd my lathe so I do all 
that on the lathe with the G76, at any tpi, and any diameter my spindle 
motor has the power to cut, perhaps an inch in diameter max.  But in the 
mill, using that bit in the mill, the thread could be cut full depth in one 
pass, with the speed of the A table being the speed limit, on my 4 toy 
table, about 1800 degrees/minute.  However, resharpening a cutoff blade to 
be the single tooth on the lathe is certainly a heck of a lot cheaper than 
resharpening such a mill, another reason my mill has only been out of the 
box to admire it 2 or 3 times.  A very $pen$ive little milling bit.

Another item to consider in writing your own routine is that the A table 
needs to be tilted on the X axis according to the thread pitch so the tooth 
arc effectively matches the threads pitch.  That in turn brings in a need 
to drive the Y slowly in time with Z to maintain the X to part contact 
point at exactly along the X axis.  Otherwise the thread diameter over its 
length will be in error according to the sine? of that X angle miss-match.  
That part I handle on the lathe by tilting the blade slightly in the grip 
of the 3 jaw on my table while driving the table to the proper angles.

There are as many ways to skin this cat. :)


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)
My web page: http://coyoteden.dyndns-free.com:85/gene is up!
My views 
http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml
Would you care to view the ruins of my good intentions?
I was taught to respect my elders, but its getting 
harder and harder to find any...

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Threading on a mill with fourth axis

2013-03-20 Thread Marcus Bowman

On 20 Mar 2013, at 04:16, Igor Chudov wrote:

I have a vertical mill with a fourth axis A.

My buddy wants me to write a subroutine that would let me mill  thread on
round parts, that are held in the fourth axis, and the thread would be
milled using a 60 degree chamfer end mill, rotating the part around the A
axis.

I have some questions about the odds and ends of this.

1. I would like to be able to say to the machine, in G code, that wherever
we are on the A axis, call it zero degrees position. In other words, I
want to change the coordinate system in G code for one A axis only. How do
I do it.

Gene is right: there are threading canned cycles you could use, but you still 
might want to reset the A to 0 when you start that.
The write-it-yourself answer might depend on whether you mean you need the A 
value to be zero at that point inside that subroutine only, or whether it can 
be 0 at that point outside the subroutine as well.

G92 will give you a temporary offset inside the subroutine. G92.1 cancels it
So taking the controlled point to the required position then using G92 A0 
should do the trick.
At the end of the subroutine, use G92.1 to cancel that temporary offset.


Or, working  in G54 throughout, you could
Home when you start
Jog to where you need A to be 0 (and X0 Y0 Z0)
Touch Off X, Y, Z and A in G54, making the values zero each time.
(Or do the Touching Off anywhere to suit X, Y and Z
Jog to the A position you need to be zero and re-home A only)



Or you could use two of the offset systems G54, G55 etc
So, when you start your session, Home the X, Y, Z and A axes in both G54 and 
G55 offsets.
In your program,
move to the required position in X, Y, Z and A
then use
G10 L20 P2 A0
G55
 
The G10 L20 calculates the offset required to make the current A value 0 and 
puts that in offset system 2 (i.e. G55)
G55 switches to that offset system
Because X, Y and Z are already the same in G54 and G55 X, Y and Z values should 
stay the same
but the A value will now be 0
The A value in the normal G54 system will be whatever it was before, because 
you have only changed it in G55 not G54
G54 switches back to the G54 values once you have finished.

I have a question on the A axis orientation:
Do you have the A axis wrapping around the X linear axis?
If it is wrapped around the Z axis, it would technically be a C axis, although 
I guess that like myself you could be using an A axis connection swapped 
between either. I use A for a rotary table mounted horizontally, with the axis 
pointing along X (so motion is wrapped around X). I use the same rotary table 
mounted horizontally, pointing up the Z axis, and don't bother changing the 
cables or the name of the axis. Lazy; but convenient.

Regards,

Marcus


2. Is that correct that feedrate F in a G1 statement that changes both X,
as well as A, only refers to the change of X? I can live with that, I just
want to know.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Latency problem

2013-03-20 Thread Bjørn
I bougt this.
http://www.ebay.com/itm/200542103383?ssPageName=STRK:MEWAX:IT_trksid=p3984.m1438.l2649
running the latest version of linuxcnc.

Hypertreading off in bios,
ISOLCPU is done.

when runnnig latencytest and 3 x glxgears + some video i can run for 30 
min and get:
servo thread (1.0ms) max interval (ns) 1006129 max jitter 11104
Base thread (25.0ps) max interval (ns) 42342 max jitter 17463

i think i could do with this but if i run overnight the same way i get
servo thread (1.0ms) max interval (ns) 1020138 max jitter 24978
Base thread (25.0ps) max interval (ns) 83039 max jitter 58160

does anyone have any idea of hvat this can be? is there a way to se any 
debugging information?

And another question, is it possible to dedicate one cpu to run gui and 
other non realtime funktions?

Regards Bjorn


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency problem

2013-03-20 Thread Michael Haberler

Am 20.03.2013 um 08:48 schrieb Bjørn:

 I bougt this.
 http://www.ebay.com/itm/200542103383?ssPageName=STRK:MEWAX:IT_trksid=p3984.m1438.l2649
 running the latest version of linuxcnc.

specifically which version? 

I have a D525MW and get much better results

 
 Hypertreading off in bios,
 ISOLCPU is done.
 
 when runnnig latencytest and 3 x glxgears + some video i can run for 30 
 min and get:
 servo thread (1.0ms) max interval (ns) 1006129 max jitter 11104
 Base thread (25.0ps) max interval (ns) 42342 max jitter 17463
 
 i think i could do with this but if i run overnight the same way i get
 servo thread (1.0ms) max interval (ns) 1020138 max jitter 24978
 Base thread (25.0ps) max interval (ns) 83039 max jitter 58160
 
 does anyone have any idea of hvat this can be? is there a way to se any 
 debugging information?

usually that points to CPU idle/powersave states; it has turned out that wakeup 
from idle/powersave states is rather nondeterministic and a likely cause of 
latency spikes

to isolate whether this is the case, try to boot the kernel with the option 
'idle=poll'

if things improve, idle/powersave states are very likely the cause

-m 


 
 And another question, is it possible to dedicate one cpu to run gui and 
 other non realtime funktions?
 
 Regards Bjorn
 
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Quoting in a reply post [Was: Threading on a mill with fourth axis]

2013-03-20 Thread Erik Christiansen
On 20.03.13 08:35, Marcus Bowman wrote:
 
 On 20 Mar 2013, at 04:16, Igor Chudov wrote:
 
 I have a vertical mill with a fourth axis A.
 
 My buddy wants me to write a subroutine that would let me mill  thread on
 round parts, that are held in the fourth axis, and the thread would be
 milled using a 60 degree chamfer end mill, rotating the part around the A
 axis.
 
 I have some questions about the odds and ends of this.
 
 1. I would like to be able to say to the machine, in G code, that wherever
 we are on the A axis, call it zero degrees position. In other words, I
 want to change the coordinate system in G code for one A axis only. How do
 I do it.
 
 Gene is right: there are threading canned cycles you could use, but
 you still might want to reset the A to 0 when you start that. The
 write-it-yourself answer might depend on whether you mean you need the
 A value to be zero at that point inside that subroutine only, or
 whether it can be 0 at that point outside the subroutine as well.

Marcus, without any detectable form of quoting in your post, it is
difficult know what part of it is written by Igor, and what part of it
is yours, at least until we've read back and forth a bit to work it out.

Is there any chance that your mail client could be set to use the
standard form of marking quoted text, to make the job of reading less
difficult? It would be very helpful.

Erik

-- 
Mixed emotions:   
   Watching a bus-load of lawyers plunge off a cliff.
   With five empty seats.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Hello. Advice on upgrading Anilam Crusader M system.

2013-03-20 Thread Gregg Eshelman
I'm looking at purchasing a 1980's vintage Acra knee mill (Bridgeport clone) 
with an Anilam Crusader M system.

It has some issues, the X axis motor (Baldor FMDB-00 type) and control 
board are missing and the CRT is hanging loose in the control box. The inside 
of the big electronics box is amazingly clean, despite the mill sitting 
outside. No idea what might be bleeped up inside the box where the CRT is.

It also has some very light rust on the Y axis ways, so light that when I moved 
the table, the way wipers scraped much of it off. A few minutes with fine steel 
wool and some oil will have that taken care of.

The ball screws are perfect, so are the knee ways. The table moves easily with 
a twist on the bare shafts, the manual crank handles are gone. The top of the 
table has had some interactions with tooling and rust. I figure get it 
trammed then use a big face mill to surface the table just a bit. The rest of 
it looks to be in quite good condition. Taper looks to be CAT30 or any of the 
others that are the same angle and have two large notches in a ring. Even a KT 
would work if I made longer blocks for the nose to reach the slots.

Seller wants $300 but I have a guy who knows the seller very well, will see 
about getting it for less, along with a short bed 13 LeBlond lathe that needs 
a lot of TLC.

Don't know if I should pursue restoring the Anilam system and feeding it 
commands via the serial port or strip out everything but the necessary power 
electronics and building up from there with a new, multi-axis servo controller 
board with a USB connection and using the freed up space in the big box for a 
PC to run it.

Electronics repair, not a problem. I know a retired US Navy radioman who was in 
after Korea for 20 years. He had to build the equipment before he could use it. 
Never charges for labor, just parts, something to do to avoid boredom.

I found a little 4 axis board with USB port on ebay, supports stepper and servo 
motors, for $50. If that can interface with the existing motors and power 
supply, hello super dirt cheap CNC mill with 10x50 table. The X axis motor 
looks like it may be the most expensive part of the whole setup, unless I can 
find three newer brushless motors cheap. The 4 axis board would add the ability 
to run a horizontal indexer, or some other useful addition.

Then I'd have the still good bits of the Anilam gear to sell. :) Could come in 
darn near a freebie.

The Navy guy has a Compumotor 500 set he said I could have just for taking it 
away. I've no idea if that would be useful for this. Even if it would, that $50 
board looks much more compact and likely easier to use. I looked up the info on 
the Compumotor box and it seems to me like using a shotgun to hunt mosquitoes, 
with all the different features it has, most of which would likely go unused on 
a simple 3 axis mill.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Threading on a mill with fourth axis

2013-03-20 Thread andy pugh
On 20 March 2013 04:16, Igor Chudov ichu...@gmail.com wrote:

 1. I would like to be able to say to the machine, in G code, that wherever
 we are on the A axis, call it zero degrees position.

G10 L2 P1 A0

 2. Is that correct that feedrate F in a G1 statement that changes both X,
 as well as A, only refers to the change of X? I can live with that, I just
 want to know.

Yes. You would cut the thread with
G1 F10 X-2 A7200
to make a 10 tpi 2 long thread.
However, F will not be the normal feedrate for a linear move, it needs
to be modified by a factor of pi * D * TPI to give the right feedrate.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Threading on a mill with fourth axis

2013-03-20 Thread andy pugh
On 20 March 2013 10:14, andy pugh bodge...@gmail.com wrote:

 G10 L2 P1 A0

Actually, I got that wrong. G10 L20:
http://www.linuxcnc.org/docs/html/gcode/gcode.html#sec:G10-L20

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Threading on a mill with fourth axis

2013-03-20 Thread Igor Chudov
OK, thanks guys. I wrote a really nice subroutine that can mill right or
left handed threads, calculates feedrate correctly (it still remains to be
tested), and can mill a thread in multiple passes.


On Wed, Mar 20, 2013 at 5:17 AM, andy pugh bodge...@gmail.com wrote:

 On 20 March 2013 10:14, andy pugh bodge...@gmail.com wrote:

  G10 L2 P1 A0

 Actually, I got that wrong. G10 L20:
 http://www.linuxcnc.org/docs/html/gcode/gcode.html#sec:G10-L20

 --
 atp
 If you can't fix it, you don't own it.
 http://www.ifixit.com/Manifesto


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hello. Advice on upgrading Anilam Crusader M system.

2013-03-20 Thread andy pugh
On 20 March 2013 09:50, Gregg Eshelman g_ala...@yahoo.com wrote:

 It has some issues, the X axis motor (Baldor FMDB-00 type) and control 
 board are missing

Is this eBay advert any help?
http://www.ebay.co.uk/itm/2-SERVO-MOTORS-AND-DRIVES-WITH-MATCHING-POWER-SUPPLY-/330889664882

 I found a little 4 axis board with USB port on ebay, supports stepper and 
 servo motors, for $50. If that can interface with the existing motors and 
 power supply, hello super dirt cheap CNC mill with 10x50 table.

The board might interface with the drives. It won't interface with
LinuxCNC (No support for USB, for technical reasons)

$200 for the Mesa 5i25 / 7i77 will work, or the Pico PPMC.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Threading on a mill with fourth axis

2013-03-20 Thread Gene Heskett
On Wednesday 20 March 2013 09:27:25 andy pugh did opine:

 On 20 March 2013 04:16, Igor Chudov ichu...@gmail.com wrote:
  1. I would like to be able to say to the machine, in G code, that
  wherever we are on the A axis, call it zero degrees position.
 
 G10 L2 P1 A0
 
  2. Is that correct that feedrate F in a G1 statement that changes both
  X, as well as A, only refers to the change of X? I can live with
  that, I just want to know.
 
 Yes. You would cut the thread with
 G1 F10 X-2 A7200
 to make a 10 tpi 2 long thread.
 However, F will not be the normal feedrate for a linear move, it needs
 to be modified by a factor of pi * D * TPI to give the right feedrate.

Humm, Early here Andy. Since it is the R that determines surface speed the 
A rotation gives, my natural first thought would have been PI * R * TPI.
I don't doubt you are correct though.  Do I need to go make a pot of coffee 
to get me started tight?

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)
My web page: http://coyoteden.dyndns-free.com:85/gene is up!
My views 
http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml
No rock so hard but that a little wave
May beat admission in a thousand years.
-- Tennyson
I was taught to respect my elders, but its getting 
harder and harder to find any...

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Threading on a mill with fourth axis

2013-03-20 Thread andy pugh
On 20 March 2013 13:34, Gene Heskett ghesk...@wdtv.com wrote:

 However, F will not be the normal feedrate for a linear move, it needs
 to be modified by a factor of pi * D * TPI to give the right feedrate.

 Humm, Early here Andy. Since it is the R that determines surface speed

This isn't about the surface speed, that is set by the spindle speed.
This is how much longer the actual cut is than the simple linear move
in X.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Threading on a mill with fourth axis

2013-03-20 Thread Gene Heskett
On Wednesday 20 March 2013 10:48:48 andy pugh did opine:

 On 20 March 2013 13:34, Gene Heskett ghesk...@wdtv.com wrote:
  However, F will not be the normal feedrate for a linear move, it
  needs to be modified by a factor of pi * D * TPI to give the right
  feedrate.
  
  Humm, Early here Andy. Since it is the R that determines surface speed
 
 This isn't about the surface speed, that is set by the spindle speed.
 This is how much longer the actual cut is than the simple linear move
 in X.

So it would be something like #_F_speed= [10 / [pi * d * tpi]] 

Adjust the 10 to arrive at something ones table can actually do.  Mine is 
not a speed daemon by any means, 1800 degrees/min  that needs a few shots 
of vactra through the brake screws hole to do that.  I have a 262 oz motor 
on it, but it needs more because I've pulled it down pretty snug to try  
control its backlash.  Cheap 4 grizzly table, both the bull gear and the 
worm are somewhat eccentric.  That have a better one of course and I should 
bite the SS check and get it.

I /knew/ I wasn't looking at it correctly, thanks Andy.  Coffee under 
construction. :)

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)
My web page: http://coyoteden.dyndns-free.com:85/gene is up!
My views 
http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml
We don't have to protect the environment -- the Second Coming is at hand.
-- James Watt
I was taught to respect my elders, but its getting 
harder and harder to find any...

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency problem

2013-03-20 Thread Bjørn
Am 20.03.2013 um 08:48 schrieb Bj?rn:

 I bougt this.
 http://www.ebay.com/itm/200542103383?ssPageName=STRK:MEWAX:IT_trksid=p3984.m1438.l2649
 running the latest version of linuxcnc.

specifically which version?

I have a D525MW and get much better results

 Hypertreading off in bios,
 ISOLCPU is done.

 when runnnig latencytest and 3 x glxgears + some video i can run for 30
 min and get:
 servo thread (1.0ms) max interval (ns) 1006129 max jitter 11104
 Base thread (25.0ps) max interval (ns) 42342 max jitter 17463

 i think i could do with this but if i run overnight the same way i get
 servo thread (1.0ms) max interval (ns) 1020138 max jitter 24978
 Base thread (25.0ps) max interval (ns) 83039 max jitter 58160

 does anyone have any idea of hvat this can be? is there a way to se any
 debugging information?

usually that points to CPU idle/powersave states; it has turned out that wakeup 
from idle/powersave states is rather nondeterministic and a likely cause of 
latency spikes

to isolate whether this is the case, try to boot the kernel with the option 
'idle=poll'

if things improve, idle/powersave states are very likely the cause

-m


 And another question, is it possible to dedicate one cpu to run gui and
 other non realtime funktions?

 Regards Bjorn

I am running 10.04 LTS and LinuxCNC 2.5.2

when you say, boot the kernel with the option 'idle=poll' is this done 
the same way as isolcpu?

Regards Bjorn Kristiansen.



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Latency problem

2013-03-20 Thread Michael Haberler
 
 Regards Bjorn
 
 I am running 10.04 LTS and LinuxCNC 2.5.2
 
 when you say, boot the kernel with the option 'idle=poll' is this done 
 the same way as isolcpu?

yes

try both 'idle=poll' and 'nohlt'

see section 4 of http://wiki.linuxcnc.org/cgi-bin/wiki.pl?XenomaiKernelPackages 
this applies to RTAI just alike

- Michael


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Threading on a mill with fourth axis

2013-03-20 Thread Jon Elson
Igor Chudov wrote:
 I have a vertical mill with a fourth axis A.

 My buddy wants me to write a subroutine that would let me mill  thread on
 round parts, that are held in the fourth axis, and the thread would be
 milled using a 60 degree chamfer end mill, rotating the part around the A
 axis.

   
I'm a little confused by this.  The A axis is traditionally parallel to the
X axis, so the part rotates parallel to the table.  While a 60 degree
angle cutter would produce a geometrically accurate thread, it may not
be the best way to machine a thread.  Having the rotation axis of the
cutter parallel (but offset) from the rotation of the part to be threaded
produces cutter motion past the work on every part of the thread
profile, while the way you seem to be describing, with the point of the 
cutter in
the bottom of the thread groove does not.
 I have some questions about the odds and ends of this.

 1. I would like to be able to say to the machine, in G code, that wherever
 we are on the A axis, call it zero degrees position. In other words, I
 want to change the coordinate system in G code for one A axis only. How do
 I do it.
   
Just home the A axis and that will be zero.  Or, touch off the A axis.
 2. Is that correct that feedrate F in a G1 statement that changes both X,
 as well as A, only refers to the change of X? I can live with that, I just
 want to know.
Yes, that is so.  If your X is the length of the thread along the axis 
of rotation, then
the specified feedrate will be WAY off, so you'll have to compensate for the
number of turns around the diameter.

I have a program for more conventional thread milling that can be downloaded
from http://pico-systems.com/gcode.html  (it is near the bottom of the 
page).

Jon

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hello. Advice on upgrading Anilam Crusader M system.

2013-03-20 Thread Jon Elson
Gregg Eshelman wrote:
 I'm looking at purchasing a 1980's vintage Acra knee mill (Bridgeport clone) 
 with an Anilam Crusader M system.


 Seller wants $300 but I have a guy who knows the seller very well, will see 
 about getting it for less, along with a short bed 13 LeBlond lathe that 
 needs a lot of TLC.
   
YOW!  That sounds like a good DEAL!
 Don't know if I should pursue restoring the Anilam system and feeding it 
 commands via the serial port or strip out everything but the necessary power 
 electronics and building up from there with a new, multi-axis servo 
 controller board with a USB connection and using the freed up space in the 
 big box for a PC to run it.
   
No, even if you saw it work at the seller's location, this could be a 
mistake.  CNC controls
of this age are fragile and can be quite expensive to fix, unless you 
are an electrical
engineer.  You want to make chips, not be replacing chips!
 I found a little 4 axis board with USB port on ebay, supports stepper and 
 servo motors, for $50. If that can interface with the existing motors and 
 power supply, hello super dirt cheap CNC mill with 10x50 table. The X axis 
 motor looks like it may be the most expensive part of the whole setup, unless 
 I can find three newer brushless motors cheap. The 4 axis board would add the 
 ability to run a horizontal indexer, or some other useful addition.
   
LinuxCNC does not support motion control over USB.  Your machine has servo
motors and encoders.  There are a number of servo systems supported by
LinuxCNC, such as Mesa and Pico Systems.  You won't get 4 axes for $50,
however.

Jon


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hello. Advice on upgrading Anilam Crusader M system.

2013-03-20 Thread Jon Elson
andy pugh wrote:
 The board might interface with the drives. It won't interface with
 LinuxCNC (No support for USB, for technical reasons)

 $200 for the Mesa 5i25 / 7i77 will work, or the Pico PPMC.
   
Well, there are two ways to go with Pico Systems products.  If the servo 
amps
are in good shape and of the analog velocity servo type, then the PPMC 
is the
right choice.  But, if the amps are not in good condition, then there is the
PWM controller and PWM servo amp.  Losing the tach feedback, you may need
to change to higher resolution encoders to get smooth motion with the PWM
system.

Jon

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hello. Advice on upgrading Anilam Crusader M system.

2013-03-20 Thread andy pugh
On 20 March 2013 16:45, Jon Elson el...@pico-systems.com wrote:

 LinuxCNC does not support motion control over USB.

Furthermore, if you mean:
http://www.ebay.co.uk/itm/CNC-4Axis-USB-CNC-Controller-Interface-Board-CNCUSB-2-1-For-Servo-Motor-Drivers-/170992896776
Then it only actually controls stepper motors, and a certain subset of
servo drives which take step-direction input.
Your existing drives are not of this type.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hello. Advice on upgrading Anilam Crusader M system.

2013-03-20 Thread andy pugh
On 20 March 2013 16:50, Jon Elson el...@pico-systems.com wrote:

 Well, there are two ways to go with Pico Systems products.  If the servo
 amps
 are in good shape and of the analog velocity servo type, then the PPMC
 is the
 right choice.  But, if the amps are not in good condition, then there is the
 PWM controller and PWM servo amp.  Losing the tach feedback, you may need
 to change to higher resolution encoders to get smooth motion with the PWM
 system.

I have a feeling that Anilam used tachos on the motors and glass
scales on the machine slides. (Though maybe not always).

In that configuration I think that keeping the existing drives is
likely to be easier, but if switching to the PWM controller then it
isn't so much a case of improving the encoders as adding them.
However, I guess that the tachometers become redundant at that point,
so it may not be too difficult.


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hello. Advice on upgrading Anilam Crusader M system.

2013-03-20 Thread Gregg Eshelman
--- On Wed, 3/20/13, andy pugh bodge...@gmail.com wrote:

 Is this eBay advert any help?
 http://www.ebay.co.uk/itm/2-SERVO-MOTORS-AND-DRIVES-WITH-MATCHING-POWER-SUPPLY-/330889664882

Might if I was in the UK. ;)

  I found a little 4 axis board with USB port on ebay,
 supports stepper and servo motors, for $50. If that can
 interface with the existing motors and power supply, hello
 super dirt cheap CNC mill with 10x50 table.
 
 The board might interface with the drives. It won't
 interface with
 LinuxCNC (No support for USB, for technical reasons)
 
 $200 for the Mesa 5i25 / 7i77 will work, or the Pico PPMC.

So this wee little thing, not compatible with LinuxCNC. :(

http://www.ebay.com/itm/170992895938

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hello. Advice on upgrading Anilam Crusader M system.

2013-03-20 Thread andy pugh
On 20 March 2013 20:26, Gregg Eshelman g_ala...@yahoo.com wrote:

 Is this eBay advert any help?
 http://www.ebay.co.uk/itm/2-SERVO-MOTORS-AND-DRIVES-WITH-MATCHING-POWER-SUPPLY-/330889664882

 Might if I was in the UK. ;)

If he won't ship to you, then it might be possible to ship to me and I
could send them on. I don't know what it would cost, though.

 So this wee little thing, not compatible with LinuxCNC. :(

 http://www.ebay.com/itm/170992895938

No, though it isn't at all the right thing for your machine anyway.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hello. Advice on upgrading Anilam Crusader M system.

2013-03-20 Thread Gregg Eshelman
--- On Wed, 3/20/13, andy pugh bodge...@gmail.com wrote:

 I have a feeling that Anilam used tachos on the motors and
 glass scales on the machine slides. (Though maybe not always).
 
 In that configuration I think that keeping the existing
 drives is
 likely to be easier, but if switching to the PWM controller
 then it
 isn't so much a case of improving the encoders as adding
 them.
 However, I guess that the tachometers become redundant at
 that point, so it may not be too difficult.

It has glass scales on X and Y on the table, Z on the quill. The issue with 
keeping the original controllers is that one is gone, missing, MIA - along with 
the X axis servo motor. If there's a selection of different control boards that 
can be adapted to replace it, that could save some money. If it has to be the 
exact same as the other two, that will tip me towards pulling out everything 
except the motors and power supply (also leave anything else original as needed 
for motor power), possibly even the motors depending on price of 3 newer style 
VS one old Baldor or equivalent.

As for the spindle drive motor, I don't have three phase power but I do have 
220V and know some local places to get a 220V single phase real cheap, or even 
just swap for the three phase that's on it.

I uploaded some pics of the mill here. PartsByEMC.com/pub

The rust looks worse than it actually is. The table moves easily, I ran it 
forward then back a bit, the way wipers scraped most of it off and there's 
still lube in the ways under the table and between knee and base. Could rapidly 
go downhill if I don't buy it, fortunately where it is tends to be pretty arid 
most of the year.

As you can see in the front shot, the CRT is just laying loose in its box. 
Since there's no easy open access on it, I couldn't pop it open to see the 
condition of what's in there, or if there's anything missing.

There's a couple of property tags on it, former owner was AC-Delco Electronics.

The projects I have in mind for this aren't going to require exceptional 
accuracy, they're just the sorts of things that aren't easy or even possible to 
do on a manual mill. Doesn't matter to me if it won't be able to hold 0.0005 
tolerances or even 0.002. The main thing is how cheap I can get it going.

I've recently rehabbed a 1940 10 Montgomery Ward (made by Logan) and a 1967 9 
South Bend lathe, both of which had been written off as basket cases. This mill 
as it sits is in far better condition than those lathes were.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hello. Advice on upgrading Anilam Crusader M system.

2013-03-20 Thread andy pugh
On 20 March 2013 21:43, Gregg Eshelman g_ala...@yahoo.com wrote:

 It has glass scales on X and Y on the table, Z on the quill. The issue with 
 keeping the original controllers is that one is gone, missing, MIA - along 
 with the X axis servo motor. If there's a selection of different control 
 boards that can be adapted to replace it, that could save some money. If it 
 has to be the exact same as the other two, that will tip me towards pulling 
 out everything except the motors and power supply (also leave anything else 
 original as needed for motor power), possibly even the motors depending on 
 price of 3 newer style VS one old Baldor or equivalent.

There is no reason that all the motors and drives need to be the same.
You could even use a stepper on the X. It would be a strange thing to
do, but it would work.

 As for the spindle drive motor, I don't have three phase power but I do have 
 220V and know some local places to get a 220V single phase real cheap, or 
 even just swap for the three phase that's on it.

You probably want to run the spindle off of a VFD anyway, so you can
use a single-phase input inverter to drive the 3-phase motor.
It is possible that the current drive can work off of single phase,
possibly with some derate.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hello. Advice on upgrading Anilam Crusader M system.

2013-03-20 Thread dave
On Wed, 2013-03-20 at 14:43 -0700, Gregg Eshelman wrote:
 --- On Wed, 3/20/13, andy pugh bodge...@gmail.com wrote:
 
  I have a feeling that Anilam used tachos on the motors and
  glass scales on the machine slides. (Though maybe not always).
  
  In that configuration I think that keeping the existing
  drives is
  likely to be easier, but if switching to the PWM controller
  then it
  isn't so much a case of improving the encoders as adding
  them.
  However, I guess that the tachometers become redundant at
  that point, so it may not be too difficult.
 
 It has glass scales on X and Y on the table, Z on the quill. The issue with 
 keeping the original controllers is that one is gone, missing, MIA - along 
 with the X axis servo motor. If there's a selection of different control 
 boards that can be adapted to replace it, that could save some money. If it 
 has to be the exact same as the other two, that will tip me towards pulling 
 out everything except the motors and power supply (also leave anything else 
 original as needed for motor power), possibly even the motors depending on 
 price of 3 newer style VS one old Baldor or equivalent.
 
 As for the spindle drive motor, I don't have three phase power but I do have 
 220V and know some local places to get a 220V single phase real cheap, or 
 even just swap for the three phase that's on it.
  

Automation Direct 
GS2 2.0 HP AC DRIVE 230V 1/3 PH IN 3 PH OUT
Not cheap but they work. I got tired of having to fire up the 30 Hp 3ph
converter every time I wanted to do something on the small mill. 

Dave



 I uploaded some pics of the mill here. PartsByEMC.com/pub
 
 The rust looks worse than it actually is. The table moves easily, I ran it 
 forward then back a bit, the way wipers scraped most of it off and there's 
 still lube in the ways under the table and between knee and base. Could 
 rapidly go downhill if I don't buy it, fortunately where it is tends to be 
 pretty arid most of the year.
 
 As you can see in the front shot, the CRT is just laying loose in its box. 
 Since there's no easy open access on it, I couldn't pop it open to see the 
 condition of what's in there, or if there's anything missing.
 
 There's a couple of property tags on it, former owner was AC-Delco 
 Electronics.
 
 The projects I have in mind for this aren't going to require exceptional 
 accuracy, they're just the sorts of things that aren't easy or even possible 
 to do on a manual mill. Doesn't matter to me if it won't be able to hold 
 0.0005 tolerances or even 0.002. The main thing is how cheap I can get it 
 going.
 
 I've recently rehabbed a 1940 10 Montgomery Ward (made by Logan) and a 1967 
 9 South Bend lathe, both of which had been written off as basket cases. This 
 mill as it sits is in far better condition than those lathes were.
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Threading on a mill with fourth axis

2013-03-20 Thread Chris Morley


 From: bodge...@gmail.com
 Date: Wed, 20 Mar 2013 10:17:24 +
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Threading on a mill with fourth axis
 
 On 20 March 2013 10:14, andy pugh bodge...@gmail.com wrote:
 
  G10 L2 P1 A0
 
 Actually, I got that wrong. G10 L20:
 http://www.linuxcnc.org/docs/html/gcode/gcode.html#sec:G10-L20
 
 -- 

If you use P0 then you don't have to worry what G5x your in.

Chris M
  
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users