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