Re: [Emc-users] Use of Chris's truetype-tracer from G code?

2010-08-18 Thread Kenneth Lerman
One significant part of this that is a real pain is that the parser 
converts all text to upper case early in the process.

Ken

On 08/17/2010 02:55 PM, Igor Chudov wrote:
 I am totally in love with truetype-tracer and already engraved a bunch
 of stuff. I wish I had a faster spindle, but I digress.

 What I am thinking is that it would  be really great to somehow
 integrate it with G code a little bit somehow, so that we could do it
 inside G code. Example of what I was thinking is to use comments, like
 they are used for printing or MSG:

 (FONT /font/dir/myfont.ttf)
 (TEXT To my beloved favorite person)
 G777 X0.5 Y0.5 Z-0.02 P0.0001 F3

 which would write the given text with the given font starting at (0.5, 0.5).

 Now I would not want to abuse anyone, especially if no one wants this,
 but if the implementation of this sort of concept is straightforward,
 I could try to take a stab at implementing it.

 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jog under PAUSE / tool cnange

2010-05-17 Thread Kenneth Lerman
Jog on tool change (or on pause) should be straight forward. At the 
pause, simply remember each of the jogs. Then when resume is executed, 
play them back in reverse order.

I believe that all of this can be done with HAL components.

This would NOT solve the touch off problem. One could, of course, use an 
offset HAL component that could be used as part of a touch off.

Ken

On 5/17/2010 6:12 AM, Lester Caine wrote:
 Andy Pugh wrote:

 it seems that the reason that jog-on-tool-change is possible is that
 the motion controller stops there anyway (and expects to stop there).
 I guess this means that jog-on-tool-change is relatively easy, though
 perhaps it needs to refuse to restart unless it is at it's safe
 retract position to save the risk of wiping out clamps and work on
 the way back  from the touch-off fixture.
  
 This is, I think, the crux of the problem. It is not so much the 'current
 position', but that the trajectory planner simply does not have enough
 information to work on when stopped 'mid flow'?

 It should be possible to tag 'safe' points, but as has been pointed out, these
 could be some time or distance from the actual current cutting point. Even dry
 running will not necessarily get to the same point, and invariably there will 
 be
 a 'mark' of some sort where the cutter picks up again in the work simply 
 because
 it is not now cutting up until that point.

 Steve ... I think the main problem here is not so much that nobody wants to do
 it, but rather nobody can get their head around the mathematics to work out 
 HOW
 to do it ;) Perhaps we need to flag possible 'stop points' through the code
 where the trajectory planner can work from? Virtual tool change points ;)



-- 
Kenneth Lerman
55 Main Street
Newtown, CT 06470
203-426-3769

--

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jog under PAUSE / tool cnange

2010-05-17 Thread Kenneth Lerman
 of thousands of lines of code, for nothing?

 But it does work.  It works because programming can be fun.
 It works because some programmers are craftsmen who get
 satisfaction from creating something that they can be proud
 of.  It works because some programmers simply like to make
 people happy.

 It works best when the programmers are also the customers.

 They don't have to wave money at themselves - they just write
 the code to do what they need.  Sometimes they know it will
 be easy, and just do it.  Sometimes they know it will be hard,
 but they want it bad enough to do it anyway.  Sometimes they
 think it will be easy, but it winds up hard.  In business,
 those are the projects that get canceled due to cost overruns.
 In free software, the boss is also the programmer is also the
 customer, and if he wants it bad enough it happens in spite of
 overruns.

 So yes - most features get developed when a developer wants
 that feature for himself.  Such is life.


 Where do these features come from, who is tasked to
 write them
  
 This is not a business, where programmers are paid to do
 whatever the boss wants done.  You don't task free
 software developers, you ask them.  They will do the work
 because they want to make you happy, or because they
 consider the feature a technically elegant addition to
 the program, or because it is fun, or for whatever other
 reason motivates them to contribute to the project.

 In a business, nothing gets done unless it is expected to
 be profitable, and that means having a good idea of exactly
 what the job is going to cost.  You wouldn't quote a
 machining job until you sit down and estimate the cost
 of doing it.

 Now imagine a customer who cannot do the work himself, does
 not have a good understanding of exactly how much work is
 needed, refers to the opinions of those are familiar with
 the type of work as excuses, and suggests that they don't
 know much about the real world.  Would you as a business
 owner want to serve this customer?


 Discussing would be a start!
  
 Consider the first 2/3 of this message my contribution to
 the discussion.

 The last third is a rant - I'll freely admit that.  But I
 don't think the discussion can be useful unless everyone
 involved understands what motivates people to work on free
 software.

 Feel free to chop the last part, and reply to the technical
 issues - they are the issues that need to be solved if
 this feature is ever going to happen.

 John Kasunich


-- 
Kenneth Lerman
55 Main Street
Newtown, CT 06470
203-426-3769

--

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Starting spindle with F9 with spindle speed DAC

2010-05-10 Thread Kenneth Lerman
Jon,

Does your VFD have provision for an external braking resistor? Might 
that help with the over heating?

Ken

On 5/9/2010 6:36 PM, Jon Elson wrote:
 Hello, all,

 I just added a DAC for spindle speed control to my Bridgeport.  For
 years, I just had forward and reverse contact closures to the VFD and a
 manual speed pot.  Now, I have a DAC channel from EMC to the VFD.  I can
 start the spindle with an MDI entry like M03 S2500, but when I try to
 start the spindle with F9, it sends the spindle forward contact closure,
 but the DAC had been reset to zero.

 Is there a way to make the F9 key use the last spindle speed setting?

 (In other results, I have been doing a bunch of rigid tapping on 2-56
 and 6-32 holes.  The only problem I had was finding out that my $8
 spiral-flute taps are not good for deep holes.  They bind up.  A spiral
 POINT tap goes through like butter. 1000 RPM for 2-56, 800 RPM for 6-32.
 My only problem is all the reversing makes my VFD get overheat alarms,
 even with a fan on it.  I probably need to get a bigger VFD.)

 Jon

 --

 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


-- 
Kenneth Lerman
55 Main Street
Newtown, CT 06470
203-426-3769

--

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] CAM solutions

2010-03-24 Thread Kenneth Lerman
I'm also an Alibre user. Some years ago I got the free version of Alibre 
Express. I found it to be just what I needed -- until they upgraded 
it. Then it stopped supporting creation of two dimensional drawings from 
3-D models.

I recently bought the current version ($97 I think) before they required 
that you buy the one year maintenance. It is an excellent product. The 
free CAM version doesn't support 2-D profiling. The only output mode it 
seems to support is a raster scan where it moves up and down on the Z axis.

It does support outputting DXF files. The free version of CAMBAM can 
input those files and generate just what I need. (I think that's the way 
I made the combination work -- it's been a while.)

Ken

On 3/23/2010 1:57 PM, Andy Pugh wrote:
 On 23 March 2010 18:28, Stephen Wille Padnosspad...@sover.net  wrote:

 Roland Jollivet wrote:

  
 I truly wish some company would bring out a 'real' CAD/CAM package at 1/5th
 of the price and blow the others out the water.


 Well, someone actually did.  Unfortunately, it doesn't seem to be going
 very well for them.

 I bought CadMax Solid Masterhttp://www.cadmax.com  about 5 years ago.
 It's a real parametric solid modeling package, with a dynamic feature
 tree (much like SolidWorks), import/export of several formats (though
 unfortunately IGES costs extra), and fully associative sketches and
 prints.
  
 Alibre is cheaper still and supports IGES without extra expense. All
 it seems to lack is the ability to change dimensions in a drawing and
 have the model change to match (and I am not completely sure that the
 facility is missing, it might be I have not found it).

 I used AutoDesk Inventor all day, every day for a couple of years and
 I have to confess that there are not a great number of Inventor
 features missing from Alibre that I notice the lack of.

 The $197 / £89 version has a Demo version of the MecSoft CAM package
 available, and I believe that there is a way to unlock it into a very
 limited version (Alibre CAM Xpress) but I can't figure out how. The
 Demo version doesn't output G-Code.

 I would certainly say that it is worth trying the 30 Day free trial
 version of Alibre Design, it runs under VMWare on a Mac and probably
 also under Wine in Linux.
 After 30 days it reverts to the Express Version, but even that seems
 perfectly usable, the main limits being 5 parts per assembly and no
 Inventor/ProE import/export.



-- 
Kenneth Lerman
55 Main Street
Newtown, CT 06470
203-426-3769

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Big files

2010-02-02 Thread Kenneth Lerman
The problem is the Axis interface, not the interpreter.

I believe that there is a special comment format that will disable 
previewing parts of the file. Doing that will speed things up -- at the 
cost of not being able to preview those parts.

Ken

??? ? wrote:
 Hello guys

 I have G-CODE program about 70 Mb and 230 lines.
 EMC loads it very very slow.
 Any ways to do system faster?



 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
55 Main Street
Newtown, CT 06470
203-426-3769

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Interferometric leadscrew measurement/mapping?

2009-12-20 Thread Kenneth Lerman
Yes, I have an Agilent 5517D which is a frequency stabilized two 
frequency laser that I got on Ebay.

How fast can the counters on the 5I20 count?  I would need a pair of  
perhaps 32 bit counters that can count at more than 4 MHz and can be 
read out simultaneously. (Actually, copied into another set of 
registers at the same time and then transferred to the host before the 
next copy time).

Ken

Anders Wallin wrote:
 A laser interferometer is on my todo list. I've acquired all of the
 optics on ebay for a total of a few hundred dollars. I've built a power
 supply. The major part I'm missing is the counting and interpolating
 electronics with a computer interface.
 

 Hi Ken,

 the heterodyne interferometers I have found described mostly use a
 two-frequency laser which emits two orthogonal polarizations with
 slightly (500kHz? or in your case 4 MHz) different frequency. Did you
 find a Zeeman-stabilized two-frequency laser on ebay? Or are you
 planning to DIY and put magnets around a normal HeNe tube? Sams Laser
 FAQ has a description:
 http://www.repairfaq.org/sam/laserchn.htm#chndzees

 The other method is to use an acousto-optic modulator to shift the
 frequency of the light. But the papers I've found use two modulators,
 and I only have one to spare right now...

 If I can either find a two-frequency HeNe or DIY with magnets then I'd
 be interested in testing this, possibly with the m5i20 (already has
 fpga code for fast encoder counters) for data acquisition.

 Anders

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Interferometric leadscrew measurement/mapping?

2009-12-20 Thread Kenneth Lerman
Peter,

What type of counter do you use that can propagate a carry over 32 bits 
in 10 nsec? That's what you need to count at 100 MHz.

Ken

Peter C. Wallace wrote:
 On Sun, 20 Dec 2009, Kenneth Lerman wrote:

   
 Date: Sun, 20 Dec 2009 10:54:46 -0500
 From: Kenneth Lerman kenneth.ler...@se-ltd.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Interferometric leadscrew measurement/mapping?

 Yes, I have an Agilent 5517D which is a frequency stabilized two
 frequency laser that I got on Ebay.

 How fast can the counters on the 5I20 count?  I would need a pair of
 perhaps 32 bit counters that can count at more than 4 MHz and can be
 read out simultaneously. (Actually, copied into another set of
 registers at the same time and then transferred to the host before the
 next copy time).

 Ken
 

 The counters will count fast enough but with hostmot2 they are only 16 bits 
 wide (This should not be a problem at 4 MHz as the rollover rate would only 
 be 
 64 Hz and servo thread sampling would likely be at 1 KHz or more). Its 
 possible to latch both counters simultaneously with the index (or probe) 
 input 
 so seem like you could do what required.

 Probably better would be to add a HostMot2 module for interferometer 
 counting, with common reset, 32 bit counters (maybe with difference 
 available) 
 and perhaps a relative phase register, (at 100 MHz sample rate you could get 
 ~15 degrees resolution of you 4 MHz  reference)

 I would not mind doing the firmware (probably no more than a couple hours 
 work), but the HostMot2 driver would need to have support added for the 
 special counter

   
 Anders Wallin wrote:
 
 A laser interferometer is on my todo list. I've acquired all of the
 optics on ebay for a total of a few hundred dollars. I've built a power
 supply. The major part I'm missing is the counting and interpolating
 electronics with a computer interface.

 
 Hi Ken,

 the heterodyne interferometers I have found described mostly use a
 two-frequency laser which emits two orthogonal polarizations with
 slightly (500kHz? or in your case 4 MHz) different frequency. Did you
 find a Zeeman-stabilized two-frequency laser on ebay? Or are you
 planning to DIY and put magnets around a normal HeNe tube? Sams Laser
 FAQ has a description:
 http://www.repairfaq.org/sam/laserchn.htm#chndzees

 The other method is to use an acousto-optic modulator to shift the
 frequency of the light. But the papers I've found use two modulators,
 and I only have one to spare right now...

 If I can either find a two-frequency HeNe or DIY with magnets then I'd
 be interested in testing this, possibly with the m5i20 (already has
 fpga code for fast encoder counters) for data acquisition.

 Anders

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 

 Peter Wallace
 Mesa Electronics

 (\__/)
 (='.'=) This is Bunny. Copy and paste bunny into your
 ()_() signature to help him gain world domination.


 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
55 Main Street
Newtown, CT 06470
203-426-3769

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support

Re: [Emc-users] Interferometric leadscrew measurement/mapping?

2009-12-18 Thread Kenneth Lerman

A laser interferometer is on my todo list. I've acquired all of the 
optics on ebay for a total of a few hundred dollars. I've built a power 
supply. The major part I'm missing is the counting and interpolating 
electronics with a computer interface.

The system generates two pulse trains at about 4 MHz; a reference signal 
and a measurement signal. Each cycle of the 4 MHz represents a single 
wavelength of light. The difference in the number of cycles of each 
signal is the relative motion of the reference reflector and the 
measurement reflector. The electronic can just have two counters that 
are transmitted to a computer to display the difference. One can be 
fancier and do some interpolation to measure the relative phases of the 
two signals. That can yield an increase of resolution of a factor of a 
hundred or more.

See: http://cp.literature.agilent.com/litweb/pdf/05517-90140.pdf for 
information on the principles of operation.

Ken

Anders Wallin wrote:
 Happy to see some pic of  your's prototype !
 I have ever made an prototype interferometer to do measurement
 of distance. And I have some difficult to have a good signal on photodiode to
 have stable measurement.
 

 one picture and some text is now here.
 http://www.anderswallin.net/2009/12/michelson-interferometer/
 I hope to analyze the data and post a result picture later when I have time.

   
 For that i know I think to know in which direction you are going you must
 detect the front side or down side of interference with two photodiode 
 reading
 the same interference but  with an difference of  period T/4 in long !
 Looks like absolute encoders !
 

 Yes. You need two signals in quadrature. But how is this typically
 achieved in a commercial instrument? These things must be very
 robustly built if they are used in an industrial setting!


 AW

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
55 Main Street
Newtown, CT 06470
203-426-3769

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Commercial Info

2009-12-17 Thread Kenneth Lerman
Li's posting brings to mind a question.

Should we provide an area on our Wiki for listings of a commercial 
nature? In particular should we provide a place where EMC consultants 
can post their contact information?

In the past, I believe we've seen people who would like to retrofit 
machines to EMC, but lack the hardware and/or software support to do so.

I believe that we should allow:
1 -- A listing page where contact information is provided. This would 
permit three or four lines per person.
2 -- User pages -- limited to text only that one could use for a brief 
(we could limit the number of lines) pitch describing the services provided.

This would be supported by a single link on the front page of the Wiki. 
Anyone who didn't want to look at sales pitches wouldn't have to look at it.

Ken

Yi-Shin Li wrote:
 Sorry to emc2-list-users, I should made previous mail off-list.
 I apologize again for sending irreverent messages to this list.

 Sincerely,
 Yishin Li

   
---Stuff Deleted---


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How Exactly does a Mister Work

2009-11-23 Thread Kenneth Lerman
I have some ruby orifices measuring -- two sizes 11.5 and 26 
thousandths. They are set in brass cylinders measuring .125 by .125 with 
a slight tapered end. They also have stainless steel screens to keep 
them from clogging. I usually press fit them into a reamed hole.

I can spare a few if Gene or someone would like to try them.

Ken

dave wrote:
 On Fri, 2009-11-20 at 16:39 +, Andy Pugh wrote:
   
 2009/11/20 Gene Heskett gene.hesk...@gmail.com:

 
 A cube of dry ice sitting on
 it would help, but would raise the available oxygen too.
   
 I am fairly sure it would displace the oxygen (being heavier) and so
 would both cool and reduce oxide formation.

 You might have hit on a cunning plan, and it would look cool too.

 

 Carbon Dioxide doesn't disassociate easily but will if pushed hard. 
 It cannot be used in heat-treating furnaces for that reason but for
 cooling/shielding Al machined parts I think it will work just fine.

 I'm not sure the kinetics of Al oxidation are as aggressive as Gene
 states but cannot find any evidence to support or disallow such a claim.
 The oxidation curve, at least at high temps (600 F), is parabolic so it
 limits fairly quickly. 

 A couple of alternatives for small orifices come to mind. Diesel rebuild
 shops should always have a supply of used injector nozzles. I understand
 the newer ones are carbide. 

 IIRC Gene had a tap remover (crude edm) running at one time. That should
 fab almost any small hole he wants. :-)

 Small volumes of oil/mist might be available by using model airplane
 engines as pumps. 

 Just thinking out loud. Usually dangerous. 

 Dave




 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
55 Main Street
Newtown, CT 06470
203-426-3769

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Joint 2 following error seems very easy to provoke on a G83 peck cycle?

2009-11-10 Thread Kenneth Lerman
Been there, done that.

I found that I changing the maximum acceleration on the Z axis solved 
the problem. Or perhaps it was the maximum Z velocity.

Ken

Gene Heskett wrote:
 But not at other times.  I have it running quite a bit slower in the ini than 
 it can run.  Changing the F number in the command doesn't seem to help, is is 
 not enough, it can run 30 ipm and I'm limited to half that in steady state 
 running.

 2.3.4-1

 Suggestions?

 Thanks.

   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing SOLVED!

2009-10-25 Thread Kenneth Lerman
EMC converts every line to lowercase only when it reads the line. It 
also removes blank spaces when parsing the gcode. That is apparently 
part of the rs274ngc standard. For that reason, the behavior you are 
seeing is not a bug.

A person with more energy than I have could add an option to do away 
with that conversion. It would have to include recognizing X and x as 
both referring to the same code. Doing that would break programs that 
depend on having oaBc recognized at oabc, though.

Ken

Chris Epicier wrote:
 Just one more thing:

 make sure your subprogramfiles are all written in lowercases. So, if 
 something like MySubProgramFile is called, axis looks for a file like 
 mysubprogramfile thus mot considering uppercases.

 In my understanding, this should not happen. Is this a bug?

 greets chris

   
 Hi all
 
 Spent now a couple of hours more on this. I looked at
   
 the
 
 emc 2.3.3 and earlier versions release notes. Among
   
 other
 
 points named O words  is listed. Do I need
   
 toupgrade
 
 from 2.2.8 ?
   
 Got it sorted out: you *need* EMC2 version 2.3.3 to get the
 sample code of
 this:
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?SubProgramFiles
 to run.

 That was not obvious to me.

 Greets chris

 PS: Off to some large cutting :-)


   

 --
 Come build with us! The BlackBerry(R) Developer Conference
 in SF, CA
 is the only developer event you need to attend this year.
 Jumpstart your
 developing skills, take BlackBerry mobile applications to
 market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009.
 Register now!
 http://p.sf.net/sfu/devconference
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 


   

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-05 Thread Kenneth Lerman
To generate lots of debug messages:
   In your.ini file section [RS274NGC] add the line
  LOG_LEVEL = 999
 
Then the file emc_log will get a log containing the interpreter activity 
regarding o-words, subroutines, etc. You probably don't want this 
enabled when you are doing something useful because the file will be 
very large.

I suspect that you will find that the file prefix is wrong. Put the log 
up on pastebin and we can take a look at it.

One neat thing you can do is load a file containing lots of subroutines. 
If you have enabled LAZY_CLOSE in your ini file, you will then be able 
to invoke the subroutines from the MDI.

Ken

Chris Epicier wrote:
 Dear Steve

 Try removing the O sub/endsub lines and loading the files 
 individually.  That should get you a line number where the error occurs 
 (I hope).

 The files were actually converted into subfiles from standalone files. 
 The standalone files work without any error and do not show O sub/endsub 
 lines. They do actually also run w/o the M30 command at the end, so...

 I glanced at the files and didn't see anything strange.

 ... confirmed, they run if loaded into axis as standalones, also the preview 
 is there and I can rotate the display or whatever.

 One thing to note though, the interpreter behaves as though there were 
 no spaces in the line.  When calling subroutines that take parameters, 
 each parameter needs to be enclosed in [] to insure that it's treated as 
 a separate entity.
 
 If there are any places where you have two numbers separated only by 
 whitespace, that will be an error.  As an example, 1.25 3.99 will be 
 interpreted as 1.253.99, which is a bad number format.

 there are only twowhitespaces in the sub files, seperating these two terms: 
 -Olabels 
 -sub/endsub

 I have no parameters to pass from the master to the subs

 I'm not sure where else to point you.

 Hope still this can be sorted out. It would be just great, If a coud have a 
 trace window to see what axis does when it loads a file and also when it 
 starts to interprete the file. Finally jan mentioned he could get a preview 
 of my files. So I should beleieve it is somewhere in my setup that runs 
 smootheley when using stabndrd individual files?

 chris

 PS: Ian, I hope that this message is in line with lists policy



   

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC G-Code - Calling Files

2009-09-12 Thread Kenneth Lerman
What directory is the file you are providing in? The .ini file should 
have a line PROGRAM_PREFIX=some_directory in the [DISPLAY] section.

That directory is where the file should be located. The file name should 
be something like: 1.ngc or name.ngc.

Ken

Thorsten Seefeldt wrote:
 I tried this using the emc2-sim version 1:2.3.3
 I also use the actual non-sim version of emc2. 
 
 Greetings
 
 Thorsten
 
 
 Am Samstag, den 12.09.2009, 01:44 +0300 schrieb Alex Joni:
 What emc2 version are you using?

 Regards,
 Alex

 - Original Message - 
 From: Thorsten Seefeldt th.seefe...@gmx.de
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Sent: Saturday, September 12, 2009 1:15 AM
 Subject: Re: [Emc-users] EMC G-Code - Calling Files


 I changed the ini file as you told me, but it still does not work.
 Some more ideas?


 Thorsten


 Am Donnerstag, den 10.09.2009, 20:12 +0200 schrieb Thomas Jager:
 Try setting:

 [RS274NGC]
 LAZY_CLOSE = 1

 In your ini file.

 On Thu, 2009-09-10 at 19:54 +0200, Thorsten Seefeldt wrote:
 Hello,

 I want to call a subroutine which I have moved to a separate file.
 The documentation says this can be done like this:

 omyfile call (a named file)

 --

 myfile.ngc
 omyfile sub
 ...
 omyfile endsub
 M2

 Unfortunately this does not work. Nothing happens when the command
 omyfile call is executed.

 Can somebody please send me a working example?

 Many Thanks


 Thorsten



 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stepper motor setup and test

2009-09-11 Thread Kenneth Lerman
A 200 step motor is a good thing if you have a five pitch lead screw 
(like on a Bridgeport milling machine) and you want each step to be a 
thousandth of an inch. That's particularly true if you were back in the 
days of paper tape and minimal computing ability.

Ken

Ian R Upton wrote:
 Gentlefolk,

 I added a pointer to the shaft of the motor (like a clock hand) so I 
 could see what the motor was doing.

 I then set the current and acceleration values.

 I then ran a series of tests at various steps/rev and fiddled the 
 velocity until I could get stable performance (consistent counts, no 
 erratic jumping, return to the initial count, etc).

 The following table shows the results, these are the maximum velocities 
 for stable performance.

 Current   0.5A for all tests (emperical and from one vague reference in 
 the Internet )

   
   
   
   
   
   
   
 Accelleration 
   10MM/S^2 for all tests  
   
   

   
   
   
   
   
   
   
 Step/rev  50  100 200 
   
   
   

   
   
   
   
   
   
   
 Max Velocity  2.9 1.7 0.9 
   MM/S
   


 So it looks like I have a 200 step motor...

 Ian


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G33 tapers

2009-09-11 Thread Kenneth Lerman
You had hexadecimal. We had to program in decimal before hex was 
invented. :-)

(In  Roman Numerals.)  :-)

Ken

Andy Pugh wrote:
 2009/9/11 Erik Christiansen dva...@internode.on.net:

   
 Meaningful variable names are the first to fifth rules of programming.
 Even assembler language, in the depths of last century, had 'em.
 

 No it didn't! (though some assemblers might have implemented labels, I 
 suppose)
 (I remember programming in raw hex. Wouldn't want to go back to that)

   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to learn movements with EMC

2009-09-04 Thread Kenneth Lerman
Letters in gcode are not case sensitive. When the standard was written, 
lower case letters had not yet been invented. :-)

Ken

Youda He wrote:
 I have hear but never really edit gcode, I noticed there are capital case
 and lower case letters, are they case sensitive?
 
 -- Youda
 
 On Fri, Sep 4, 2009 at 10:34 AM, Claude Froidevaux men...@bluewin.chwrote:
 
 Le 04.09.2009 10:43, Yann Jautard a écrit :
 Hi all,

 (sorry for my poor english, I'm from france)

 I'm doing a machine to apply glue for photovoltaics modules assembly.

 The goal is to apply a line of silicon glue around a metal frame, before
 assembly of the frame with the laminated photovoltaic module, and then to
 make a second pass to fill the gap betwen the laminted module and the frame
 border with the same glue.
 For the hardware part, the machine is very similar to lots of hobby CNCs
 I've read about on the internet : it's a X Y Z table, moved with steppers,
 and with te glue distribution system attached on the Z axis.
 I'm using EMC to control the steppers.

 And my problem is : is there any possibility in Axis, on with some other
 EMC GUI, to learn moves by jogging manually the machine, and taking
 points, then having the computer to move the machine making lines between
 theses points.
 As the moves I need to do are very simples, (just drawing a square with
 the glue, in fact), I think learning moves like this will be far more easy
 than creating Gcode. And it will be easier to adapt the moves and speeds if
 I have some tolerances issues with the frames or the modules.
 Hello,

 Actually, Gcode is pretty simple. (much simplier than trying to record
 something I thing)

 For you, something like this may help you to start:

 G21 (Unit in mm)
 G90 (Absolute distance mode)
 G17
 G40 (Cancel diameter comp.)
 G49 (Cancel length comp.)
 F150 (150mm/min)

 g92 x0 y0 z0   (define the current position as 0, this may need to
 be different for you)
 g1 z-5(go down 5mm in Z)
 g1 x50(go to 50mm in X, no move in Y)
 g1 y50(go to 50mm in Y, X still in 50mm)
 g1 x0
 g1 y0
 g0 z0

 J'habite en Suisse romande... si vous avez des questions avec linuxcnc,
 je vous aide volontiers.

 Claude


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] emc chess pawn part program

2009-09-01 Thread Kenneth Lerman
I've seen the behavior you describe where the program hangs with an 
hourglass in Axis, but not in that context. In my case, it was caused by 
a loop in a program that never terminated. Axis was trying to preview 
the program and it never terminated.

Another symptom was that Axis (or the display) wanted to use the entire 
CPU and all of memory.

I don't know if that provides a clue or not; but I thought it worth 
mentioning.

Ken

Rondal Nannie wrote:
 Hello  I was wondering if anybody else has loaded and run this EMC example 
 lathe pawn program? I tried to load it and it just will not load for some 
 reason. Thanks in advance. Ron

 --- On Mon, 8/17/09, robert rob...@innovative-rc.com wrote:


 From: robert rob...@innovative-rc.com
 Subject: Re: [Emc-users] emc chess pawn part program run request
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Date: Monday, August 17, 2009, 6:10 PM



 Rondal Nannie wrote:
   
 I do not know about that, I only removed the % sign on the end of the 
 proram. Thanks for the response. Ron

 --- On Mon, 8/17/09, Ray Henry rehe...@copper.net wrote:

 Is it possible that this is another case of editing a text file on
 another OS or editor that uses a different end of line code. 

 
 Hi ron


 what ray means if if u wrtie a file on windows say and save it from 
 wordpad it will put very funny odd things on end of line (inviable to 
 reader, but open it in a true text editor u will see the carriage 
 returns and new line markers as they are called)
 but if u made it on EMC machine using Gedit or likes it should be pretty 
 well safe to use and give no problems.




 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Can I use arrays in gcode? I need to store surface profile data

2009-08-26 Thread Kenneth Lerman
 now.  http://p.sf.net/sfu/bobj-july
 
 
 
 
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Can I use arrays in gcode? I need to store surface profile data

2009-08-26 Thread Kenneth Lerman


Stephen Wille Padnos wrote:
 Kenneth Lerman wrote:

   
 Here is my first guess at how I would do this:

 1 -- First, I would enhance emc to support a new M code that took at 
 least four arguments and returned at least one variable. Lets say M999 
 takes arguments N, X, Y, Z. N would be the name of an external program 
 to run (say N=123, then ExtFn123 would be run). The other variables 
 would be passed as arguments. Variable #999 (or whatever) would get the 
 return value.
  

 
 Why not enhance the existing external M-code feature so that it can 
 pass multiple arguments (not just P and Q) to the called program, and 
 which can get some sort of function return?  The returned value could 
 even be a string that gets parsed, so the program could return something 
 like #999=[47.2] #998=-109 ...
   
I hesitate to change the existing feature because I wouldn't want to 
break existing programs. My understanding is that the values of P and Q 
are assigned to the first and second arguments of the script. It makes 
sense to just pass the named arguments to the script in (not necessarily 
in the order that they occur) including the letter, the '=' and the 
value (after evaluation of functions).

I think that parsing the returned string value is an excellent idea. 
That would even let you call a gcode subroutine with supplied values.
   
 2 -- I would implement a new scan function that called M999 N=1 X=... 
 Y=... Z=... ExtFn1 would take the X, Y, Z values and store them in some 
 file.
  

 
 Probing can already do most of this, though it would be interesting to 
 have a hook that gets called whenever a probe move finishes.  This 
 hook should receive several pieces of information, probably including 
 start position, target position, probe trip position, and a flag or two 
 saying what kind of probe was being done and whether it succeeded.  (the 
 success flag is redundant, but it saves comparing the probed position 
 with the target endpoint and including fuzz, in every hooked program)
 Incidentally, this could be something like the existing probe log 
 comment/commands:
 (PROBE_HOOK, M199 myfile.txt)

   
 3 -- I would implement a conversion function that converted the scan 
 file into an easily (efficiently) read format. That might be M999 N=2 
 (ExtFn2).

 4 -- I would implement an external function (ExtFn3) that takes the 
 arguments X  and Y and returned the Z value (in variable #999). This 
 function would use the file format described above.

 All of this seems pretty straight forward.
  

 
 I think this all remains the same using the scheme I outlined.
   

Thanks for your comments, Steve. Since I don't have a probe, I don't 
think I'll be implementing this any time soon.
 - Steve


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   
Regards,

Ken

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mesa io card driving h bridge and counting encoders

2009-08-20 Thread Kenneth Lerman


jon doe wrote:
 SNIP...

 I see a long road ahead, but the journey should be grand, if the destination 
 a little anti-climatic.



 Josh
   
When you reach the top of the mountain,  you will discover that the 
journey isn't over. You'll see a higher mountain just a short distance 
away. :-)

Ken

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] line limitation

2009-08-09 Thread Kenneth Lerman
The problem is that Axis will try to display the program and that takes 
a lot of time and memory.

There is a pseudo comment that you can use to turn the axis display on 
and off in your program. Is is something like: (AXIS STOP) and (AXIS 
START). RTFM for the actual syntax -- I don't remember the exact commands.

There is no practical size limitation as far as the number of lines is 
concerned. The lines are NOT all read into memory at the same time in EMC.

Ken

aaron moore wrote:
 Hi EMC
 I have a file with something like 300,000 line of code to cut a complicated 
 fretwork screen divider, but EMC will not open the file.  I seem to remember 
 there was some discussion over a limit to the number of lines of code EMC can 
 deal with.  Could someone offer advice or point me to the archive.
 Thanx
 Aaron

   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hostmot2 homing

2009-07-18 Thread Kenneth Lerman
Does that make sense? If the terminator is really 100 ohms, that would 
imply that the pull up is in the order of ten ohms. (Am I correct in my 
assumption that the power supply is five volts?)

Ken

Leslie Newell wrote:
 Hi Ken,

 Yes, this was under load.

 Les

 Kenneth Lerman wrote:
   
 Did you measure that while it was connected to the receiver? If the 
 terminator is 100 ohms and the pull up is 1K ohms, the voltage under 
 load would only be around 400 mv. That should be fine, I think.

 If the pull up is 10K, then you would have around 40 mv. I don't think 
 that would work too well.

 Ken

 

 --
 Enter the BlackBerry Developer Challenge  
 This is your chance to win up to $100,000 in prizes! For a limited time, 
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full prize  
 details at: http://p.sf.net/sfu/Challenge
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hostmot2 homing

2009-07-17 Thread Kenneth Lerman
Did you measure that while it was connected to the receiver? If the 
terminator is 100 ohms and the pull up is 1K ohms, the voltage under 
load would only be around 400 mv. That should be fine, I think.

If the pull up is 10K, then you would have around 40 mv. I don't think 
that would work too well.

Ken

Leslie Newell wrote:
 Hi Peter,

 Each output swings from 0.48V to 4.1V. When IDX is high, /IDX is low. 
 Therefore the voltage between them is about 3.6V.

 Les


   
 What I was asking about (maybe not very well) is differential drive: in 
 other 
 words measured between IDX and /IDX. This should be positive in one index 
 state and negative in the other.
 


 --
 Enter the BlackBerry Developer Challenge  
 This is your chance to win up to $100,000 in prizes! For a limited time, 
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full prize  
 details at: http://p.sf.net/sfu/Challenge
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] GWiz Available for Alpha Testing

2009-07-07 Thread Kenneth Lerman
I saw that you have a new list and figured I had better get the previous 
ones fixed.
#1 -- fixed.
#2 -- fixed.
#3 -- Now depends on mode. If editing (edit button depressed), the 
selected line will be replaced. If insert mode, the paste buffer will be 
inserted after the current line.
#4 -- If it hurts when you do that, don't do that. :-). I'll take a look 
at that at a future date.

Keep them coming.

Regards,

Ken

Frank Tkalcevic wrote:
 I'm now using 0.1.5, and set up the symlink and that is going fine.

 A few more bugs ...

 1) If you try to save a new file, or save as an existing file, over the top
 of an existing .wiz file (select the file from the file selection dialog),
 it gets saved as file.wiz.wiz, that is, it doesn't overwrite the existing
 file, it always appends .wiz to the file name.
 2) If you open an existing file to edit, then open another file (or the same
 file twice), the contents of the files keep appending to the file already
 loaded.
 3) Copy and paste.  If you copy and then paste, the paste will replace the
 selected line in the list at the bottom.  Pasting a new line would be more
 helpful.
 4) If the path [WIZARD] WIZARD_ROOT is invalid, the splash screen
 disappears, but the main window never appears.  The program doesn't exit, it
 just keeps running invisibly in the background.


 About.txt doesn't appear to be used.  What is the plan for this?  In the
 wizards I have created, I have had the need to put some additional text
 information under the image eg - the X coordinates will be dependent on
 EMC's diameter/radius mode.  Currently I have this as part of the image.

 Also, how have you envisaged the speeds/feeds being set?  Is it set using
 the speed/feed wizard, then all following commands will use the global
 parameters to set the F and S commands?  Should the depth of cut be in here
 too?  For a lathe, I need to set feed rate, spindle speed and depth of cut
 for roughing and finish passes.  There's also the option of using CSS.  Do
 you want to standardise the names for these parameters?  

 Have you considered how people can add and share their wizards?  I see there
 is a growing library of .ngc programs scattered over the emc web.  I was
 think another nice enhancement would be to support .zip files (or .tgz, ...)
 as a way to allow people to create and share individual wizards.  It might
 be an easy way to share the programs, without having to put someone in
 charage of maintaining a database of wizards.



   
 -Original Message-
 From: Kenneth Lerman [mailto:kenneth.ler...@se-ltd.com] 
 Sent: Friday, 3 July 2009 5:28 AM
 To: Enhanced Machine Controller (EMC)
 Subject: Re: [Emc-users] GWiz Available for Alpha Testing

 I lied about my next action.

 My next action was to add a conversational mode to GWiz. If 
 the conv button on  GWiz is set, hitting accept (that's the 
 check character) after changing a wizard's variables causes 
 it to invoke execution of the wizard gcode in the running 
 Axis window as an MDI command.

 Pressing the conv button causes all of the wizards in the 
 library to be loaded into Axis so that they are available for 
 execution.

 1 -- LAZY_CLOSE = 1 must be in the .ini file.
 2 -- Axis must be in a state that MDI commands will be 
 accepted. Out of ESTOP, running, homed, etc.
 3 -- I have no idea what will happen if there is an error in 
 a gcode subroutine. The interpreter probably needs to be 
 changed to at least unwind the stack and get back to some 
 neutral state.
 4 -- Axis has been changed to accommodate this. You will need 
 the development version of Axis.

 This is Alpha functionality. I've tested it in a Sim environment.

 Ken

 Kenneth Lerman wrote:
 
 See: 

   
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GWiz_-_A_Gcode_Wizard_Fram
 
 ework

 The only thing that is remotely like a real wizard is the 
   
 Holes on a 
 
 Circle wizard. Feel free to write some real wizards.

 My next action will be to fix some of the dummy wizards 
   
 that are there.
 
 Ken


   
 --
 
  Crystal Reports - New Free Runtime and 30 Day 
   
 Trial Check out 
 
 the new simplified licensing option that enables unlimited 
 royalty-free distribution of the report engine for 
   
 externally facing 
 
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   
   
 --
 Kenneth Lerman
 Mark Kenny Products Company, LLC
 55 Main Street
 Newtown, CT 06470
 888-ISO-SEVO
 203-426-7166

 --
 
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

Re: [Emc-users] Gcode program error checking

2009-07-06 Thread Kenneth Lerman
Hi Frank,

I know that MSG doesn't expand parameters. When I implemented  DEBUG, 
which works just like MSG but expands parameters, I could have made MSG 
work the same way. I made a conscious decision to NOT do that.

If I had done that, there was a possibility of breaking existing 
programs in the sense that they would not give the same messages as 
before. My general philosophy has been that changes to the interpreter 
should not change the behavior of existing valid programs.

A workaround is to use DEBUG instead of MSG.

A reasonable alternative would be to modify the interpreter to add an 
.ini variable: EXPAND_PARAMETERS_IN_MSG. If that is set to a non-zero 
value, parameters would be expanded.

Ken

Frank Tkalcevic wrote:
 I need to check and report errors in a Gcode program.  I want to validate
 the parameters passed into my o-word subroutine.  At the moment I am doing
 this...


 O10 if [ #initialCutDepth LE 0 ]
 (MSG, Invalid initialCutDepth=#initialCutDepth)
 M2
 O10 endif


 but it only detects the error at run time.

 I can also put in a bogus statement, such as a G76 without arguments...


 O10 if [ #initialCutDepth LE 0 ]
 (MSG, Invalid initialCutDepth=#initialCutDepth)
 G76
 O10 endif


 And at load time I get All axes missing with motion code, although it
 points to the wrong line.

 Is there a better way?


 Oh, and I just noticed that MSG doesn't expand parameters.  That's annoying.


 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] O-words with n-words, patch attached

2009-07-03 Thread Kenneth Lerman
For bug fixes, I would suggest the development list.

For enhancements or changes to functionality that might break something, 
I'd suggest a discussion on the development list prior to doing the 
work. I'd also suggest adding a page to the wiki where significant 
points of discussion could be documented.

As a developer, I found that methodology useful when creating named 
o-words. The need for documentation and discussion helped me clarify the 
functionality and caused me to change the syntax to something better 
than my original proposal.

Ken

Maximilian H wrote:
 Hello Chris,

 i do have more interpreter code. To whom to i submit it for
 discussion/review/commit ?

 Thanks
 BR
 Max


   
 On Mon, Jun 29, 2009 at 02:28:12PM +0200, Maximilian H wrote:
 
 The attached small patch to Interp::read_items allows o-words with
 n-words without changing any other behaviour (methinks).
   
 This tested OK so I committed it for you.  Thanks for contributing!

 Chris

 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Debug gcode program

2009-07-03 Thread Kenneth Lerman
I usually find that adding some debug statements can solve my problem.

(debug, variable1=#1 namedvar=#this_var)
The above will display values of variables.

(print, variable1=#1 namedvar=#this_var)
Will write the output to stdout. (or perhaps stderr -- I forget).
See the manual.

Ken

Frank Tkalcevic wrote:
 Just to clarify this, it's a gcode program that uses functions, loops and
 conditionals.  What's the best way to debug this? 


   
 -Original Message-
 From: Frank Tkalcevic [mailto:fr...@franksworkshop.com.au] 
 Sent: Friday, 3 July 2009 7:45 PM
 To: 'Enhanced Machine Controller (EMC)'
 Subject: Debug gcode program

 I have a gcode program.  I loaded it into axis.  It loads, 
 but the backplot doesn't look right.  

 How can I debug it?

 Is there a way to get the gcode output from it?  Can I run it 
 through the simulator?  Is the simulator easy to set up?

 


 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] GWiz Available for Alpha Testing

2009-07-02 Thread Kenneth Lerman
I lied about my next action.

My next action was to add a conversational mode to GWiz. If the conv 
button on  GWiz is set, hitting accept (that's the check character) 
after changing a wizard's variables causes it to invoke execution of the 
wizard gcode in the running Axis window as an MDI command.

Pressing the conv button causes all of the wizards in the library to be 
loaded into Axis so that they are available for execution.

1 -- LAZY_CLOSE = 1 must be in the .ini file.
2 -- Axis must be in a state that MDI commands will be accepted. Out of 
ESTOP, running, homed, etc.
3 -- I have no idea what will happen if there is an error in a gcode 
subroutine. The interpreter probably needs to be changed to at least 
unwind the stack and get back to some neutral state.
4 -- Axis has been changed to accommodate this. You will need the 
development version of Axis.

This is Alpha functionality. I've tested it in a Sim environment.

Ken

Kenneth Lerman wrote:
 See: 
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GWiz_-_A_Gcode_Wizard_Framework

 The only thing that is remotely like a real wizard is the Holes on a 
 Circle wizard. Feel free to write some real wizards.

 My next action will be to fix some of the dummy wizards that are there.

 Ken

 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing 
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Trouble with Python

2009-06-30 Thread Kenneth Lerman
Look in the file: .emcrc. The GWiz source code shows how to access this; 
but it is the same format as a .ini file.  Use section PICKCONFIG, 
variable LAST_CONFIG to access it.

Ken

Leslie Newell wrote:
 Thanks Jeff,

 Unfortunately that raises another problem. I need to find the ini file. 
 Axis knows this because it is passed on the command line. I think to get 
 this tool change stuff working correctly I will need to integrate it 
 into Axis anyway.

 Les

 Jeff Epler wrote:
   
 You need to set emc.nmlfile to the right path to emc.nml before creating
 the stat and command objects.

 This is how it's done in axis:
 emc.nmlfile = os.path.join(os.path.dirname(sys.argv[2]), 
 inifile.find(EMC, NML_FILE))

 hal_manualtoolchange doesn't need to do this because it doesn't use nml
 at all, it acts entirely through hal.

 Jeff

 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   
 


 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Non-invoked Program Stop, Re: .ngc file RFReview

2009-06-26 Thread Kenneth Lerman
You might consider putting an emitter follower circuit at the output 
of your circuit. The NPN Darlington configuration might be appropriate. 
http://images.google.com/imgres?imgurl=http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/ietron/darl.gifimgrefurl=http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/emitfol.htmlusg=__YsP5vDTSAyH1_LgPZsUd4Kj7csk=h=256w=248sz=2hl=enstart=6um=1tbnid=9O8nEjwky6glcM:tbnh=111tbnw=108prev=/images%3Fq%3Demitter%2Bfollower%26hl%3Den%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26sa%3DX%26um%3D1

Ken

Kirk Wallace wrote:
 On Fri, 2009-06-26 at 14:52 +1000, Frank Tkalcevic wrote:
   
 (Other good news/bad news. I blew out the serialDAC, but had 
 a spare chip. I'm looking for advise on how to protect the 
 output op-amp:
 http://www.wallacecompany.com/machine_shop/EMC2/serial_dac/ser
 ial_dac_sch.png 
   

 Oops, looks like I missed the link wrap. Here is a short URL:
 http://preview.alturl.com/9qo4 

   
 I'm not sure if this is what you are looking for, but there was an example
 circuit to opto-isolate analog outputs posted on the gecko yahoo group, in
 Files/G100 and G101/G100 to VFD.zip.  It contains a pdf schematic, as well
 as gerber files.  Full link here...

 http://f1.grp.yahoofs.com/v1/wEdESqlRISAvXS1kqNpUyHreATzPsS6fyvPYjIkwCrzxcP5
 sN-O39ow1eZON1_k89sEXfl4jj18PJjRgWEkX-UyxFYezazMt/G100%20and%20G101/G100%20t
 o%20VFD.zip
 

 Short URL here http://preview.alturl.com/8hm6

 Thanks for the link, Frank. I wish I were better at electronics, then I
 would know what this circuit does. It looks like the op-amps only have a
 10kOhm resistor on their outputs, which would limit the current going in
 or out of the amp. This may offer current protection but maybe not
 enough voltage protection. I was thinking of putting a 12 volt Zener
 between the op-amp output and the output ground, but I don't know if
 that is a good idea or not. I suppose I could just try it and see what
 happens.

 It looks like the above circuit takes in an analog input, converts it to
 PWM or PDM, then back to analog on the far side of the opto-isolator. I
 wonder how fast it is? A VFD signal might not need to change quickly,
 but an analog axis servo would.

   
 I also got my ATtiny2313 programmer and proto-board working, 
 but blew both 2313 chips I had on hand the first day, with no 
 gratuitous smoke either. I'm looking for a 2313 simulator 
 that will run on Ubuntu so I can test programs before I try 
 to program real chips.)
   
 I only know of AVRStudio for windows, but I find that it's simulation is
 pretty ordinary.  I was simulating the 2313 a while back and it was missing
 a timer.  Maybe it was just a bad install.
 

 I don't have any Windows machines so I would have to set up Wine to run
 AVRstudio, but it may be worth it, if I can save some burnt chips.

   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using MDI during a Program?

2009-06-22 Thread Kenneth Lerman


Terry wrote:
 Leslie,

 I am not opposed to this change and if there is enough
 intrest in this then great.

 I think that a better feature would be a tool check
 Cutter is loading up(or whatever problem),you hit the
 tool check button and the machine would move to a safe location
   
How would the tool know where the safe location is or how to get to the 
safe location?

If I'm thread milling on a mill, I can't just pull straight up? If I'm 
face grooving on a lathe I have to move in one direction, while if I'm 
cutting off, I have to move in another.

Ken

 and go into a pause mode.Fix the problem and hit the tool check 
 button again and machine would go to where it was when the button
 was pushed(or maybe the line right before it.
 It would be pretty close to what an M01 would do but
 with a move away and back.
 There is going to drawbacks for this but it might be useful.



 Later

 Terry



 On Mon Jun 22  4:02 , Leslie Newell les.new...@fastmail.co.uk sent:

   
 Hi Terry,

 
 Having a tool presetter or not,at some point in time you have to
 inform the control how long the next the tool is.
   
 Of course.

 
 then you put the next tool in and
 touch it off, write it in the tool table in the T2 line
   
 You need to manually jog to touch off the tool. It doesn't matter if you 
 need MDI or not, you still have to stop the program. Not sure why you 
 bother with manually changing the tool table though. The touch off 
 button in Axis does it for you, though it needs to be able to use MDI 
 mode to do it.

 
 then scroll down to T2M6 in the prog and right click and hit start from 
 here.
 I think that is pretty easy.
   
 Yes, but prone to errors, especially if you have a long program with a 
 number of tool changes. It is a lot easier to simply press cycle start.


 
 Replacing broken tools goes like this for me:
 Groan loudly hit esc,jog out of the way,pick up
 what is left of the tool and throw it at
 the wall as hard as I can.
   
 LOL. Being able to jog halfway through a job doesn't really help with 
 this situation. Unless you have superhuman reflexes you will still have 
 to back up the program to the point where the cutter failed.


 However, where it is really useful is if the cutter starts loading up 
 with swarf. I regularly machine sheet plastic (acrylic engraving 
 laminate). While plunging the cutter often gets a lot of swarf wrapped 
 around it. After a couple of plunges you end up with enough tied around 
 the cutter to start rubbing and burning the surface of the work. You 
 then need to pause, lift the cutter and clear the swarf. This is a 
 production job, not hobby use. I have experienced similar problems often 
 enough on my lathe as well.


 
 I view the developers time as super-valuable and would not
 like to see them spend time on this when there are other more
 important things on their plate.
   
 My point is that being able to jog/use MDI during a manual tool change 
 should be a relatively trivial task that makes life a easier for a lot 
 of EMC users. The other day I was talking to an OEM who was trying to 
 choose between EMC and Mach. He was pretty enthusiastic about EMC until 
 I told him you can't jog during a tool change. As far as he was 
 concerned that was a show stopper and he went for Mach.

 Being able to jog during pause is not nearly as easy and would involve 
 quite a bit of work.

 Les
 


  Msg sent via CableONE.net MyMail - http://www.cableone.net
 --
 Are you an open source citizen? Join us for the Open Source Bridge conference!
 Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
 Need another reason to go? 24-hour hacker lounge. Register today!
 http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using MDI during a Program?

2009-06-22 Thread Kenneth Lerman
 https://lists.sourceforge.net/lists/listinfo/emc-users
 

 --
 Are you an open source citizen? Join us for the Open Source Bridge conference!
 Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
 Need another reason to go? 24-hour hacker lounge. Register today!
 http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using MDI during a Program?

2009-06-22 Thread Kenneth Lerman


Steve Blackmore wrote:
 On Mon, 22 Jun 2009 11:27:56 -0400, you wrote:
 
Steve,

It's nice to save bits, but I'd appreciate it if you left a little more 
leading context.

--I had quoted Terry
Terry wrote:
  Leslie,
 
  I am not opposed to this change and if there is enough
  intrest in this then great.
 
  I think that a better feature would be a tool check
  Cutter is loading up(or whatever problem),you hit the
  tool check button and the machine would move to a safe location
 
-End of Quote

So, my question and comment were in reference to tool check; not feed 
hold.

 
 How would the tool know where the safe location is or how to get to the 
 safe location?
 
 It wouldn't, and why should it.
 
 If I'm thread milling on a mill, I can't just pull straight up? If I'm 
 face grooving on a lathe I have to move in one direction, while if I'm 
 cutting off, I have to move in another.
 
 Commercial controls won't feedhold on thread milling.
 
 BUT - Feed hold does just that, it stops movement. Nothing more.
 
 It doesn't withdraw, go to home, stop the spindle, make coffee or
 anything else.
 
 Up to the operator where he feed holds and more importantly where he
 positions the tool for the restart.
 
 Some controls complete the current line, some stop mid move,  modern
 controls then allow the operator to step out of the program and do
 whatever.
 
 Steve Blackmore
 --
 
 --
 Are you an open source citizen? Join us for the Open Source Bridge conference!
 Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
 Need another reason to go? 24-hour hacker lounge. Register today!
 http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Named o-words possible bug/interpreter problem

2009-06-17 Thread Kenneth Lerman
SWPadnnos is correct. The only work around is to use a numbered o-word.

Adding string variables would be considerable effort for relatively 
little payback.

Ken

Stephen Wille Padnos wrote:
 Alan Condit wrote:

   
 I think that I may have found a bug in the interpreter (at the very  
 least a problem).

 This call works to call (indirect) o600 from within oCallSubSub
 oCallSubSub call [600] [-0.1161] [-0.0062]
 However, if you change to named o-words, then this call reports a bad  
 number format (since it is not a number but the name of the  
 subroutine to be called).
 oCallSubSub call [CutOutside] [-0.1161] [-0.0062]

 Is this a bug? Is there a work around at the moment?
  

 
 This isn't a bug, and there is no workaround as far as I know.

 The issue is that variables are numbers, not text strings.  You can 
 indirectly call a numbered subroutine because the variable is converted 
 into a number before the call is made, and the interpreter expects a 
 number for a subroutine call (names were only added in the last year or 
 two).

 The only way to make this work the way I'm thinking you want it to work 
 is to add the ability for variables to contain strings.  This would be a 
 nice feature, but I'm not sure how hard it is to add.

 - Steve


 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing 
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] GWiz Available for Alpha Testing

2009-06-17 Thread Kenneth Lerman
See: 
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GWiz_-_A_Gcode_Wizard_Framework

The only thing that is remotely like a real wizard is the Holes on a 
Circle wizard. Feel free to write some real wizards.

My next action will be to fix some of the dummy wizards that are there.

Ken

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mill-Drill needs steppers and servos?

2009-06-13 Thread Kenneth Lerman
If you are planning on building a gas fired forge, you should look at:

Recuperative Gas Fired Forge Furnace, by Robb Gunter, et al. 
(Published by: ABANA).

Ken

Marty Swartz wrote:
 Never mind, Google is indeed my friend.

 Gas Burners for Forges, Furnaces, and Kilns
 Skipjack Press, Inc. (February 2004)
 ISBN-10: 1879535203
 ISBN-13: 978-1879535206

 - Marty

 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing 
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] .ngc file RFReview

2009-06-13 Thread Kenneth Lerman
Kirk Wallace wrote:
 In case anyone is interested, I have an .ngc file that I'll probably run
 tomorrow, but if anyone finds anything that might improve it, I would
 appreciate hearing from you. Thanks.

 http://wallacecompany.com/machine_shop/EMC2/ngc/encoder-100ppr-4c.ngc 

   
Without reverse engineering the actual slot angles, etc, it is difficult 
to really *know* what the code does. Assuming though, it is intended to 
do what the AXIS backplot shows it is doing, the code can be greatly 
improved. Just to be sure, I'm going to start by stating what I think 
the intention of the code is.

The code mills a disk. The disk has a center hole and twenty-five radial 
slots. The slots have equal size and spacing. The spacing is different 
than the slot width.

I would start by defining what I want to do as a gcode subroutine:

See: http://pastebin.com/m7803d6eb for an outline -- reproduced, below.

   1.
  (helper function to mill a single slot)
   2.
  (#1 - angle)
   3.
  (#2 - slot width in degrees)
   4.
  (#3 - radial distance from center to edge of slot)
   5.
  (#4 - radial length of slot)
   6.
  oencoder_MillSlot sub [#angle] [#4] [#5] [#6]
   7.
  (...code to be supplied)
   8.
  oencoder_MillSlot endsub [#angle] [#4] [#5] [#6]
   9.
   
  10.
  (Mill an encoder disk)
  11.
  (#1 - outside diameter)
  12.
  (#2 - hole diameter)
  13.
  (#3 - number of slots)
  14.
  (#4 - slot width in degrees)
  15.
  (#5 - radial distance from center to near edge of slot)
  16.
  (#6 - radial length of slot)
  17.
  oencoder sub
  18.
  #N = #3
  19.
   
  20.
  (mill the outside)
  21.
  (...code to be supplied)
  22.
   
  23.
  (mill the central hole)
  24.
  (...code to be supplied)
  25.
   
  26.
  (mill the slots)
  27.
  #cnt=0
  28.
  oslotLoop while [#cnt LT #N]
  29.
 #angle = [360 * #cnt / #N]
  30.
 oencoder_MillSlot call [#angle] [#4] [#5] [#6]
  31.
  oslotLoop endwhile
  32.
   
  33.
  oencoder endsub

If you write something like this, it will be useful for all of us. 
Things that you might consider adding to the general outline:

1 -- cutter diameter (to user cutter compensation)
2 -- depth of cut
3 -- an arbitrary center (I've assumed the center at (0,0))
4 -- roughing and finishing passes and specs for them

Ken




--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Successive G0 moves

2009-06-13 Thread Kenneth Lerman


Rainer Schmidt wrote:
 As I understand the parsing
 G1z1x1y1
 is the same as
 g1z1
 x1y1
 or
 g1z1x1
 y1
 or
 g1
 z1
 x1
 y1

 I am sure that a end of line or cr/lf or any combination is not part
 of the parser rules regarding a command structure. I have generated
 gcode which has no line breaks in 4MB of gcode. But that runs under
 mach3...
   
That is certainly not the case with EMC; and RS274NGC specifies a thing 
called a block that corresponds to a line in EMC. The maximum length of 
a block is 256 characters (or maybe 255).

My understanding is that:
g1 z1
x1
y1
is NOT the same as
g1x1y1.

g1 does coordinated motion. That means it moves in a straight line from 
its current position to its target position. The line with just the x1 
on it is equivalent to g1x1 because the interpreter remembers the 
previous g1 command.

-
Ken
-


 g1z1
 g1x1
 g1y1

 are the same as

 g1z1g1x1g1y1

 I'll verify that a bit later when I am in the shop.
 Rainer


 On Fri, Jun 12, 2009 at 10:12 PM, Jon Elsonel...@pico-systems.com wrote:
   
 K.J. Kirwan wrote:
 
 Hi all,

 Wait, are you sure this is a bug?

 I don't know how the motion controller works in EMC2 as
 far as its in-position system.  I don't see any .ini
 parameters listed to set in-position tolerances.
 (Q: What *are* EMC2's in-position tolerance settings,
 and how are they adjusted if not in the .ini file?)


   
 It is not in the .ini file because there is no in position tolerance.
 There is a following error tolerance, but that causes a program abort.
 EMC does not wait for an axis to be in position before continuing.
 
 But in the case of allowable following error, if the
 machine is moving with sufficient velocity, the allowable
 following error should ramp up from the low end
 MIN_FERROR= (Integrator manual shows as .010 default)
 to as high as
 FERROR= (Integrator manual shows as 1.0 default)
 (See Integrator Manual, Chapter 7.2.9, page 34)

   
 It DOES have  asliding scale for following error.
 
 Could something like this be happening (normally)
 with the in-position tolerance values?  If the
 machine has ramped up to max speed, and the next
 line does not slow things down (even if direction
 changes), then maybe in-position is reached as
 much as an inch early and the next motion (quite
 properly) begins?

   
 EMC2 computes how far before the end of a move it needs to decelerate
 based on
 velocity and the max_acceleration parameter for that axis in the .ini
 file.  As soon as
 the currently moving axis begins its deceleration, the next axis to move
 will begin to
 accelerate when in G64 mode.  In G61, that is defeated, and the move
 must be completed before
 the next move starts.

 Jon

 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 



   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Let's Try to Stay on Topic

2009-06-13 Thread Kenneth Lerman
Assume gentle voice...

This list is called emc-users. AFAIK, it is not emc-users bull session. 
While much of what has been written about apprenticeships, metric vs 
imperial, and other such subjects is interesting, it is a distraction 
from the subject of the list.

If we could all try to stay on topic (and I include myself), it would 
help keep us all productive. I've received 24 messages on this list 
today and it is still early.

Thanks,

Ken

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] .ngc file RFReview

2009-06-13 Thread Kenneth Lerman
Nice job, Lawrence.

When I get GWiz into good enough shape to release, I'd like to be able 
to steal your code and make a wizard out of it. Would you consider 
GPLing it? Or better yet, releasing it to the public domain. I say 
better yet because then you can just add a single line comment: 
(Released to the public domain by Lawrence Glaister.) That seems easier 
than the multiple lines for the copyright notice plus the GPL license 
reference.

Some changes I might make:

1 -- Use named o-words, instead of the numerical ones. -- That's a 
relatively new feature.
2 -- I think I would have put the index slot on the inside of the main 
slots, instead of the outside. That way you need only one long reach 
opto. When converting it to a wizard, I would make that an option.

3 -- I would make the actual wizard a radial slot wizard. Then to do the 
encoder, you would invoke the following:

A -- A radial slot wiz to do the index slot.
B -- A radial slot wiz to do the main slots
C -- A bolt hole circle wiz to do the mounting holes
D -- An outside circle wiz to do the outside perimeter
E -- An inside circle wiz to do the inside hole.

Of course, one could make a super wiz to do the whole thing.

Ken

Lawrence Glaister wrote:
 Hi Kirk,
 Looks like you have been having fun in gcode. One thing you might want
 to consider for an encoder wheel is to make the cutouts the same size as
 the solid areas to get as close to a 50% duty cycle on the detector(s)
 as possible. You didnt say if you were just using the wheel for a pulse
 generator or a 2 channel encoder. You might also consider adding another
 hole for an index detector if you need that.
 Along a similar line, you can check out a lathe spindle encoder I built
 a while back. The gcode program can be adjusted to make an encoder of
 any number of pulses. If you are using slot source/detectors, you have
 to make sure the holes in the disk can be reached.

 cheers... post a picture when you get it made!
 Lawrence

 http://members.shaw.ca/swstuff/spindle-encoder.html
 http://members.shaw.ca/swstuff/spindle-encoder.ngc


 On Fri, 2009-06-12 at 22:22 -0700, Kirk Wallace wrote:
   
 In case anyone is interested, I have an .ngc file that I'll probably run
 tomorrow, but if anyone finds anything that might improve it, I would
 appreciate hearing from you. Thanks.

 http://wallacecompany.com/machine_shop/EMC2/ngc/encoder-100ppr-4c.ngc 

 


 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing 
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] emc.nbl

2009-06-12 Thread Kenneth Lerman
Stuart Stevenson wrote:
 Gentlemen,
Sorry about the dsyelixc command line. :) I think it is the result
 of old age. Today is the marking of another year. Wish me happy
 birthday. I am 56 today.
 thanks
 Stuart
   
Happy birthday, Stuart. You look pretty good for 65. (Pardon my 
dislexia.) :-)

Ken


 On Fri, Jun 12, 2009 at 8:04 AM, Stuart Stevensonstus...@gmail.com wrote:
   
 Gentlemen,
   This is the return from the command line start.

 stus...@stustev-laptop:~$ emc2-trunk-sim/scripts/emc
 EMC2 - 2.4.0~pre
 Machine configuration directory is
 '/home/stustev/emc2-trunk-sim/configs/vismach'
 Machine configuration file is '5axhydrotel.ini'
 Starting EMC2...
 libnml/cms/cms_cfg.cc 621: cms_config: can't open 'emc.nml'. Error = 2
 -- No such file or directory
 libnml/nml/nml.cc 368: NML: cms_config returned -1.

 **
 * Current Directory = /home/stustev/emc2-trunk-sim/configs/vismach
 *
 **
 * BufferName = toolCmd
 * ProcessName = tool
 * Config File = emc.nml
 * error_type = 0 (NML_NO_ERROR)
 

 emcToolCmd buffer not available
 libnml/cms/cms_cfg.cc 621: cms_config: can't open 'emc.nml'. Error = 2
 -- No such file or directory
 libnml/nml/nml.cc 368: NML: cms_config returned -1.

 **
 * BufferName = toolSts
 * ProcessName = tool
 * Config File = emc.nml
 * error_type = 0 (NML_NO_ERROR)
 

 toolSts buffer not available
 libnml/cms/cms_cfg.cc 621: cms_config: can't open 'emc.nml'. Error = 2
 -- No such file or directory

 **
 * BufferName = emcError
 * ProcessName = tool
 * Config File = emc.nml
 * error_type = 3 (NML_INVALID_CONFIGURATION)
 

 emcError buffer not available
 can't connect to NML buffers in emc.nml
 5axhydrotel.hal:31: execv(5axhydrotelgui) failed
 5axhydrotel.hal:31: 5axhydrotelgui exited without becoming ready
 Shutting down and cleaning up EMC2...
 emc2-trunk-sim/scripts/emc: line 386: emc.nml: No such file or directory
 Cleanup done
 EMC terminated with an error.  You can find more information in the log:
/home/stustev/emc_debug.txt
 and
/home/stustev/emc_print.txt

 thanks
 Stuart
 --
 you can lead a person to knowledge
 but you cannot make him think

 



   


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Successive G0 moves

2009-06-12 Thread Kenneth Lerman
It seems clear to me that the described behavior is a bug. You should 
file a bug report.

Ken

Rainer Schmidt wrote:
 On Fri, Jun 12, 2009 at 6:24 PM, Shabbir Hussains_hussai...@yahoo.com wrote:
 G0 should not be used for cutting. It is only for positioning when the tool 
 is at safe Z height (out of workpiece and clamps etc.). I have worked with 
 Fanuc and Siemens controllers. In these controllers when G0 move is 
 programmed, all the axis used in G0 move starts moving at rapid feeds (set 
 in the parameters of the controller) and the axis that achieve the position 
 just stops and others continue to run. So G0 move produces a non-linear 
 move. This is normal behaviour.

 So G0 move should finally achieve the target position not the linear path. 
 That is why it must be used for positioning.

 Thanks

 Shabbir Hussain
 
 Would
 G0Z10
 G0X5Y8
 Posiiton Z first and then x and y? I did not spend to much thought
 about this and find this thread potentially disaster avoiding...
 Rainer
 
 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables unlimited
 royalty-free distribution of the report engine for externally facing 
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC2 G-code Math

2009-06-11 Thread Kenneth Lerman
Kirk Wallace wrote:
 Where does the math software used in g-code come from? In other words,
 does anyone have links to more information on the g-code math functions?
 Among other things, I would like to know if there is a pi function, or
 do I need to use *3.14159265358579.? Thanks for any help.
   
There is no pi function. And since angles are in degrees, you can't use 
the 2*arcsin(1) to get pi.

Ken


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] GWiz Needs a Logo

2009-05-30 Thread Kenneth Lerman

I need a splash screen for GWiz. My thoughts are Tux with wizard hat and 
maybe some EMC relatedstuff.

I also need a small icon to stick in the upper left corner of the window.

If there is someone out there with some artistic skills who can create 
these, I'd appreciate it.

Thanks,

Ken


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touch off / workpiece home coordinate

2009-05-01 Thread Kenneth Lerman
I don't know which version you are using, but judging from the message 
it appears that there is an interpreter bug.

There is a table in the interpreter that contains pointers to the 
functions that implement the gcodes. The actual gcode number is 
multiplied by 10 to determine the index in the table. So, G5.2 goes in 
the 52nd slot and G5.3 goes in the 53rd slot.

You can imagine how 5.3 and 53 might get confused with each other by a 
simple off by a factor of ten bug.

That's just a (somewhat) educated guess about the problem.

Ken

Rob Jansen wrote:
 Tom,
 
 The G53 command results in the following error:
 
 interp_error: Can use only G5.2 or G5.3 after G5.2
 
 Is this a bug? - There is no G5.2 or G5.3, only a G53 and the manual does
 not mention any dependencies on G53.
 
 I also read the information on G92 - it sets global offsets and affects all
 coordinate systems. That's why I had problems understanding the touch off
 ...
 
 G53 not working is too bad, but for now I'll use coordinate system 1 (G54)
 as absolute system. That still gives me 8 fixtures to define which should be
 just enough ;-)
 
 Regards,
 
 Rob
 
 
 On Thu, Apr 30, 2009 at 9:07 PM, Tom kestrel...@yahoo.com wrote:
 
 In MDI:

  Move to the machine origin. G53 G0 X0Y0Z0 (A0B0C0)

  Clear the G92 coordinate offset.G92.1

  Use the G54 coordinate system.  G54

  Set the G54 coordinate system to be identical to the machine  coordinate
 system.G10 L2 P1 X0Y0Z0 (A0B0C0)

 (watch the screen (in Axis) when you do this and you'll see the work
 offsets
 move to the machine home position.)

  Turn off tool offsets.   G49

  Turn on Relative coordinate display from the menu

 --
 Register Now  Save for Velocity, the Web Performance  Operations 
 Conference from O'Reilly Media. Velocity features a full day of 
 expert-led, hands-on workshops and two days of sessions from industry 
 leaders in dedicated Performance  Operations tracks. Use code vel09scf 
 and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RES: Successful Emc2 conversion (happy dance...)

2009-01-16 Thread Kenneth Lerman

Get a tapered end mill.

Ken


Stephen Wille Padnos wrote:
 Tom wrote:
 
 Steve Blackmore st...@... writes:

  

 Hi Tom - can't you remove them with a full depth finishing cut? Distinct
 edges like that are stress magnets ;)

 Steve Blackmore


 Hi Steve,
 Those are tapered walls. The contours for those pockets are about 50 thou 
 inset
 at the bottom of the pocket, so the walls are that much thicker down there. 
 It
 might be worth investigating using a 3/8 endmill with a 1/16 radius end. 
 That
 would give some gradation to each Z level step, plus the bottom cut would 
 have
 the full radiused corners.
  

 What you need is a 5-axis mill :)
 
 (nice stuff, by the way)
 - Steve
 
 
 --
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Successful Emc2 conversion (happy dance...)

2009-01-15 Thread Kenneth Lerman
Can you spell product liability insurance? I consider that to be an 
expensive, but necessary evil.

Finite element analysis, fatigue testing, and destructive testing might 
also be useful.

Ken

Dave Engvall wrote:
 On Jan 15, 2009, at 10:38 AM, Tom wrote:
 
 Jon Elson el...@... writes:

 snip...

 This is for a ** V8 ** bike?  Is this a showpiece, or something  
 somebody
 is going to ride a lot?

 The milling of parts like this tends to leave sharp inside corners  
 that
 worsens the problem.  You might be able to get a stronger part by  
 using
 a bull-nose end mill to get rid of the sharp corners.

 Jon
 Hi Jon,
 Yes my customer is making 10 more of these trikes, there are 6 or 7  
 currently in
 his shop.
 Yes, they get ridden quite a bit, as they handle really well, and  
 are very
 comfortable to ride in for days at a time... not to mention super- 
 fun fast;-)

 I agree re: radiusing the inside corners. I might possibly even get  
 rid of the
 lightening pockets altogether, since the sum of weight saved would  
 amount to
 only 10 oz or so - this is a heavy trike anyway. (See my response  
 to Gene's
 comments)

 Tom
 
 7075 only buys you something in bulk parts. I have no idea where the  
 division between bulk and
 thin wall comes.
 
 I'm not so concerned about dynamic stress as I am about fatigue  
 cracking.
 Decent radii on the corners will certainly help.
 
 One trick is to machine the part out of plexiglas and then heat to  
 stress relieve.
 Then stress the part and view with polarized light; one can see the  
 stress points and engineer the
 design to compensate from that knowledge.
 
 Boeing used a lot of 4340 and 300M for critical parts.
 
 Good luck.
 
 Dave
 
 

 -- 
 
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 
 
 --
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Software question

2009-01-08 Thread Kenneth Lerman
For my use and for (as far as I can tell), almost everyone else, it is 
unnecessary. It is also complex.

Ken

paul_c wrote:
 On Wednesday 07 January 2009, Kenneth Lerman wrote:
 NML is used because it supports an environment where functions are split
 across multiple machines.

 I don't know how widely that functionality is used, though. As far as
 I'm concerned, it adds an unnecessary level of complexity.
 
 Please define unnecessary ... complexity within the context of emc2.
 
 
 
 
 
 --
 Check out the new SourceForge.net Marketplace.
 It is the best place to buy or sell services for
 just about anything Open Source.
 http://p.sf.net/sfu/Xq1LFB
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] NOMINATION -- Stuart Stevenson

2009-01-07 Thread Kenneth Lerman

Ken

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Software question

2009-01-07 Thread Kenneth Lerman
I'll take a shot at answering number 3.

Richard F. Amaral wrote:
 Could someone explain or point me to documentation that explains the  
 following:
...
 
 3. Why use NML? Why not use just shared memory? Is NML an attempt at  
 standardizing communication between software entities, i.e.  
 user-kernel, user-user, kernel-kernel?

NML is used because it supports an environment where functions are split 
across multiple machines.

I don't know how widely that functionality is used, though. As far as 
I'm concerned, it adds an unnecessary level of complexity.

 
 Thanks for your patience in advance.
 
 -Rich
...

Ken

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: PDP11

2009-01-03 Thread Kenneth Lerman


tomp wrote:
...
 Collosal Cave
 you are in a twisty little maze of passages :)
all alike or all different?
 TomP
 
 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

Ken

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ethernet, rtai, and rtnet

2008-12-29 Thread Kenneth Lerman


Jon Elson wrote:
 Kenneth Lerman wrote:
 Jon,

 Don't use rtnet. Just use ethernet point to point to replace a parallel 
 port. Then there is NO net stack. Just use raw ethernet packets. 
 Overhead is then a few dozen bytes.
   
 OK, but is there an ethernet driver that is callable within the rt 
 environment?
 I may have missed such a thing, but I'm not aware of it.

I would think (always a dangerous activity), that if there is a rtnet 
driver available within the rt environment, it could be stripped to just 
the lowest level.

Ken

 
 Jon
 
 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ethernet, rtai, and rtnet

2008-12-28 Thread Kenneth Lerman
Remember that the issue on ethernet will not be throughput; it will be 
latency. I'm sure Jon can give you a profile of what he is doing.

How many bytes in a send packet?
How many bytes is a receive packet?
Cycle time?

I assume it would be acceptable to do something like:
1 -- Receive M byte packet
2 -- Compute
3 -- Send N byte packet
Do it all over again. Vary the number of times per second you do this 
and see how fast you can go with differing compute cycle loads.

If Jon provides those numbers, you will have a useful test case. Running 
that and recording CPU utilization should pretty much tell the story.

Ken

Jon Elson wrote:
 Kent A. Reed wrote:
 The trouble is, I'm certain enough of myself to believe I can 
 successfully lash up some computers running rtai/rtnet and exchanging 
 messages on a private ethernet segment (probably just round-tripping 
 packets in the first instance, so I could get a sense of the latency 
 involved), but I'm uncertain how I would relate this to EMC2.

 This uncertainty arises because

 (1) I don't see in my reading of the mail archive that there's any 
 agreement on the protocol we'd want to use over this real-time 
 communications channel so I don't know what I could implement that would 
 resonate with or help others; and

 (2) I don't see any performance requirements or success criteria 
 articulated for it, so I don't know how to do truly meaningful testing.
 What I'd like to do is make up a board using one of the Arm7 or Arm9 
 processors with built-in 10/100 Ethernet and connecting to my servo/stepper 
 controller boards with some parallel I/O pins.  The PPMC driver (hal_ppmc.c) 
 already build up packets of a sort to read all info from the board, compute 
 new velocities and then output a packet to the board.  The scheme would be an 
 outgoing packet had a map of register locations to read/write, and for the 
 reads, a response packet would be sent back to the PC with the register 
 contents in the order in the map.
 
 
 First, I have no idea whether rtnet is compatible with the Arm7/9 
 Ethernet hardware, or how much hacking would be required to the already 
 existing protocol stack to make it compatible.
 
 As for performance, the current driver and PCI parallel port hardware 
 can do about 1.2 MBytes/second, so a full 4-axis servo cycle can take 
 under 100 us.  With motherboard parallel ports and slower CPUs, or 8 
 axes, it can be up to 150 us.  Unless there is a LOT of overhead either 
 on the rtnet side or the ARM side, it doesn't look like it should be 
 very hard to beat those numbers!
 
 I just don't have the time to dig deeply into this right now.  I know 
 what I describe above is a very specific thing for a specific board 
 manufacturer, but if somebody were going to dig into this, I'm sure that 
 much of what was developed could be used in other HAL drivers.
 
 
 Jon
 
 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ethernet, rtai, and rtnet

2008-12-28 Thread Kenneth Lerman
Jon,

Don't use rtnet. Just use ethernet point to point to replace a parallel 
port. Then there is NO net stack. Just use raw ethernet packets. 
Overhead is then a few dozen bytes.

Ken

Jon Elson wrote:
 Stephen Wille Padnos wrote:
 I don't know the specifics of how to deal with the incoming packets on 
 the PC (or the specifics of how to send them, for that matter :) ), but 
 I'm pretty sure data throughput won't be an issue.  Latency is unlikely 
 to be either, unless there's some very complex packet reception 
 mechanism on the PC which can't be worked around.
   
 That's one of the things that worries me, I have no idea how much 
 overhead there is in the net stack.
 Also, rtnet imposes time slots for each node, and some kind of timer 
 that tells each node when its time slot happens.
 The master node sends a sync packet every so often, and the slave nodes 
 keep time off that.  I'm not sure rtnet was designed at all for the kind 
 of VERY tight coupling we are envisioning here.  Of course, rtnet 
 exists, but you then have to make the embedded slave nodes have a 
 matching protocol scheme in their stack.
 
 Really, for what I wanted to do with it, I don't WANT the message slot 
 scheduling, the HAL driver would be the master, and the slave would only 
 send (immediately) when commanded to.  But, of course, it needs access 
 to the net hardware from the real time environment.
 
 Jon
 
 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gcode Newbie Question - repetitive part making

2008-12-17 Thread Kenneth Lerman
Hey Ed,

Once upon a time, I wrote some gcode subroutines that, given the ends of 
two lines and a radius, makes it into a line, an arc of that radius, 
and a line.

If you want to see it, I might be able to locate it.


Regards,

Ken

Ed Nisley wrote:
 if Ed will be continuing similar articles in the future
 
 That's the plan!
 
 The Winter 08 column deals with fillets on internal corners: 
 using cutter comp and figuring the arc centers for mostly 
 right-angle corners. Pretty easy once you see it.
 
 Next up: finding the centers when the sides aren't at right 
 angles. Time to haul some trig functions out of the closet, 
 blow the dust off, and fire those devils up.
 
 So many topics, so few issues...
 

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Insulation (way OT)

2008-12-08 Thread Kenneth Lerman


Gene Heskett wrote:
===snipped
 
 But I'm about frozen out, I can't work wood in that variable an environment, 
 its not insulated well enough to heat effectively.  Warpage is the keyword, I 
 can't keep ahead of it.  Nor can I apply finishes at 40F, the best I could do 
 yesterday when I said to heck with it.  Get over this *%^$# cold, and start 
 insulating it I guess.  Bring money I would use for toys.  2 styro is now 
 almost $30 a sheet around here.  The 2 Blue stuff seems to have disappeared, 
 and I recall it was rated about double the R that the styro stuff is. 1 sheet 
 does one 2x6 worth of wall when cut in half and stacked 4 thick, and there 
 is 56 feet of walls=28 sheets, with some leftovers to start on the 16x24 
 ceiling.  I figure about 40 sheets to do it right. $1600.  Add another kilo 
 for installed heat.  It will wait for warmer weather thats for sure.  :(
===more snipped=
Gene,

I seem to recall that fiberglass is less expensive than foam and 
provides better insulation. Throw some drywall (also pretty cheap) over 
it and it's protected. Of course, the drywall weighs a ton, but you're 
young and strong. :-)

Ken


-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pluto-P

2008-12-03 Thread Kenneth Lerman
Hey Peter,

You don't happen to have an ethernet interface IFDEFed out there too, do 
you?

Ken
..snip..
 
 I doubt the Pluto has enough gates for a decent serial interface along with 
 good set of peripherals. It could be done with our 7I43 though. Its just a 
 minor change from the USB-HostMot2 firmware to interface to a internal UART 
 instead of the USB data. I think our parser code has a UART interface IFDEFed 
 out at the moment.
 
 But the real problem is using it. Other than (upcoming?) Modbus support, I 
 dont think there is any support for serial interfaces in EMC. Regular PC 
 RS-232 serial ports are probably too slow for most real-time tasks anyway at 
 about 90 uSec per character (10 bits 115200 baud)...
 
..snip..

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] general control thoughts

2008-11-29 Thread Kenneth Lerman


Mark Wendt (Contractor) wrote:
 At 09:55 AM 11/28/2008, you wrote:
 Gentlemen,
... snipped ...

The application of EMC2 to many and various projects (not just real
 time) would lead to a clearing of the 'real time geek fog' surrounding
 this type of project. We need to take the IFM button off the keyboard.
 IFM is It's [EMAIL PROTECTED] Magic.
I have an IFM button on underneath side of my NCL keyboard but it
 is needed and useful there. :)
 Having some fun now.
 thanks
 Stuart
 
 Stuart,
 
  Back in my USAF electronics technician days, we called it 
 PFM.  P stood for Pure.  ;-)  If I remember correctly there was an 
 adhesive that came out back in the late 80's/early 90's kinda like 
 Goop, and the company called it PFM!  I'll have to remember the IFM 
 acronym though.  I like that one too.
 
 Mark 

IFM = Indistinguishable From Magic. See: 
http://en.wikipedia.org/wiki/Clarke%27s_three_laws

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

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] general control thoughts

2008-11-28 Thread Kenneth Lerman
I think the easiest way to do this is for a point to point network or 
even a network with a hub is to use raw ethernet packets.  An ethernet 
packet has a payload of up to 1500 bytes. That should be large enough 
for most things we would want.

On top of the payload we have around 20 bytes of overhead, including a 
CRC. I think we could come up with a simple polling protocol. The EMC 
machine would be the master.

To me, the thing that needs the most thought is how to build a generic 
HAL component to handle this. It is the same problem that SWP and I 
discussed at Fest regarding Modbus. Ideally, you could have a 
configuration file for the driver that specified the devices (in the 
case of ethernet if would be by MAC address) and how to map HAL pins to 
channels on the device.

We would need to have a comprehensive set of signal types. There is a 
decent amount of work involved in spec'ing this out. Offhand, for 
inputs, I see things line single bit, multi-bit word input, signed word 
input, counter input, counter that resets on read input. I would make 
words all the same length; at least thirty-two bits, but possibly sixty 
four bits. The fact that the transmission time is very small makes that 
reasonable.

Enough, for now. I don't think I have the time to really work on this now.

Ken

Jon Elson wrote:
...
 RTnet has already done much of this.  I'm not sure of the details, but 
 there really are only about 5 or so different ethernet chips that are 
 built into PCs.
 Then, of course, there is the question of what to put on the end of the 
 ethernet. Something like Jon Elson's boards would be nice. Something 
 that you could expand with lots of switch and relay interfaces would 
 make many people happy.
   
 Yeah, I've been looking at this for some time.  The problem is that the 
 time-sliced ethernet protocol that Ulrich Marx came up with requires 
 some serious changes to the protocol stacks on the target devices as 
 WELL as on the host.  rtnet takes care of the host end, but you are on 
 your own to build a tiny real-time scheduler so the target device can 
 place its transmissions in the correct time slot.
 
 Really, rtnet is not needed for this purpose.  Assuming a totally 
 dedicated network card, and a request/response form of device control, 
 none of this time slice allocation is actually needed.  EMC sends a 
 request to read encoder counts, computes new velocitioes and send them out.
 So, it sends a request packet, gets a response, sends a command packet 
 and maybe gets a done response, or maybe we don't even bother with 
 that response.  I was thinking that the request packet would have a map 
 that specifies what target device registers should be read.  Something 
 like :
 0 12   -- read 12 consecutive registers starting at address 0
 14 3   -- read 3 regs starting at addr 14
 0-- done
 
 And, you'd get back a response packet with 15 bytes of data.  This could 
 be fit into the framework already built for my boards that enumerates 
 the boards, detects options and rev levels, etc.
 
 I don't know how simple it would be to dumb down rtnet to work with a 
 standard target device with a standard protocol stack.  Maybe rtnet 
 wouldn't care if the target device answered out of order, as long as 
 there are no collisions, which this scheme would not permit.
 
 I believe such a scheme would be a GREAT improvement for my boards, 
 allowing us to get past many of the parallel port quirks as well as 
 permitting a substantial speedup in the protocol.   But, I don't really 
 have the time to do all the research on my own.  If somebody had a 
 simple real-time driver for the ethernet chips that didn't require a lot 
 of special changes to the target boards and protocol stacks, or if it 
 could be determined that rtnet could be made to work without those 
 changes, then I'd like to try experimenting with it.  Making up a board 
 with one of the ARM7 CPUs with ethernet and putting together a program 
 to read/write to my existing boards would be a small project.
 
 Jon
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two

Re: [Emc-users] Friction compensation

2008-11-26 Thread Kenneth Lerman
For some reason, I think I recall feed forward as being useful for 
friction compensation.

Does that make any sense?

Ken

Jeff Epler wrote:
 At present, emc2 doesn't have any friction compensation.  However, there
 are several avenues you might go down to add it:  in the motion
 controller, or as a HAL component.


-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] Named O word subroutines not working

2008-11-23 Thread Kenneth Lerman
I believe that Jeff is correct. My recollection is that the reason for 
the screwed up number in the error message is that the number is a 
pointer to the string containing the named o-word.

In the process of incremental implementation, work was done on the code 
before some of the error conditions.

I believe that in the development version, the error messages have been 
fixed. If not, filing a bug report is the only sure way to see that the 
existence of a bug isn't forgotten.

Regards,

Ken

Jeff Epler wrote:
 As far as I can tell, named subroutines aren't in 2.2.x.  (they're in
 the development version, and your test program works there)
 
 However, I'm not sure why you don't get an error at the first line with
 o.  That should be fixed to give a clear error message instead.
 
 Jeff
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] I J code

2008-11-08 Thread Kenneth Lerman
If you (or anyone else) decide to change the interpreter, I think you 
should add a parameter to the ini file supporting IJ_MODE_ABSOLUTE = 1 
so that the same interpreter will support both modes.

Ken

Chris Radek wrote:
 On Sat, Nov 08, 2008 at 04:53:58PM +0200, Dave Houghton wrote:
 Hi

 I have some Gcodes where the I and J are in absolute coordinates, EMC2 seems
 to like I and J in incremental coordinates, is there a simple way, or
 something that will enable EMC2 to read these Gcodes.

 Regards

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

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] [EMC-users] Free 3D CADs on Linux WAS: BRL-CAD

2008-11-06 Thread Kenneth Lerman
Hi Gene,

I don't know how it is now, but fifty years ago, a high school kid with 
a copy of a study guide could pass the test for a first class phone 
license first try.

I never did use the thing. :-)

Ken

Gene Heskett wrote:
 On Wednesday 05 November 2008, Jon Elson wrote:
 Gene Heskett wrote:
 And that should be tested in court, soonest.  I may not be a registered
 PE engineer, and I don't know where to hit the boiler with a hammer to
 make it work again as in that joke, but I am very well respected as an
 engineer in my field, broadcasting.  I have a grandfathered to general,
 formerly a FCC 1st phone license, and I am a C.E.T., registered in
 Nebraska as #118.  If I should become the Chief Engineer at some tv
 station in MO, I will not stand idly by and be prosecuted for claiming to
 be what I have been doing for a living since 1964.
 You have a FEDERAL license to practice your art!  The states CANNOT
 touch you, period!
 And, your license even STATES you ARE an engineer, so you can hang you
 shingle as proudly as an doctor, DDS, etc.

 Jon
 
 Strangely, the commish doesn't call us engineers any more, but operators, 
 with 
 the chief being required to have a letter of appointment from the Owner or GM 
 appointing him the Chief Operator.  This is how the commish establishes the 
 chain of command when cites are issued.  We are the person responsible for 
 technical compliance, and I have used that fact to tell the GM he can't do 
 such and such even if he does sign my paycheck.  Its taken a copy of 47CFR 
 tossed on his desk a couple of times, but that's to be expected when dealing 
 with sales types I guess. :(
 
 That C.E.T. certificate and wallet card says that I do know what I'm talking 
 about with a lot more validity than the fcc's General Radio-telephone 
 license does AFAIAC, that test is much much more technical than the old 4 
 part 1st phone test, it was 2 parts law and 2 parts simple technical.  
 Kalifornia for instance requires that the owner of an electronics service 
 business also be a C.E.T., and this weeds out 90% of the fast buck folks.  
 But I've not noted a general trend in that direction for most states.
 
 That stands for Certified Electronics Technician, and is part of the 
 National Electronics Association for admin purposes.
 

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] Some hints for a new (but enthusiastic) user?

2008-10-24 Thread Kenneth Lerman
A wiki entry is ALWAYS appropriate. If it isn't in writing, it doesn't 
exist; and a wiki entry is an easy way to put it in writing.

:-)

Ken

Chris Morley wrote:
 Stuart:
 This question seems to come up a fair amount wonder if a wiki entry is 
 appropriate? :)
 What is your opinion of this technique now that you have tested it for a 
 while.?
  
 
Go to http://www.mpm1.com:8080/GandL/configs/18_Feb_2008 and look
 at the .ini file and the file the .ini file calls in the hal section.
 They show how to combine the position feedback from two sources.
With your explanation of the machine you want to build I would
 suggest looking at pumakins also. Pumakins may be closer to what you
 want.

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

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] Stg 1 homing

2008-10-20 Thread Kenneth Lerman
Hi Dave,

I'm sure someone will correct me if I'm wrong; so here goes.

The way index homing works is that after the homing switch actuation is 
detected, the next index pulse sets the home position. If, by bad luck, 
the edge of the index pulse is right at the switch edge, a little jitter 
  might cause it to be missed. Then the next index pulse will be 
considered home.

Let me guess. The distance between index pulses on your machine is 
.531-.505 = .026. So I would say the distance is 25 thousandths.

The solution to your problem is to move your home switch by around 12 
thousandths.

Ken

Dave Engvall wrote:
 Hi all,
 
 Finally found a 'roundtoit'.
 
 As a quick test of homing repeatability  I mounted a piece of  6061- 
 T6 in the vise, wrote a small program to
 move from homing position to the workpiece and then drill a 1/2 hole  
 using a 0.500 carbide endmill.
 
 Hole 1 was drilled repeatably  after a shut down and restart of emc  
 including homing.
 As a check I drilled hole 2 only one time.
 
 Hole 1   x = 0.531 y  = 0.506
 Hole 2   x = 0.505 y  = 0.506
 
 Using a dial indicator I checked the repeatability of Z home. It was  
 within a thou using a Enco 1 indicator.
 If this gets serious I will use a better indicator however I don't  
 see a problem with Z.
 
 So ... back to the X axis.
 
 Fire up halscope.. monitor axis.0.home-state, axis.0.index-enable and  
 Xindex.
 
 These may not be the correct variables to monitor but they looked  
 like a good start to me.
 
 when axis.0.home-state goes to 16 both axis0.index-enable and Xindex  
 go to 1.
 
 axis.0.home-state has a series of increasing values
 
 0
 4 then shortly 5
 11 the shortly 12
 and finally 16.
 
 What else do I need to look at?
 
 I did not do the obvious and try the same variables with halscope on  
 either Y or Z. Duh!
 Only thought about it after I had shutdown everything.
 
 Hope this is enough information to diagnose the problem or recommend  
 more troubleshooting.
 
 Thanks in advance for any help.
 
 Dave
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] Axis question

2008-10-12 Thread Kenneth Lerman
That depends on the type of machine you have.

On my Bridgeport clone:

1 -- Hit feed hold
2 -- Lower the knee
3 -- Replace the tool
4 -- Raise the knee
5 -- Continue


Not worthless to me.

Ken

Steve Blackmore wrote:
 On Sun, 12 Oct 2008 12:09:41 -0600, you wrote:
 
 I wish I had a memory like yours :) 

 All this time I thought Steve was asking about Feed Hold...
 
 I was, but a feed hold that allows nothing else is pretty worthless ;)
 
 Steve Blackmore
 --
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] No version for nano2count found

2008-10-02 Thread Kenneth Lerman
Why would you want a puppy based system? What advantages does it have 
for the general user? Why should we support it?

Ken

Евгений Александрович wrote:
 Hello
 
 I still try to build puppy base system.
 
 Now I have problem on system start
 
 rtapi: No version for nano2count found: kernel tained.
 
 Is it problem or just information message?
 If it is a problem, what could be wrong?
 
 Best Regards
 Evgeny
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

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


Re: [Emc-users] Axis question

2008-09-22 Thread Kenneth Lerman
I guess I don't know why this would be difficult to implement.

For trivkins based machines, I would think that one could do all of this 
in HAL. While the program is paused, it should be possible to use some 
adder blocks with input from special jog blocks to cause the position to 
change based on input from some VCP buttons.

The spindle could be stopped using VCP buttons.

After the tool is changed, the X, Y could be restored to the original 
positions. A Z axis offset could be left in place.

I've never done anything with HAL, but from what I've seen, this should 
be pretty easy. It might look a little (or a lot) kludgy, but the 
functionality should be easy to get.

What am I missing?

Ken

Jon Elson wrote:
 Steve Blackmore wrote:
 On Sat, 20 Sep 2008 19:23:04 +0100, you wrote:

   
 Axis usability.

 Two things spring to mind, in feedhold, if you damage an insert, how do
 you replace it? In Mach, I'd feedhold, jog away, replace the insert then
 press cycle start and the machine would carry on, I have the choice of
 
 from exactly the same position it stopped in, or anywhere else as a
   
 safe move.

 Secondly, on my router I don't use tool tables, it's not practical as it
 uses collets and there's no stop to make most tool positioning
 repeatable. I also use CAM and it programs the corrected path for tool
 diameter, so there's no real reason to.

 My normal method is touch off tool 1 and zero all axis, run that tool,
 when Mach pauses for next toolchange, I jog upwards, change the tool,
 jog back down until tool touches and re-zero Z, then press cycle start
 again and off it goes. 

 Is the above possible in EMC?
 
 No comments? - I'm disappointed.
   
 Yeah, this has been a traditional problem with EMC.  Forever.
 In the middle of a program, you can pause and then continue.  But, there 
 really is no provision to pause, make a manual move, and then continue 
 with the program seamlessly.  I think you can't alter offsets, either, 
 while paused, but maybe you can.  After making any manual moves, you 
 have to know the G-code block to restart from, search for that line in 
 the G-code display window and click the start from line button in the 
 menu.  EMC2 does scan the entire program to make sure it is in the right 
 mode for the line it will start from, except it won't start the spindle, 
 so you need a manual override.
 
 
 Jon
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

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


Re: [Emc-users] Slow down until stops and goes during a curve

2008-09-22 Thread Kenneth Lerman
John,

He must be from a country where the thousands separator is '.' instead 
of ','. So speed is actually 12,000 mm/min.

Ken

John Kasunich wrote:
 Jimmy Schneiderman wrote:
  To All,

 I built a Mill CNC with the 30m (X) x 6m (Y) x 4m (Z).

 The CNC was using a controller for 3 axis and it were working fine.

 My decision to change for LinuxCNC is in order to use  2 new axis that the
 older controller did not support.

 Server motor is connected thru  2
 *MOTENC-Lite*http://www.vitalsystem.com/web/motion/motionLite.phpPCI
 boards from Vital System.

 Speed is 12.000 mm/min in a straight line.

 During milling  at 4.000 mm/min, when it comes to a curve the speed slow
 down to 2.000 mm/min.

 When making a 1 meter circle the speed does not top 2.000 mm/min and it does
 not move continues.  It stops and goes several times, shaking all the
 structure.

 If anyone has any idea what parameters should I change, please let me know.

 Regards,
 Jimmy

 
 Please post your configuration files at pastebin.ca or a similar site, 
 and post a link here.
 
 Your numbers describe a machine that is definitely out of the ordinary. 
   A 30 meter long axis, and you cut at 4 millimeters per minute?  That 
 means 5.2 days to get from one end to the other.  I hope your rapids are 
 a lot faster than your cutting speed.
 
 Even if you can't post all of your config data right away, post your 
 velocity and acceleration settings here.
 
 How well did you tune the servos?
 
 Regards,
 
 John Kasunich
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

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


Re: [Emc-users] Perpendicularity of a mill's axes

2008-09-21 Thread Kenneth Lerman
For the XY axis:

First bore four holes in a rectangle as large as you can make it. You 
want the rectangle to be close to a square to get the most accuracy from 
this. Insert dowels into the holes. Now measure the lengths of the 
diagonals using a caliper if you have one large enough.

If not, take a stick and bore a hole in one end to fit the dowels. Mount 
the dial caliper on the other end. Use that to measure the difference in 
length of the diagonals.

After that, it's all geometry.

The Z axis is a little more complicated because there are two issues:

1 -- Is the spindle perpendicular to the XY plane?

2 -- Is the Z axis travel perpendicular to the XY plane?

For the first, mount the indicator on a long arm attached to the 
spindle. Rotate the spindle by hand and see how the indicator varies. 
The amount of variation will tell you how far out of square the spindle 
is. If you plan on drilling holes or milling edges of square blocks, 
it must be accurate. If you are just carving with the end of a ball 
mill, it might not matter as much. If you are drilling holes, this error 
cannot be corrected in software.

For the second, mount a large cylinder with ends that are perpendicular 
to the axis on the table (a cylindrical square). Put your indicator on 
the Z axis and move it up and down, touching the surface of the 
cylinder. Do this on the edge aligned with the X axis and on the edge 
aligned with the Y axis. If you don't have such a square, you should be 
able to make a reasonable one on a lathe. If you don't have a lathe, use 
a plane square. You should be able to make an accurate square on you 
router after you correct the XY axis.

In principle, misalignment of the axis motion can be corrected in software.

Whew. I hope I got all of the details right. If not, someone please 
correct me.

Ken

Christopher Purcell wrote:
 I would like to improve my home-made 3D wood carving router. It has  
 stepper-driven 1m long THK ball screws (bless you Ebay) which seem to  
 be moving exactly as EMC2 commands, now that I have Helical couplers  
 fixing the backlash.  The next thing I want to check and maybe tweak  
 is the perpendicularity of the 3 axes, which I bolted down using only  
 a carpenters square and level as guidance. This is in a home wood  
 working shop so the only instrumentation available is a dial  
 indicator. If I can measure the axes, then corrections can be included  
 in EMC, presumably as hinted at in the kinematics chapter of the  
 Integrators handbook.
 
 How do you measure the perpendicularity of 3 axes of a mill?
 
 [EMAIL PROTECTED]
 
 
 
 
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

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


Re: [Emc-users] Trade-offs on where to place PID loop - controller vs EMC2

2008-09-12 Thread Kenneth Lerman
Hi Karl,

Rather than using telephone, most people here prefer that conversations 
take place on IRC. That way:

1 -- many people can participate
2 -- there is a record so that others can read and benefit

Since the advice you get is free, it is generally difficult to argue 
with the people who feel that way.

Of course, this list is another good way to communicate.

In general, the preferred place to put the PID loop when using EMC is 
within EMC. I'm sure others here will agree with me and probably be able 
to give you some of the reasons.

Ken

---

Karl Schmidt wrote:
  lots of stuff snipped
 
 
 Any and all feedback on this is welcome - also feel free to call (or ask me 
 to call you)..
 
 
 
 
 
 
 Karl Schmidt EMail [EMAIL PROTECTED]
 Transtronics, Inc. WEB http://xtronics.com
 3209 West 9th StreetPh (785) 841-3089
 Lawrence, KS 66049 FAX (785) 841-0434
 
 Give me four parameters and I can fit an elephant;
 Give me five and I can wag its tail.
 (The source of the above quote?? Variants have been
 attributed to C.F. Gauss, Niels Bohr, Lord Kelvin, Enrico Fermi.)
 
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

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


Re: [Emc-users] Problem Using Axis

2008-08-21 Thread Kenneth Lerman
Thanks Ray.

I tried this, but at first it didn't work (the monitor wouldn't sync). 
Adding a line to specify the mode as 1280x1024 was the final touch.

Thanks again (and to SWPadnos who suggested the same thing with less 
detail on IRC).

Ken

Ray Henry wrote:
 On Wed, 2008-08-20 at 18:01 -0400, Kenneth Lerman wrote:
 I'm trying to use Axis with the latest release and am having a problem.

 When Axis starts, the screen breaks up. There are dark horizontal 
 lines appearing on the Axis window and across the screen to the right of it.

 It looks like some sort of video problem. TKemc does not have the same 
 problem.

 Has anyone seen this before. Anyone have a cure?

 Ken
 
 I had a few little problems with the AXIS GUI display using the default
 via display driver on a couple of 8.04 systems here.  They went away
 when I switched to vesa.  I did that by adding the following lines
 to /etc/X11/xorg.conf between existing sections about line 25. 
 
 Section Device
   Identifier  Configured Video Device
   Driver  vesa
 EndSection
 
 Rayh
 
 
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

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


Re: [Emc-users] Problem With New Release -- Can't Find LP port

2008-08-21 Thread Kenneth Lerman
Sound good, Jon.

Some other things I've noticed in my (still ongoing) conversion to EMC2.

1 -- The Integrator manual pages have the wrong names for some of the pins.

2 -- It would be nice if the univpwm_io.hal file had the inverted sense 
for the limit and home switches. As far as I can tell, most people use 
normally closed switches for these functions. It is set up now for 
normally open switches. Lines in the file for both with the unused one 
commented out would make it easier for the integrator.

Regards,

Ken

Jon Elson wrote:
 John Kasunich wrote:
 Jon Elson wrote:

 Chris Radek wrote:

 On Wed, Aug 20, 2008 at 11:35:27AM -0500, Jon Elson wrote:


 OHHH. HIGHLY dangerous.  It writes 0x80 to the I/O port 
 0x402 above that address you specify.  If you don't specify 
 anything, it probably defaults to zero, so it writes to I/O port 
 This write should be added to the driver.  If it needs to be optional,
 it should be a load-time parameter for the driver so the user can
 change it in the hal file.


 Note the second part of Chris's statement:  it should be a load time
 parameter for the driver.

 OOps, I DID miss that!  Yes, now it makes some sense to do this.
 I will try to put this in in the next couple days.
 I agree that writing to any address by DEFAULT can be dangerous and is
 stupid.  But having a load time parameter such as:

 loadrt ppmc dangerous_pci_setup_hack=1
 What the heck should we call it?  Some people have chafed at the 
 name pcisetup.  Any suggestions?  I'm thinking, maybe, 
 something like force_EPP.  How does that sound as the 
 parameter name?
 
 Jon
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

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


[Emc-users] Problem With New Release -- Can't Find LP port

2008-08-20 Thread Kenneth Lerman

I'm finally (after a disk crash) installing emc2 on my system -- a Dell 
Optiflex GX150. This is the same machine I was running the BDI EMC1 on 
(except for the change of disk drive).

I'm using Jon Elson's UnivPWM boards.

Dmesg shows that on boot, the lp driver is loaded, but no device is 
found. It should find the device at ox378. Jon's program pcisetup runs 
without error. His univpwmdiag program shows no boards found but 
otherwise shows no error.

Does anyone have any quick hints or suggestions?

Thanks,

Ken

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


Re: [Emc-users] Problem With New Release -- Can't Find LP port

2008-08-20 Thread Kenneth Lerman
Fixed.

The problem was that I needed to run pcisetup 378. I don't know what 
pcisetup does with no argument, but it doesn't generate an error and it 
doesn't do what I need done.

Ken

Kenneth Lerman wrote:
 I'm finally (after a disk crash) installing emc2 on my system -- a Dell 
 Optiflex GX150. This is the same machine I was running the BDI EMC1 on 
 (except for the change of disk drive).
 
 I'm using Jon Elson's UnivPWM boards.
 
 Dmesg shows that on boot, the lp driver is loaded, but no device is 
 found. It should find the device at ox378. Jon's program pcisetup runs 
 without error. His univpwmdiag program shows no boards found but 
 otherwise shows no error.
 
 Does anyone have any quick hints or suggestions?
 
 Thanks,
 
 Ken
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

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


[Emc-users] Problem Using Axis

2008-08-20 Thread Kenneth Lerman
I'm trying to use Axis with the latest release and am having a problem.

When Axis starts, the screen breaks up. There are dark horizontal 
lines appearing on the Axis window and across the screen to the right of it.

It looks like some sort of video problem. TKemc does not have the same 
problem.

Has anyone seen this before. Anyone have a cure?

Ken

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


Re: [Emc-users] Tool Dia Compensation

2008-08-18 Thread Kenneth Lerman
My understanding is that cutter compensation is supposed to 
automatically generate the same part if the diameter of the tool is 
changed. So, if I cut one part with a tool with a diameter of .375 and 
another with a tool with a diameter of .250, the parts should wind up 
essentially the same.

Will a Fanuc controller do this? If I specify the gcode with a sharp 
internal corner, what radius will it make the corner? How do I specify that?

If we make a change to EMC to be compatible with Fanuc (in this area), 
we should provide some sort of switch to turn this mode on and off.

You say that you guarentee this code that Im talking about will make 
the correct part on another machine because it already has. A part can 
only be correct if it matches the gcode. Are you saying that depending 
on the cutter used, parts with .250 and .375 internal corner radii are 
both correct?

Would the drawings for the part show that the radius of the internal 
corner doesn't matter?

--
If we are going to change the behavior of EMC, we should add a switch 
(perhaps in the ini file) so that the old behavior can be selected.
--

Ken

Terry wrote:
  I know where you are coming from on figuring things
 out for yourself.Many of the people on this forum
 are in this as a hobby and should learn the right
 way to do G-code.
 As for myself I have been writing G-code for 20+ years
 and the fun of solving comp problems has lost its appeal.
 If something can save me some time Im all for it.
 I guarentee this code that Im talking about will make the
 correct part on another machine because it already has.
 The other machine I am talking about has a Fanuc on it.
 Now are you going to say that the world leader in CNC
 controls is not doing cutter comp right?
 I feel EMC should be compatable with Fanuc.I feel this
 way because EMC is already better than most other
 software out there,and you need something to use as
 a rule of thumb.
 I dont know squat about electronics,HAL,or alot of the stuff
 all you guys talk about here(I learn enough to get my
 machines going and thats about it)BUT when I tell you
 there is nothing wrong with a G-code program,that program is 
 good.
 
 Now that is blunt,if you want lessons on being blunt it will
 cost you.
 
 Later
 
 Terry
 
 
 On Sun Aug 17 21:26 , Kirk Wallace [EMAIL PROTECTED] sent:
 
 On Sun, 2008-08-17 at 22:37 -0500, Chris Radek wrote:
 ... snip
 I have heard that a lot of cam-generated code doesn't work with emc's
 cutter compensation because it depends on certain behavior in concave
 corners.  Some will argue (just wait!) that the cam should give a path
 that can be cut with the given tool.  That means there cannot be sharp
 inside corners.  They are right.

 Others will say lots of other controls will leave the round inside
 corner automatically and not error.  They are also right.  I would
 personally also like this behavior.
 ... snip

 Sorry for being blunt.

 I am submitting an energetic vote against this. I think it is up to the
 humans to do a little thinking and understand how machining works. It's
 up to us to accurately instruct the machine with an understanding of the
 limitations of the process. If we tell a mill to cut a sharp inside
 corner, then shame on us. I do it all the time, but I want the task of
 fixing it. Having EMC2 try to find and fix our mistakes for us is
 like ... well, like using Windows. (Don't drink the Cool-aid)

 Otherwise, I don't really care.
 -- 
 Kirk Wallace (California, USA
 http://www.wallacecompany.com/machine_shop/ 
 Hardinge HNC/EMC CNC lathe,
 Bridgeport mill conversion, doing XY now,
 Zubal lathe conversion pending
 Craftsman AA 109 restoration
 Shizuoka ST-N/EMC CNC)


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

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the 

Re: [Emc-users] RELEASED: emc 2.2.6

2008-08-11 Thread Kenneth Lerman
Hey John, you have a typo in your last line.

You wrote:
They are always looking for more help. 

You should have written:
We are always looking for more help.

:-)

Regards,

Ken

John Thornton wrote:
 Steve, 
 
 What is really on your mind? 
 
 You come out with both barrels blasting your bound to get some flak... 
 
 On 11 Aug 2008 at 2:58, Steve Blackmore wrote:
 
 On Sun, 10 Aug 2008 20:21:11 -0600, you wrote:

 Gee Steve, one would assume that if you subscribe to the EMC USERS
 mailing list that you are using it all ready...
 Why would you assume that? 

 I am a prospective user being baffled by bull!
 
 Do you have a real question or are you just mad at everyone?
 
 Your answer only reinforces my point, you all seem to assume everybody
 knows what you are talking about, and you do little or nothing to
 encourage new users. 
 
 What do you expect the EMC volunteers to do to encourage new users? 
 
 BTW, you would not belive the amount of time spend on the manuals. They are 
 always looking for more help. 
 
 John
 
 Steve Blackmore
 --

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

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

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


Re: [Emc-users] CNC design questions

2008-07-21 Thread Kenneth Lerman
Regarding power supplies:

Computers use regulated power supplies because the electronics require a 
voltage within a relatively narrow range. You don't need a regulated 
supply to drive a stepper or servo (although you might for some of the 
electronics connected to them). For that reason, the answer to the 
question linear or switching is neither.

Use a transformer, a diode bridge, and a capacitor. Add some fusing, 
perhaps some inrush protection, and a bleeder across the capacitor.

Ken

Rafael Skodlar wrote:

...Snip...
 
 The reason I mentioned power supply is  I'm not sure which way to go, 
 linear or switching. While switching PSU is good for computers and 
 electronics in general with almost constant power use, I'm not sure 
 about driving stepper motors with large current surges during acceleration.

 
...Snip...

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


Re: [Emc-users] Continuous and Absolute

2008-07-20 Thread Kenneth Lerman
Kirk,

See: http://en.wikipedia.org/wiki/Gray_code

Gray codes have the property that every position is a valid value. Each 
change in position involves a change in only a single bit.

Absolute rotary encoders typically use gray code (or something like it). 
They are available in many resolutions.

Ken

Kirk Wallace wrote:
 I was reviewing a document from Sanyo covering AC servo motors:
 
 http://motiononline.com/PDF%20Files/Handbook/Handbook.pdf
 
 It talked about the AC system needing absolute shaft position in order
 to duplicate a brushed commutator in software. It was indicated that a
 low resolution absolute encoder could be used to determine shaft
 position during motor drive initialization. Then a high resolution
 incremental encoder could take over for commutation and axis position
 feed-back. I would like to replace the encoder on a Yaskawa motor, and
 got to thinking about what I could use for an absolute encoder. My first
 thought was an optical disk encoder with N bits. Then, I realized that
 there will be positions between bits where the data is zero or unstable.
 I remembered US Digital had absolute encoders, so I looked at this one:
 
 http://www.usdigital.com/assets/general/102_mae3_datasheet_1.pdf
 
 When I saw the output graph, it showed a discontinuity at position 0, so
 this would not work either. Then, I envisioned a pair of sine wave
 outputs, which would be continuous across all possible outputs. I
 believe resolvers have this kind of output. I could use a pair of ADC's
 with Schmitt triggers to digitize the analog signals, so that I can get
 the data into EMC2.
 
 I had a plan for a 24 position absolute encoder for a tool changer and
 realized that I had the same problem. If the tool changer powers up
 between tool positions, I won't be able to determine the changer status
 without moving the carousel to scan for a valid output. I don't want to
 have any unsolicited changer movement or require the user to remember to
 manually initialize the changer, so I suppose I need a continuous
 encoder here too.
 
 Am I understanding the issues correctly? Anybody know of a _cheap_ way
 to get a non-mechanical low resolution continuous absolute position?
 
 (P. S. Maybe use two USD encoders 180 degrees apart, but this is too
 expensive and maybe produces two discontinuities.)
 

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


Re: [Emc-users] Continuous and Absolute

2008-07-20 Thread Kenneth Lerman
When you power up, you read the 8 bit value (for a 256 position absolute 
encoder). That will give you an unambiguous position.

Ken

Kirk Wallace wrote:
 On Sun, 2008-07-20 at 14:04 -0400, Kenneth Lerman wrote:
 Kirk,

 See: http://en.wikipedia.org/wiki/Gray_code

 Gray codes have the property that every position is a valid value. Each 
 change in position involves a change in only a single bit.

 Absolute rotary encoders typically use gray code (or something like it). 
 They are available in many resolutions.

 Ken
 
 I think this works for transitioning from a known state to another
 state, where you can bridge the discontinuity by storing the last valid
 state and only updating when the next valid state comes along. The
 problem, I think, is in coming up with a sensor that never has an
 unknown state, even immediately after power up. I probably need to lower
 my expectations a little, and allow for a state resolution procedure.
 

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] Continuous and Absolute

2008-07-20 Thread Kenneth Lerman
What do you mean by encoder is in an invalid position. Every position 
read from an absolute encoder is valid in the sense that it reflects the 
actual position of the encoder within its tolerance.

If you used a 256 count encoder for your 24 positions, each tool 
position would correspond to 256/24 = 10-2/3 counts. So if the encoder 
read from 0-10, that would be position zero. 11-22 would be position 
one, etc.

On power up, you would read the encoder and that would tell you what 
position you were at. Assuming that the tool positions corresponded to 
the start of each range, 0 would correspond to position 0, 10 would 
correspond to tool position 1. 21 would correspond to tool position 2, 
etc. To allow for some slop, you would probably set things up so that 
255, 0, 1 were tool position 0. 9, 10, 11 were tool position 1, etc.

If you found that you were between positions, it wouldn't really matter. 
The first time you seek to a tool, you would still know where you are 
and where you have to go.

A true absolute encoder is a static device. You can read a value without 
moving it.

Ken

Kirk Wallace wrote:
 On Sun, 2008-07-20 at 14:28 -0400, Kenneth Lerman wrote:
 When you power up, you read the 8 bit value (for a 256 position absolute 
 encoder). That will give you an unambiguous position.

 Ken
 
 On my original design for a tool changer encoder, I had a sprocket
 engaging the carousel chain:
 
 http://www.wallacecompany.com/machine_shop/Shizuoka/00030-1a.jpg
 
 with a gearbox to get one encoder revolution per chain revolution. The
 encoder then needs twenty-four positions or five data bits. I was going
 to use IR LED's and photo-transistors on each side of a disk:
 
 http://www.wallacecompany.com/machine_shop/Shizuoka/Tool_Changer_Encoder-1a.png
 
 A sixth bit was added as an in position signal. 
 
 Currently the chain is moved by a Maltese Cross:
 
 http://www.smom-za.org/MalteseCross/mechanics.htm
 
 so only valid positions would be possible at rest. The problem here is
 that the Maltese Cross moves the tools in a jerky fashion for each
 position change and it is slow. I want to drive the chain with a simple
 gearbox with acceleration/deceleration control for the start and end
 position. With this and the disk encoder, there will be invalid input
 between positions, which is mostly okay because I'll control the motor
 to stop at validated positions. The problem is when the system powers up
 and the encoder is in an invalid position. The only way to validate the
 position is to move the chain. I don't want to do this automatically,
 for safety. I could have the user manually initialize the changer on
 each power up, but I prefer to not have to do that.
 
 I could go to a high resolution encoder, but this just reduces the
 chance of getting an invalid start. I would prefer to have an encoder
 that has no invalid states.
 
 ...
 
 Now that I have given this more thought, an invalid start may not be a
 problem, because when a tool change is requested (and expected), the
 position will validate on the first position change. The only down side
 is possible wasted motion by guessing which way to go or how far.
 

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] Tandem Axes-YY

2008-07-14 Thread Kenneth Lerman


Jon Elson wrote:
 Ray Henry wrote:
 Are there swivel joints between the two screws so that the motors can
 move independent of each other?
 Excellent point, and no, there do not appear to be any joints 
 between the two sides.  (Dr. Lie has sent me photos of the 
 machine.)  That is going to make it MUCH harder to properly home 
 the thing without bending the rails or ballscrews.
 
 I wonder if it would work better to home one side, with the 
 other side's servo amp disabled, and then home the second side
 the last few encoder counts.  Or, home the system with the servo 
 P gain turned WAY down, just high enough to get movement, and 
 then turn it up after the axes are in sync.

That solution assumes that one side can back drive the other. That isn't 
necessarily the case.

It might be worth considering a home switch on just one side and a 
squareness indicator on the other side. (Somehow, measure the offset or 
flexing between the two screws.) Then drive one side to make the axis 
square. Then lock the two axes to each other and home the whole thing.

 
 This is, in general, a bad idea to have a rigid tandem axis.
 
 Jon
 
 -
 Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness
 and boredom. Vote Now at http://www.sourceforge.net/community/cca08
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

Ken

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] OT: Perfboard Wire

2008-07-09 Thread Kenneth Lerman
The classic wire wrap wire has kevlar insulation, and I believe that it 
handles heat pretty well.

Teflon insulated wire does well, also, but it is a pain to strip without 
   the proper tool.

Ken

Kirk Wallace wrote:
 I have been using CAT-5 wire to solder up perfboard circuits, but the
 insulation melts back. Does anyone have a favorite wire for
 perfboarding?
 

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC the right choice for us?

2008-07-02 Thread Kenneth Lerman
One possible solution to the probing issue is to write a special 
kinematics that interfaces with probing. With the kinematics turned off, 
probe the sheet at the desired resolution. A special (new) command would 
write the X, Y, Z coordinates of each probed point to the kinematics.

When the kinematics is turned on, it would then provide a Z axis 
correction for each point based on interpolation of the table that was 
generated during probing. This should be pretty straight forward to do.

My first approach would be to do most of the work in user space. The 
user space code would collect the probe data. It would then generate a 
table in a form most usable by the kinematics code. The table would then 
be read into a shared memory region where it could be accessed by the 
kinematics code. To make this fast, I would probably use a table with a 
uniform grid, say 10 points per inch. (Kai, would that be fine enough?)

For a 20 inch x 30 inch panel (600 square inches), that would require 
60,000 points. Storing a real number for each is only a quarter of a 
megabyte. That's reasonably small by today's standards. A 100 points per 
inch would require about 24 meg. That's still not unreasonable.

The kinematics are a simple change to trivkins to add or subtract the 
Z-axis correction from the target value based on the X and Y locations. 
My guess is that it would take about a week for someone who had done a 
kins before and who knew what he was doing. Allow a month for someone 
who is new to the game.

Ken

Kai Schaeffer wrote:
 Andre' Blanchard schrieb:
 Why would it run out of lines?  It should always have a buffer
 of interpreted G-code to read ahead.  I did some experiments
 with the relatively new G64 P command to set the allowable
 tolerance during contouring.  I was doing 588 blocks of G-code a
 second, and that seemed to be limited by the feedrate I had set
 and acceleration limits for the machine, not the CPU.  This was
 on a 600 MHz Pentium III, so much faster hardware is available.
 
 It kind of sounds like the current system may be running multiple machines 
 off one computer, some type of drip feed DNC.
   
 
 No, one computer per machine. But the software they have right now is 
 ... let's say not perfectly optimized.;-). So it could happen from time 
 to time on the older machines with older PCs.
 
 But we just had another case were it happened: We milled a gear which 
 was defined over DXF file with a lot of small lines (some thousand). So 
 the radius compensation took a while (some seconds).
 
 
 - Measurement of the surface for a Z-correction

   
 probing?

 
 At the beginning of each program we measure the Z-profile of the surface
 of the sheet. This profile is used to correct the position of the Z-axis
 to get a precise cutting depth.

   
 EMC currently doesn't have a feature like that.  I suspect it
 could be done, but it wouldn't be trivial.
 
 May be easier to run an EMC program to probe the surface and store the data 
 in a file.
 Run an offline program to appliy the probe data to the part program.
 Then run the modified part program in EMC.
   
 
 I am not sure. Let's say you have a movement over the whole sheet. How 
 could you correct it if you have a little buckle in the middle?
 
 I would say it should be a layer somewhere between the vector generation 
 and the hardware. What does it wouldn't be trivial mean in man-months?
 
 Regards,
 Kai
 
 

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] gcode and coordinate system explanation needed.

2008-06-23 Thread Kenneth Lerman
If removing a space character changes the behavior, please file a bug 
report. Spaces are ignored in gcode, except within a comment.

Come to think of it, there is another case where removing a space 
character should change the behavior. If the original line was too long 
and removing the space makes the line a legal length, the old program 
was illegal and the new one is legal. I don't think that is what is 
happening here.

Ken

Dirk wrote:
 On 22 jun 2008, at 22:06, John Thornton wrote:
 
 G28 goes to a predefined position (home as defined in parameters  
 5156-5166).

 To make G28 go to 0,0,100 you must home the machine there which will  
 become
 0,0,0. Then a G28Z0 with no space will home the Z axis only. The  
 space between
 the G28 and the axis must call up an undocumented feature...

 
 I'lltry what happens if I remove the space.
 
 I'll play around with the G28 a bit but I think I'll remove from the  
 postprocessor. I don't see the need for going to 0,0,0 before starting.
 
 Dirk
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Data Types

2008-06-08 Thread Kenneth Lerman
I've changed the subject of this to better reflect what it is about, and 
am responding on both users and developers lists so that the original 
audience will still see it.

I suggest that future follow ups be on just the developers list.

I do seem to recall a prior discussion about data types, but since I 
don't keep files of such things, I don't have a pointer to it and I 
could easily be mistaken.

While using doubles to get higher precision would be a solution, it is 
aesthetically nasty for us purists. Why would one use a floating point 
number for something that is inherently an integer? Also, one could 
easily imagine porting HAL to a platform where floating point arithmetic 
has significantly higher cost than integer arithmetic. For example, some 
of us are thinking about a split where the HAL layer would be moved to a 
remote controller using (say) an ARM processor.

The general answer to the issue of integer typing is that the C standard 
(at least the older versions I'm familiar with) does not say that an 
integer is 32 bits. I've worked on platforms where an int was 16 bits, 
and I can imagine machines where it might be eight or 64 bits.

My answer to the issue of more precision for encoders would be to use a 
type hal_s64. That would be defined as a long long on the machines I 
usually use.

I'm aware that there are some standard definitions for such types that 
do not have hal in the name.  The kernel source is full of things like 
  int32, s32, _s32, __s32.  Using hal_s32 makes more sense to me than 
any of those because I can at least figure out where to go to find the 
definition if I ever want to port this.

Ken



paul_c wrote:
 On Thursday 05 June 2008, Stephen Wille Padnos wrote:
 We've discussed various methods of handling larger data types, which
 this would require.
 
 I don't recall ever seeing any discusssion about the usage of data types..
 
 The good news is that once we have that, we can use 
 doubles anywhere.
 
 Please tell us why doubles can not be used throughout.
 
  Do any of the other encoder interfaces use the same 32-bit integer value?
 Yes, since a hal_s32 is a 32-bit int ;)
 
 So why not use a standard int rather than hiding behind some @$! naming 
 scheme ?
 
 
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] POWER for I/O needs

2008-06-02 Thread Kenneth Lerman
It's generally NOT a good idea to power logic and high brakes from the 
same supply. Actuating a brake can cause power surges that will 
adversely affect your logic.

Ken

[EMAIL PROTECTED] wrote:
 Hi
 I have one AC servo motor IG 34 with power brake. To open that power brake
 I need 24V 1.5 amp constant power. I searched and found that in the same
 city where I am there are mfg. http://www.v-infinity.com/
 There have very good price!
 AC-DC converter 2-24 cost $43, but I want to buy power supply that has
 multiply power –DC  output to I can supply my limits and home switches. I
 my use it for other I/O needs.
 So, I need help with what voltage MAX and MIN should be to be safe with
 MESA Electronic boards 7i33 / 7i37?
 After I find it I will buy one power supply that has multiply out puts
 such as 24V  2A for power brake and 12V 2 A (or something more appropriate
 for I/O needs)
 
 So what voltage is safe or appropriate for I/O needs?
 Thanks
 Aram
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] Still Crashing

2008-05-25 Thread Kenneth Lerman
You just have to love it. Who writes this material?

C: You're smart enough.
P: No I'm not.

C: But you're sharp as a tack.
P: Nope, stupid as a rock.

C: You're just being difficult.
P: No I'm not. Besides, this project sucks. Only an idiot would want to 
work on it.

Of course, the above is pure fiction. Any resemblance to persons living 
or dead is purely coincidental.

Ken


Chris Radek wrote:
 On Sun, May 25, 2008 at 11:18:21AM +0100, paul_c wrote:
 On Saturday 24 May 2008, Chris Radek wrote:
 Using a remote server that I have a shell account on...
 ssh: connect to host cvs.linuxcnc.org port 22: Connection refused
 Can you ssh to anywhere else from this machine?
 Yes
 
 No you can't.  Sourceforge disallows it.  You must not have actually
 tried.
 
 http://alexandria.wiki.sourceforge.net/Project+Web%2C+Shell%2C+VHOST+and+Database+Services#connectivity
 
 Log on to Sourceforge and you poke around and see what works (or
 not) first hand.
 
 Yes I did.  Then I quickly determined that they don't allow any
 outgoing ssh.  Then I found it in their documentation.
 
 Check your firewall log after the failed trace.
 And look for what ?
 
 For something relevant being blocked at the time you do the trace,
 obviously!  I know you're smart enough to troubleshoot a connectivity
 problem.  You're being obtuse on purpose.  Why?
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] Harmonic gear and EMC2. ????

2008-05-23 Thread Kenneth Lerman
It is my understanding that in a grinding machine:

1 -- Cutting forces are low.

2 -- Backlash is generally not important.

3 -- Smoothness of motion is very important.

I would suggest that before you worry about how to drive the components 
in slow motion, you should tell us how you plan to drive the components 
smoothly.

What are you going to use for linear (for the linear axis) bearings and 
what will you use for rotary bearings? Stiction can be a major issue. 
Air bearings come to mind as a possible solution.

Regarding the feed rate of .001 inch per minute and the distance of 12 
inches. Am I correct in assuming that you would not be traversing that 
length at that feed?  If that is true, what is the actual distance that 
has to be traveled at that rate for any given pass. A simple mechanism 
to provide very high reduction ratios is the differential screw. It 
does, however, have a limited range of motion.

It sounds like an interesting project. Do you have any sketches showing 
the general layout?

Ken

[EMAIL PROTECTED] wrote:
 look design of harmonic derive. it is compact and small. you do not want
 to have huge gear reduction box on the machines. space are limited too.
 
 Is there some reason why simple worm and wheel drives won't work here -
 even two or three stages with backlash adjusted out?

 Ian
 
 Ian W. Wright
 Sheffield  UK


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

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

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] Harmonic gear and EMC2. ????

2008-05-23 Thread Kenneth Lerman
A simple solution is to use a dual drive.

Use a course mechanism with long travel for course positioning and a 
fine mechanism with limited travel for fine positioning. The fine 
mechanism has a large mechanical advantage and can use a smaller motor 
and driver. Of course, some sort of clutch mechanism could be used to 
allow switching between the course and fine speeds.

You haven't answered the question of what type of mechanism you are 
planning to use to provide smooth linear and rotary motions at this slow 
speed.

Ken

[EMAIL PROTECTED] wrote:
 travel at feed 0.001 will be geometry of 1 inch end mill, with length of
 end mill 4 inch. 0.001 /min it is cutting feed only. rapid to new position
 will be much faster.
 
 
 It is my understanding that in a grinding machine:

 1 -- Cutting forces are low.

 2 -- Backlash is generally not important.

 3 -- Smoothness of motion is very important.

 I would suggest that before you worry about how to drive the components
 in slow motion, you should tell us how you plan to drive the components
 smoothly.

 What are you going to use for linear (for the linear axis) bearings and
 what will you use for rotary bearings? Stiction can be a major issue.
 Air bearings come to mind as a possible solution.

 Regarding the feed rate of .001 inch per minute and the distance of 12
 inches. Am I correct in assuming that you would not be traversing that
 length at that feed?  If that is true, what is the actual distance that
 has to be traveled at that rate for any given pass. A simple mechanism
 to provide very high reduction ratios is the differential screw. It
 does, however, have a limited range of motion.

 It sounds like an interesting project. Do you have any sketches showing
 the general layout?

 Ken

 [EMAIL PROTECTED] wrote:
 look design of harmonic derive. it is compact and small. you do not want
 to have huge gear reduction box on the machines. space are limited too.

 Is there some reason why simple worm and wheel drives won't work here -
 even two or three stages with backlash adjusted out?

 Ian
 
 Ian W. Wright
 Sheffield  UK


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



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 --
 Kenneth Lerman
 Mark Kenny Products Company, LLC
 55 Main Street
 Newtown, CT 06470
 888-ISO-SEVO
 203-426-7166

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

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

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


[Emc-users] CVS Access

2008-05-21 Thread Kenneth Lerman
You're kidding, right?

Since the reason that the switch was made from sourceforge was that it 
was unreliable, one could equally say that NO ONE had access when we 
used sourceforge.

It's been a long time since I used the term plonk, but it's getting 
close to time to use it again.

BTW: I had no trouble pinging cvs.linuxcnc.org (although the ping I am 
using doesn't recognize http://cvs.linuxcnc.org), and the traceroute 
worked just fine for me.

Ken



paul_c wrote:
 On Wednesday 21 May 2008, John Kasunich wrote:
 EVERYONE has anonymous read access:
 http://cvs.linuxcnc.org/cvs/
 
 `ping http://cvs.linuxcnc.org` - Fail
 `traceroute cvs.linuxcnc.org` - Stops somewhere in the alltel.net system.
 `cvs -z5 -d:ext:[EMAIL PROTECTED]:/cvs co emc2` - Connection times out.
 
  Your assertion is incorrect, likewise, I was in error in claiming you had 
 labelled me an ex-developer - It was some minor nobody on IRC a year or two 
 ago..
 
 ---
 
  Paul.
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] Micro stepper driver MSD542 / KL-5042 cont

2008-05-21 Thread Kenneth Lerman
It appears from previous posts, that the gantry is about 1.5 meters long 
and rides on rails. What is the support/bearing mechanism for the gantry 
to ride on the rails? In particular, if there are two or more supports 
for each side of the gantry, how far apart are the furthest supports on 
each side?

One of the problems with a gantry style machine is that unless you are 
careful, the gantry will skew with respect to the other axis. Skewing 
can cause uneven motion and/or distorted motion. There are a variety of 
ways to prevent that.

For example, if the bearing supports for the gantry are as far apart as 
the width of the gantry, the forces causing the gantry to skew are 
resisted.

Another technique is to use a motor on each side of the gantry so that 
the two sides are driven in tandem.

A third technique is to use a rack and pinion drive with a rack and 
pinion on each side and a shaft connecting the two pinions. Then a 
single motor can drive both sides at once.

There are engineering solutions to these engineering problems. A good 
reference is some of Slocum's books/papers. You can google for them -- I 
don't have a handy reference.

Ken


aaron Moore wrote:
 One stepper per axis
 Gantry runs on X axis rails and weighs about 90kg - 100kg
 Y axis weighs about 20 -30 kg
 And the spindle and mount 10-20kg
 
 All axis run directly from trapezoidal screws 16mm dia, 4mm pitch with brass 
 nuts.
 At present it is set for 16 microsteps.
 Not sure if this answers the last question
 
 The motors are actually FL86STH156-4208
 Voltage: 5.25V
 Current (phase): 4.2A 
 Resistance (Phase): 1.25Ohm
 Inductance (Phase): 8mH
 Holding Torque: 11.96Nm
 Length: 156mm
 
 Thanks
 
 Aaron
 
 
 - Original Message -
 From: Dave Engvall [EMAIL PROTECTED]
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users]  Micro stepper driver MSD542 / KL-5042 cont
 Date: Wed, 21 May 2008 13:26:15 -0700


 Aaron,

 Other responders have indicated they needed more infomation.
 If you can fill in the blanks and confirm or correct assumptions 
 then  someone has a real chance of providing
 concrete help. It won't be me as I'm a servo person. Sorry.

 OK, lets gather some more information here:

 Stated or implied. 1.5m x 1.5 m gantry. One stepper motor per axis.
 I assume the gantry is the X axis and the Y which lags is mounted on  the X.
 How much weight are you driving per axis?
 How do you drive the axes; eg. gears, timing belts, etc and what 
 are  the ratios?
 Another way to put this is one step moves you how far?
 Step rate under normal conditions.



 This info is for the stepper experts. :-)
 Copied off a vendor site.

 Stepper motor:

 The FL60STH86-3008BF is a High Torque three stack Nema 23, 1.8 
 degree  hybrid stepper motor with a holding torque of 3Nm (425 
 Oz-in)

 Driver:

   Supply voltage up to +50VDC, current output
 up to 4.2A peak
   Optically isolated input signals, pulse
 frequency up to 400 KHz
   Automatic idle-current reduction
   3-state current control for less motor heating
   15 selectable resolutions in decimal and
 binary
   Suitable for 4,6,8 lead motors
   Stepping on upward or downward pulse edge
 (selectable)
   DIP switch current settingvalue


 4.1 Connector P1 configuration
 SignalFunctions
 PUL+(+5V)
 PUL- (PUL)
 Pulse signal: in single pulse(pulse/direction) mode, this input  
 represents pulse signal,
 effective for each upward – rising edge; in double pulse mode 
 (pulse/ pulse) this input
 represents clockwise(CW)pulse. For reliable response, pulse width  
 should be longer
 than 1.5μs.
 DIR+ (+5V)

 DIR- (DIR)
 Direction signal: in single-pulse mode, this signal has low/high  
 voltage levels,
 representing two directions of motor rotation; in double-pulse mode 
   (set by inside
 jumper JMP1), this signal is counter-clock (CCW) pulse, effective 
 on  each rising edge.
 For reliable motion response, direction signal should be sent to  
 driver 2μs before the
 first pulse in the reverse motion direction.
 ENA+ (+5V)
 ENA- (ENA) Enable signal: this signal is used for enable/disable,  
 high level for enabling driver and low level for disabling driver.  
 Usually left unconnected(enabled).

 HTH

 Dave

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/

 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 
 
 

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01

Re: [Emc-users] Micro stepper driver MSD542 / KL-5042 cont.

2008-05-21 Thread Kenneth Lerman
I really think we need some pictures and/or details.

Instead of using letters for a test case, could you try using short 
lines? First plot a set of parallel lines about 5 cm long and 2 cm 
apart, parallel to the X axis and centered on the Y axis. Then do the 
same thing parallel to the Y axis and centered on the X axis.

Ken

aaron Moore wrote:
 I think I would like to clear a few miss understandings here.  I am not an 
 engineer and will never be one.  I am a furniture maker/designer with a keen 
 interest in 
 digital technologies and linux.  I have built a 1.5m x 1.5m gantry style 
 router table with high spec rails, carriages and bearings.  It has been two 
 years in the 
 planning and taken 2-3 months to build in my spare time.  I bought a CNC Kit 
 from an online company in UK (who have not been able to sort my problem out) 
 consisting 
 of 3 x MSD542 micro controllers, 3 X FL86STH High torque Nema 34 Stepper 
 motors  and 2 X L6-PF11-001 (PS407) power supply units.  The motors are 
 connected in 
 parallel with micro stepping set to 16 and the power at 4.2 amps. It has cost 
 me well over £1000 and I would like to get it to work with a reasonable 
 amount of 
 accuracy.
 
 I have tried using many settings of speed and acceleration but I always get a 
 the same result.  When engraving a line text the individual letters look okay 
 but they 
 are always misplaced along the y axis by between 5mm and 30mm, and always in 
 the same direction.  My question today is could this be because I have not 
 used shielded 
 cable to wire the powersupply and drivers together.  If this could be the 
 problem what kind of cable should I use. Or is there something else I should 
 look into
 
 If any one can offer some advise I would be very grateful
 
 Cheers
 Aaron 
 
 
 

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

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


Re: [Emc-users] 155 ms real-time delay every 10 minutes?

2008-05-04 Thread Kenneth Lerman
Googling: pit clocksource had been installed

Got me to: http://lists.opensuse.org/opensuse-bugs/2008-01/msg00541.html

It appears from the above that you may be able to choose your clock. Choose 
wisely.

Ken


Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166
- Original Message - 
From: Anders Wallin [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Sunday, May 04, 2008 5:10 PM
Subject: Re: [Emc-users] 155 ms real-time delay every 10 minutes?


I forgot some things in my description:

 - The delay is not affected by cpu load. I've run glxgears and some
 filters in GIMP which put the cpu load firmly at 100% and that doesn't
 affect the rt delay. It's still fairly normal in between, and then there
 are the 155ms delays every 10 minutes.

 - also ran hdparm -t /dev/sda . It shows around 72Mb/s bandwidth and
 doesn't affect the latency-test.

 - I've stopped cron, anacron, and atd.


 AW

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 155 ms real-time delay every 10 minutes?

2008-05-04 Thread Kenneth Lerman
http://lists.soekris.com/pipermail/soekris-tech/2006-September/011079.html

Has more information on the various clocks.

Ken

Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166
- Original Message - 
From: Anders Wallin [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Sunday, May 04, 2008 5:10 PM
Subject: Re: [Emc-users] 155 ms real-time delay every 10 minutes?


I forgot some things in my description:

 - The delay is not affected by cpu load. I've run glxgears and some
 filters in GIMP which put the cpu load firmly at 100% and that doesn't
 affect the rt delay. It's still fairly normal in between, and then there
 are the 155ms delays every 10 minutes.

 - also ran hdparm -t /dev/sda . It shows around 72Mb/s bandwidth and
 doesn't affect the latency-test.

 - I've stopped cron, anacron, and atd.


 AW

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Un-Homing an axis

2008-05-02 Thread Kenneth Lerman
I believe that the way is *should* work is that overriding limits should 
override both hard and soft limits. Compared to overriding hard limits, 
overriding soft limits is harmless. For additional protection though, 
overriding limits should allow jogging only *away* from the limit that has 
been hit.

That would solve the problem very nicely, I think.

Of course, I have no idea about how difficult this might be to implement. 
:-)

Ken

Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166
- Original Message - 
From: John Thornton [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Friday, May 02, 2008 8:26 AM
Subject: Re: [Emc-users] Un-Homing an axis


 You would think that a jog override for soft limits would be nice. But 
 then that
 encourages sloppy setup and could cause serious damage on a larger 
 machine...

 John

 On 1 May 2008 at 22:43, Carl Helquist wrote:

 Somewhat related to the overriding limits topic, but I think different
  enough to start a new topic:

 I am using soft limits on my machine. If I accidently click on home
 instead of touch-off (the buttons are right next to each other) at
 that point I am stuck. I can't jog back to the home position to reset
 it because I'm at the soft limit. While the obvious answer is to not
 click the wrong button, I could also see this easily happening on the
 keyboard as my home key is right next to the arrow keys.

 Is there any way to put an axis back to the pre-homed state? Either
 that or a soft limit override?

 As I write this I may have answered my own question. I could modify
 Axis and Tkemc to disable the keyboard home button (not a great
 sacrifice as far as I can see) and move the screen home button to a
 location that requires a more deliberate move on my part, possibly on
 a pull-down menu. Disabling the screen button after homing the axis
 once is also tempting, with maybe an option to turn it back on in one
 of the pull down menus. Does anyone see any great disadvantage to any
 of this? I not suggesting that this be a change to the official
 version of Axis and Tkemc, just wondering if anyone sees any problems
 with my idea.

 Carl Helquist

 --
 --- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save
 $100. Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com
 /javaone ___ Emc-users
 mailing list Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Off Topic, DC Spindle Motor

2008-05-02 Thread Kenneth Lerman
I have a Rivett lathe that uses a motor generator to supply the DC for the 
motor. That's a PITA. I have a rotary converter to generate the three phase 
to drive the motor generator to create the DC for the motor.

When I was in the motor shop getting the commutator on the motor reworked, I 
spoke to someone there about what I was using the motor for. They had an off 
the shelf solution that took 120 or 240 (I forget which it was or whether it 
could work on either) in and generated DC for both the field and armature 
windings of a DC motor. It seemed to have variable speed control and was 
intended for this application. I believe the price was between $100-$200 
dollars. (My motor is a 2HP.)

I decided not to go that way because the lathe has a very nice bidirectional 
rheostat/reversing switch that I wouldn't want to replace right now. Also, 
the lathe doesn't get heavy use. If I ever convert to CNC, I'll look at 
that.

Someone on some list suggested that DC motors have much better 
torque/horsepower curves than a corresponding 3ph motor with a VFD. That's 
another reason to stick with the DC motor.

Ken

Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166
- Original Message - 
From: Gene Heskett [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Friday, May 02, 2008 11:02 AM
Subject: Re: [Emc-users] Off Topic, DC Spindle Motor


 On Thursday 01 November 2007, Kirk Wallace wrote:
On Wed, 2007-10-31 at 20:15 -0600, Jon Elson wrote:
 Kirk Wallace wrote:
  What is the best way to drive a 4hp, 90VDC, 40A spindle motor on a
  Hardinge CHNC? Some of the large DC motors I have seen, look like
  universal motors which would operate on AC or DC. Does anyone know if
  the CHNC spindle motor could  work on AC? I'm thinking, a few dimmer
  switches in parallel and a stepper to turn the dials ;). I wonder if 
  it
  would be cheaper to go with a 3-phase motor and VFD. Thanks.

 No, these motors are NOT universal motors.  You could rectify
 the mains to drive the motor, but then it would draw 40 A from
 the line.  You should be able to find an SCR drive for this.
 You can't parallel dimmers, they can't be trusted to give the
 same pulse width.

I was joking about the dimmers. So far I have found this:

http://www.baldor.com/products/detail.asp?1=1page=1catalogonly=1catalog=B
C155product=DC+Controlsfamily=One+Way%7Cvw%5FDCControls%5FOneWayvoltage=1
80

but this puts out 180V and I need 90V. Plus it seems that this kind of
controller does not interface with a computer well at all. It's
beginning to look like DC lathe spindle drives are a specialty item,
which means, hard to find and big bucks to buy or repair.

 If it is a standard-frame motor, then you
 could go the 3-phase and VFD route.  That may not give you the
 range of speeds and torque required.

The newer VFD's are much better with this aren't they?

   If you want smooth,
 controlled reversing, then you need a DC servo drive.  If you
 don't need a complete 4-quadrant servo drive, then the SCR DC
 motor drives may be the way to go.  Baldor and plenty of others
 make these, they show up on eBay all the time.

 Jon

 Hey guys, even the lowly board out of a Harbor Freight 47xx8 micromill, 
 except
 for the current rating, makes a truly excellent vsc when combined with a
 PMDX-106.

 This board, with a much larger bridge rectifier replacing its puny 4 amp
 device, and about 6 of the mosfets it uses in parallel with smallish 
 current
 sharing R's in series with the src's of each of the devices could probably 
 do
 that just fine.  The speed control is very stiff with this unit, so stiff
 that if I'm doing something heavy, I have to rig an ammeter in series with
 the motor in order to see how close I am to the 'red line'.  Otherwise it
 just blows the fuse with no detectable motor slowdown first.

 The only problem that I could foresee might be related to this boards 
 ability
 to drive that much gate capacitance of the paralleled mosfets and still
 achieve good switching speeds.  It is something I have not played with
 personally, so one might approach this by adding one device at a time 
 watching the heating.  Running correctly, the mosfets shouldn't heat more
 than 10F if screwed to a good heat sink and delivering 50% of their rated
 current.  In my own case, that would be at least 10 amps, but I didn't yet
 replace the puny bridge rectifier either.  Mine is currently in a closed
 plastic box with the PMDX-106 and has run that way for half a day at a 
 time
 without the box getting noticeably warm.  The direction relays make as 
 much
 heat as the rest of the circuitry.

 -- 
 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)
 Rule #1:
 The Boss is always right.

 Rule #2:
 If the Boss is wrong, see Rule #1

<    1   2   3   >