On Fri, 2007-08-17 at 14:36 -0400, John Kasunich wrote: > It sounds to me like this will require some very tricky g-coding. > > One possibility to consider is using a rotary axis instead of a spindle. > Then you can program any head-vs-mandrel pattern you want, including > zero-degree, 90-degree, etc.
I think this is probably the best bet. Having direct control of the relationship between all the machine parts, and letting EMC handle running of the motors etc. You mentioned in an earlier email that setting it up as a rotary axis may induce problems because it will always be spinning in the same direction, and thus its position will slowly be increasing the whole time you are winding. Any idea what the limit of the position is? would this eventually cause an integer overrun or something similar that would cause the emc to freak out? > Clearly the CAM requirements for fiber winding are a lot different than > those for milling or lathe work. Figuring out the toolpath is the hard > part - controlling motors to follow that path (what EMC does) is easy by > comparison. > > If g-code doesn't lend itself to describing the paths you need, there > are other ways. Can you can write a program that prints the desired > mandrel angle, feed head axial position, and feed head radial positions, > at some relatively small time interval? (Like 0.01 second or so.) If > so, it isn't hard to feed that stream of positions to motors. (See the > man page for hal_streamer). I am reasonably handy with programming in C and perl, and as far as i can tell all the winding geometry should just be basic trigonometry. I don't see why I would not be able to write an app that allows you to import the mandrel geometry, specify some winding parameters and have it spit out the g-code. Thanks for your help Ryan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users