Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread Erik Christiansen
On Sun, Jan 23, 2011 at 08:00:22AM -0500, gene heskett wrote:
  
 I don't think this is the link you intended? This is to a pdf brochure 
 describing only the encoder.

Whoops! Here's the recycled alternator BLDC example that I had in mind:
http://www.youtube.com/watch?v=Tu-ia7GylO0

There are others there.

I don't know how well the motor performs, but it is a quicker way to
start experimenting than ordering rotor laminations and copper wire.

Erik

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G-Code files needed

2011-01-24 Thread Neil Baylis
On Sun, Jan 23, 2011 at 3:00 PM, Neil Baylis neil.bay...@gmail.com wrote:

 On Sun, Jan 23, 2011 at 12:58 PM, Ed Nisley ed.08.nis...@pobox.comwrote:

 On Sun, 2011-01-23 at 12:23 -0800, Neil Baylis wrote:
  large or complex g-code files

 The programs I've been writing for my Along the G-Code Way columns in
 Digital Machinist aren't all that large, but they do exercise some
 EMC2-specific language features. The more recent ones will probably be
 the most useful.

 They're tucked into the ZIP files at:

 http://www.digitalmachinist.net/downloads


 Great, thanks Ed, that's a good resource.



 Which text editor are you targeting?


 I'll start with Emacs, because that's what I'm most familiar with. If that
 goes well, then I will look at vi. If there's demand, I would consider other
 editors as well, but let's not get ahead of ourselves just yet ;-)


 Neil


This is completed, turned out to be easier than I expected. According to the
EMC Wiki, there is already G-Code syntax highlighting for Vim and Gedit, so
I don't think I need bother with any other editors. You can see how the
Emacs version looks
herehttp://pixpopuli.blogspot.com/2011/01/syntax-highlighting-for-cnc-g-code.html
.

Neil
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G-Code files needed

2011-01-24 Thread andy pugh
On 24 January 2011 16:29, Neil Baylis neil.bay...@gmail.com wrote:

 herehttp://pixpopuli.blogspot.com/2011/01/syntax-highlighting-for-cnc-g-code.html

I have a feeling that XYZABCUVW and F should possibly be treated as
commands and highlighted specifically. I am not at all sure how you
would do that, though.

-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G-Code files needed

2011-01-24 Thread Jack Coats
http://www.cncgadgets.com/cncfree/Aztec-Mayan%20Calendar%20G-code.zip
Has a freely available Aztec/Myan type Calendar.  A bit over 11MBytes I am told.

Is that sufficient?

I found it by doing a Google search for aztec calendar g-code and
CNCZone where I found this
link a is free forum.

 ... Jack
Whatever you do, work at it with all your heart... Colossians 3:23

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G-Code files needed

2011-01-24 Thread Neil Baylis
On Mon, Jan 24, 2011 at 8:53 AM, andy pugh bodge...@gmail.com wrote:

 On 24 January 2011 16:29, Neil Baylis neil.bay...@gmail.com wrote:
 
  here
 http://pixpopuli.blogspot.com/2011/01/syntax-highlighting-for-cnc-g-code.html
 

 I have a feeling that XYZABCUVW and F should possibly be treated as
 commands and highlighted specifically. I am not at all sure how you
 would do that, though.


Does F have a usage other than for feedrate? The code highlights F in that
case.

Neil
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread Jon Elson
Erik Christiansen wrote:
 On Sun, Jan 23, 2011 at 08:00:22AM -0500, gene heskett wrote:
   
 I don't think this is the link you intended? This is to a pdf brochure 
 describing only the encoder.
 

 Whoops! Here's the recycled alternator BLDC example that I had in mind:
 http://www.youtube.com/watch?v=Tu-ia7GylO0

   
OK, this video seems to be about using an alternator with a sensorless 
drive chip.
I think that would perform horribly as an axis positioning motor.  
Unless the motor is
run at at least several hundred RPM, the chip loses track of rotor 
position and needs
to wiggle the motor to figure out where the poles are.  It may also give 
no way to reverse the
motor.  Now, if this whole discussion is about spindle motors, that 
would probably be fine.
If it is for axis motors, I think it will be a problem.

Also, a good brushless servo motor has minimal torque or velocity 
ripple, even down to
extremely slow speeds.  Certainly, a car alternator is not optimized for 
smoothness at
low speeds.

The Keling motors are so cheap they may cost less than a used alternator 
at the junkyard.

Jon

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread gene heskett
On Monday, January 24, 2011 12:18:11 pm Erik Christiansen did opine:

 On Sun, Jan 23, 2011 at 08:00:22AM -0500, gene heskett wrote:
  I don't think this is the link you intended? This is to a pdf brochure
  describing only the encoder.
 
 Whoops! Here's the recycled alternator BLDC example that I had in mind:
 http://www.youtube.com/watch?v=Tu-ia7GylO0
 
 There are others there.
 
 I don't know how well the motor performs, but it is a quicker way to
 start experimenting than ordering rotor laminations and copper wire.
 
 Erik
 
Certainly a lot faster.  I wonder how small these mini car models can be 
had?  I have in mind a better spindle motor for my micromill.  I may have 
to stop at the local scrap auto place and check this out!

 
 -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD
 value)! Finally, a world-class log management solution at an even
 better price-free! Download using promo code Free_Logger_4_Dev2Dev.
 Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


-- 
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)
Fame may be fleeting but obscurity is forever.
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G-Code files needed

2011-01-24 Thread Neil Baylis
On Mon, Jan 24, 2011 at 9:08 AM, Jack Coats j...@coats.org wrote:

 http://www.cncgadgets.com/cncfree/Aztec-Mayan%20Calendar%20G-code.zip
 Has a freely available Aztec/Myan type Calendar.  A bit over 11MBytes I am
 told.

 Is that sufficient?

 I found it by doing a Google search for aztec calendar g-code and
 CNCZone where I found this
 link a is free forum.

  ... Jack


Thanks Jack. This file uncovered some deficiencies with my highlighter, so
back to the drawing board.

Neil
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G-Code files needed

2011-01-24 Thread Stephen Wille Padnos
Neil Baylis wrote:
 On Mon, Jan 24, 2011 at 9:08 AM, Jack Coatsj...@coats.org  wrote:


 http://www.cncgadgets.com/cncfree/Aztec-Mayan%20Calendar%20G-code.zip
 Has a freely available Aztec/Myan type Calendar.  A bit over 11MBytes I am
 told.

 Is that sufficient?

 I found it by doing a Google search for aztec calendar g-code and
 CNCZone where I found this
 link a is free forum.

  
   ... Jack


 Thanks Jack. This file uncovered some deficiencies with my highlighter, so
 back to the drawing board.

I haven't looked at that particular file, but I can point out a few 
things that were interesting when making the gedit hilighter.  (I 
didn't do it, but I did help out somewhat in the form of IRC 
conversations with the person who did the actual work)

1) Whitespace is irrelevant to the G-code parser.  X12.34 is identical 
to X1 2. 3 4 in EMC.
2) G-code is case insensitive.  I noticed in the lisp snippet that you 
have various keywords in all caps and all lower case, but not mixed 
case, which is also legal in EMC.  So any of and, anD, aNd, aND, 
And, AnD, ANd, and AND are valid G-code.
3) My opinion is that the numbers should be colored differently than the 
words they go with.  so in G0X12.34, G should be one color, the two 
numbers 0 and 12.34 should be another color, and X, being an axis 
word, should be a different color.  I don't know if the code is capable 
of doing that, since the screenshot shows codes and numbers as having 
one style (like g0)

Thanks for the efforts :)

- Steve


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread andy pugh
On 24 January 2011 17:22, Jon Elson el...@pico-systems.com wrote:

 Also, a good brushless servo motor has minimal torque or velocity
 ripple, even down to
 extremely slow speeds.  Certainly, a car alternator is not optimized for
 smoothness at
 low speeds.

Putting on my work hat, I think that they probably are optimised for
smoothness, as any cogging torque is likely to excite the FEAD belt
and create troublesome noises. Whether this translates to smooth
output torque is something I am less clear on.
I seem to recall that they use a skewed rotor.

It shouldn't be too hard to add hall sensors to one of these, or even
to fit an encoder and drive it sinusoidally.

Time to raid the scrap bin at work :-)

-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread Kirk Wallace
On Mon, 2011-01-24 at 22:44 +1100, Erik Christiansen wrote: 
 On Sun, Jan 23, 2011 at 08:00:22AM -0500, gene heskett wrote:
   
  I don't think this is the link you intended? This is to a pdf brochure 
  describing only the encoder.
 
 Whoops! Here's the recycled alternator BLDC example that I had in mind:
 http://www.youtube.com/watch?v=Tu-ia7GylO0
 
 There are others there.
 
 I don't know how well the motor performs, but it is a quicker way to
 start experimenting than ordering rotor laminations and copper wire.
 
 Erik

My understanding is that these are _very_ inefficient as motors, let
alone as alternators. Common stator laminations are fairly thick, the
rotors don't have any laminations, so there are significant eddy losses.
There is a reason these come fitted with a fan, which is another loss
itself. I have thought a new permanent magnet or laminated rotor might
be worth a try. But one would need to measure temperature and efficiency
with realistic loads to see if they would be practical.

I agree that much can be learned by experimenting with an automotive
alternator, but it's best if one can be had for free or very low cost.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G-Code files needed

2011-01-24 Thread Neil Baylis
On Mon, Jan 24, 2011 at 9:39 AM, Stephen Wille Padnos spad...@sover.netwrote:

 I haven't looked at that particular file, but I can point out a few
 things that were interesting when making the gedit hilighter.  (I
 didn't do it, but I did help out somewhat in the form of IRC
 conversations with the person who did the actual work)

 1) Whitespace is irrelevant to the G-code parser.  X12.34 is identical
 to X1 2. 3 4 in EMC.


Yes, I'm thinking about this. I doubt it's worth the effort of parsing
numbers that have embedded spaces. Do people actually do this? Spaces after
the axis letters should be handled though.


 2) G-code is case insensitive.  I noticed in the lisp snippet that you
 have various keywords in all caps and all lower case, but not mixed
 case, which is also legal in EMC.  So any of and, anD, aNd, aND,
 And, AnD, ANd, and AND are valid G-code.


Yes, it's not pretty. I could write a function that would expand a keyword
into all possible combinations of upper and lower case, but that's probably
going too far. Maybe I should just add a version where the first letter is
capitalized. My personal opinion is that if someone writes 'aNd' they
probably didn't intend it, so it would be helpful if it showed up in a
different color. But I don't know much about how G-Code is normally written
and used, so I'm prepared to be corrected.


 3) My opinion is that the numbers should be colored differently than the
 words they go with.  so in G0X12.34, G should be one color, the two
 numbers 0 and 12.34 should be another color, and X, being an axis
 word, should be a different color.  I don't know if the code is capable
 of doing that, since the screenshot shows codes and numbers as having
 one style (like g0)


This can be fixed, I'm looking at it. Also, I'm going to recognize line
numbers separately, and make them light grey so they don't stand out so
much, based on the files Jack sent, which have thousands of line numbers and
appear very cluttered. This is exactly what syntax highlighting is supposed
to help with.
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread andy pugh
On 24 January 2011 17:53, Kirk Wallace kwall...@wallacecompany.com wrote:

 My understanding is that these are _very_ inefficient as motors, let
 alone as alternators.

One issue will be that to get anywhere near magnetic saturation (and
hence full potential) you will need a current similar to the max
output current of the alternator, typically 150A or so.

-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread Przemek Klosowski
On Sun, Jan 23, 2011 at 4:29 AM, Lars Andersson l...@larsandersson.com wrote:
 I am just curious, in what application is it needed to know motor shaft
 position to fractions of a degree even with constant and variable loads when
 running at 2 rpm?

They are talking about two separate modes: spindle control at high
speed, and position control at essentially zero speed, implementing a
'rotary table' -style fixture, and the toolpost holds milling or
shaping tools.

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread Lars Andersson
 My understanding is that these are _very_ inefficient as motors, let
 alone as alternators. Common stator laminations are fairly thick, the
 rotors don't have any laminations, so there are significant eddy
 losses.
 There is a reason these come fitted with a fan, which is another loss
 itself. I have thought a new permanent magnet or laminated rotor might
 be worth a try. But one would need to measure temperature and
 efficiency
 with realistic loads to see if they would be practical.

They are quite inefficient as alternators, probably also as motors.

Also they are not strictly brushless. There are two brushes to get current
to the rotor. 

The reason the rotor is not laminated is the magnetic flux there is quite
constant and certainly is not reversing. The rotor is magnetised with a
fairly high current like 3A at 12V. Changing this current is the way output
voltage from the alternator is controlled. This rotor current is a pure
loss. IMHO it is today better for our purposes to magnetise the rotor with
supermagnets.



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread andy pugh
On 24 January 2011 20:23, Lars Andersson l...@larsandersson.com wrote:

 Also they are not strictly brushless. There are two brushes to get current
 to the rotor.

FWIW the alternator on my bike is a permanent magnet outrunner.
I am on the second one…
http://www.bodgesoc.org/OhDear.jpg

No use as a servo though, because it is integral to the engine, and costs £600.

-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread Lars Andersson
 FWIW the alternator on my bike is a permanent magnet outrunner.
 I am on the second one.
 http://www.bodgesoc.org/OhDear.jpg
 
That is a more modern design than the car style alternator. Very similar to
an R/C outrunner.

The magnets in your alternator did not live up to their name: permanent. 

These rare earth magnets are very sensitive to corrosion, they have an outer
plating of nickel or something, when this coating is damaged the magnet
turns to dust quickly. 


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread joachim.fra...@pibf.de
Jon Elson wrote:
 
 Also, a good brushless servo motor has minimal torque or velocity
 ripple, even down to
 extremely slow speeds.  Certainly, a car alternator is not optimized for
 smoothness at
 low speeds.

I get some used PMSM from auctions. Replacing the
bearings gives them a second life. Keep the angle position
of the resolver on the rotor! So you can test it with
an old (with analog velocity input) 3 phase power supply. 
Usually this motors run very smooth if the stator pack 
is twisted giving nearly no torque ripple (assuming
rotating magnets).

Motors with torque ripple maybe used as a drive
if the control can do a predistortion to the 
current to compensate for the ripple. But I
have not seen this until now with my eyes.

Three phase ac motors (no magnets, cheap) do not
have this torque ripple. But the torque is a function
of difference in frequency of rotating magneting field
and the rotor. A different control strategy is required.

Joachim


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gladevcp problems

2011-01-24 Thread Steve Blackmore
On Mon, 24 Jan 2011 22:40:26 +, Steve Blackmore st...@pilotltd.net
wrote:

On Sat, 22 Jan 2011 09:55:28 -, John Prentice wrote:

EMC2 cloned from Master on 15 Jan onto a clean machine set up by Lucid 
Live-CD EMC install in Autumn.

Just a follow up to this, I've been exchanging emails off list with
Michael regarding this. 

I decided, as an experiment, also to install emc from the live CD as an
alternative boot selection with an interesting result :)

On Linux install from Live CD - it works, but not quite as per the
instructions on the wiki page. I need to have to have emc2-dev axis
running, then open another terminal session, redo 
. scripts/emc-environment 

and then 

cd lib/python/gladevcp
gladevcp gladevcp-test.ui and Hooray! It opens :)  

BUT

On existing Ubuntu 10.04LTS with emc installed via

 http://linuxcnc.org/lucid/emc2-install.sh

and emc2-dev installed via git, and then 

sudo apt-get install python-gnome2 python-glade2 python-numpy
python-numpy python-imaging  python-xlib python-gtkglext1
python-configobj python-gtksourceview2

It does NOT work. It fails with the

RTAPI: ERROR: could not open shared memory (errno=2)
Segmentation fault

Only conclusion I have is there must still be something missing or
incorrect in either the git version of emc2-dev or in the
emc2-install.sh package.

Steve Blackmore
--

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G-Code files needed

2011-01-24 Thread Ed Nisley
On Sun, 2011-01-23 at 15:00 -0800, Neil Baylis wrote:
 If there's demand, I would consider other
 editors as well 

I'll put in a vote for KATE, the KDE editor. It already has G-Code
highlighting, but, lacking EMC2's language features, it's pretty much
useless.

http://kate-editor.org/

-- 
Ed
http://softsolder.com



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G-Code files needed

2011-01-24 Thread doug metzler
I cast my vote for Notepad++ :-)

http://notepad-plus-plus.org/

DougM

On Mon, Jan 24, 2011 at 3:54 PM, Ed Nisley ed.08.nis...@pobox.com wrote:

 On Sun, 2011-01-23 at 15:00 -0800, Neil Baylis wrote:
  If there's demand, I would consider other
  editors as well

 I'll put in a vote for KATE, the KDE editor. It already has G-Code
 highlighting, but, lacking EMC2's language features, it's pretty much
 useless.

 http://kate-editor.org/

 --
 Ed
 http://softsolder.com




 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better
 price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G-Code files needed

2011-01-24 Thread Neil Baylis
On Mon, Jan 24, 2011 at 4:11 PM, doug metzler doug.metz...@gmail.comwrote:

 I cast my vote for Notepad++ :-)

 http://notepad-plus-plus.org/

 DougM


I happen to have a windows box, with notepad++. I know nothing about it's
plugin architecture, but I'm sure I can find out. Let me take a look.

Neil
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread cogoman
On 01/23/2011 02:14 PM, emc-users-requ...@lists.sourceforge.net wrote:
 Yes on the surface this looks like an esc project. However the fact
   that it has multiple interfaces supported such as CAN, i2c, pwm and
   serialmean that it can certainly send and receive the sort of data you
   are looking for.
   
   I am well aware that an esc is different than a cnc driver, however
   Piotr is a control engineer thus the commutation routines that he is
   developing are the latest and greatest in all respects. I have already
   discussed the idea of using it for cnc and he is certainly happy to
   help. The nice thing about Piotr is that he is not an amateur  coder,
   thus adding pid loops around his various routines will not be an
   exercise in trying to unravel a ball of wool.
   
If he can write code to use a shaft encoder to feedback position, and 
use that information (adjusted for 1000, 2000, 4000, or whatever counts 
per revolution) to fudge the equivalent of a hall effect sensor 
feedback, then YES, this would make a good BLDC controller for CNC.

   The next link shows a 6500 watt BLDC motor for around $99.  That's 
around an eight horsepower motor for around $100 bucks.  .130Kv times 50 
Volts gives 6500 RPM at 50V no load. I don't think you could build one 
for near that, though I've thought about that option.  For bigger stuff 
you might try the armature from a vacuum cleaner motor.  I've never 
tried taking one apart, but they are supposed to be universal AC/DC 
motors, so they might have laminations that would work.  For the bell 
that you mount the magnets into, a stamped steel hole saw might come in 
a useable size.

http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=5142

To give you an idea of how much power one of these motors supplies, some 
guys put 3 of them into a go-cart, and drive it through a centrifugal 
clutch.  Watch the video, then look at the smiles when they come back in 
from a run!

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



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread gene heskett
On Monday, January 24, 2011 11:00:38 pm cogoman did opine:

 On 01/23/2011 02:14 PM, emc-users-requ...@lists.sourceforge.net wrote:
  Yes on the surface this looks like an esc project. However the fact
  
that it has multiple interfaces supported such as CAN, i2c, pwm and
serialmean that it can certainly send and receive the sort of data
you are looking for.

I am well aware that an esc is different than a cnc driver, however
Piotr is a control engineer thus the commutation routines that he
is developing are the latest and greatest in all respects. I have
already discussed the idea of using it for cnc and he is certainly
happy to help. The nice thing about Piotr is that he is not an
amateur  coder, thus adding pid loops around his various routines
will not be an exercise in trying to unravel a ball of wool.
 
 If he can write code to use a shaft encoder to feedback position, and
 use that information (adjusted for 1000, 2000, 4000, or whatever counts
 per revolution) to fudge the equivalent of a hall effect sensor
 feedback, then YES, this would make a good BLDC controller for CNC.
 
The next link shows a 6500 watt BLDC motor for around $99.  That's
 around an eight horsepower motor for around $100 bucks.  .130Kv times 50
 Volts gives 6500 RPM at 50V no load. I don't think you could build one
 for near that, though I've thought about that option.  For bigger stuff
 you might try the armature from a vacuum cleaner motor.  I've never
 tried taking one apart, but they are supposed to be universal AC/DC
 motors, so they might have laminations that would work.  For the bell
 that you mount the magnets into, a stamped steel hole saw might come in
 a useable size.
 
 http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=5142
 
 To give you an idea of how much power one of these motors supplies, some
 guys put 3 of them into a go-cart, and drive it through a centrifugal
 clutch.  Watch the video, then look at the smiles when they come back in
 from a run!
 
 http://www.youtube.com/watch?v=vwODx028_Jw
 
Why the clutch?  And its set so high that the cautious way he is driving, 
that clutch will be 100% toasted in half an hour.  Don't those motors have 
any starting torque at all?

I don't believe it is even driving the rear wheel on the far (left) side at 
all, so he is showing a lot of useless wheel spin in the right turns that 
he thinks is cute.  Give me a solid rear axle to drive both wheels and I 
could have that rig for a low cal breakfast with a 6.1 CID McCullough 
engine for power.  Even at my age.

Now the other video of the 70kw kart is more along lines of what I was 
driving in the early '60's. Wheel spin not quite at will, but still 25 mph 
faster (on gasolene, it burnt that and booze/dynamite almost 
interchangeably when I could afford the castor oil, that was even more 
fun...) than the Olds 98 that towed me to get it started.  No clutch, it 
needed about a 15 mph tow to get that rotary valved 2 stroke to fire good 
enough to pull away from that Olds. Top speed (circa 130 mph) was about the 
same on either fuel because it was a deflector head engine and they run out 
of breathing room at about 7700 rpm regardless of the exhaust tuning.  But 
it was noticeably easier to steer with the throttle in the corner when 
running on booze  dynamite.

The ultimate rush, 130 mph with your butt 1.5 off the blacktop. ;-)

-- 
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)
Without adventure, civilization is in full decay.
-- Alfred North Whitehead

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] DIY BLDC Motors - FCM8201,2 and IRAMS

2011-01-24 Thread Przemek Klosowski
On Mon, Jan 24, 2011 at 11:21 PM, gene heskett ghesk...@wdtv.com wrote:

 Why the clutch?  And its set so high that the cautious way he is driving,
 that clutch will be 100% toasted in half an hour.  Don't those motors have
 any starting torque at all?

Precisely, they have max torque at stall but that comes from tons of
current that would
burn out the motor or the controller, so the clutch avoids that. You
can see smoke coming out of the clutch on some shots.

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT - email recommendations

2011-01-24 Thread Jon Elson
Jon Elson wrote:
 Well, the original problem was that Thunderbird wasn't working without 
 HUGE pauses in operation.  But, now that I've build a new profile, it is 
 back to working fine.  So, I think I will just stay with my own SMTP 
 server and Thunderbird.  Sometime I will have to try out some of the 
 other suggestions.
   
OK, an update.  If you just use Thunderbird for email, it works fine.  
If you also use it for newsgroups, and subscribe to a newsgroup with 
many messages archived by your news service, it massively screws up 
Thunderbird.  I subscribe to rec.crafts.metalworking, and giganews has 
over 600,000 messages from back to 2003.  I just tried out knode, and it 
works fine, and is smart enough to only download a weeks worth (or other 
settable range) of messages.  I'm so used to Thunderbird, knode still 
seems a bit odd and different, but it WORKS!

Jon

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users