On Jun 13, 2009, at Jun 13, 2009--9:35 AM, emc-users- [email protected] wrote: > From: Kenneth Lerman <[email protected]> > Date: Saturday2009June 13 Saturday2009June 139:02:50 AM PDT > To: "Enhanced Machine Controller (EMC)" <emc- > [email protected]> > Subject: Re: [Emc-users] .ngc file RFReview > Reply-To: "Enhanced Machine Controller \(EMC\)" <emc- > [email protected]> > > > 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 >>> >>
Ken, I just tried converting a bunch of my code to use named o-words. It loads and seems to start running OK but Axis doesn't show any preview of the code. Alan --- Alan Condit 1085 Tierra Ct. Woodburn, OR 97071 Email -- [email protected] Home-Office (503) 982-0906 ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
