On 7 March 2011 10:08, ELHIMA Moustapha <melh...@yahoo.com> wrote: > I need only to control 3 stepper motor (2 in turning mode + the stepper as > normal spindle and 3 in milling mode) and also to control the lubrification > unit who will work every 10min during 10 seconds for example. (it's for my > linear rail and bearing) > > How do you thinks i could control it by logic? >
Looking at the picture, I get the impression that you need to stop the machine, fit a milling tool and possibly remove the saw blade to switch modes? Or are the milling spindle height and saw blade height independently controlled? If you do need to stop the machine to change modes, then the easiest and simplest solution is just to create two different configurations in Stepgen (with a bit of hand editing). I do this with my combination machine (which is conceptually very similar) https://picasaweb.google.com/bodgesoc/Gibbs#5403345493251452434 That, depending on which icon I click, starts up as an XZ lathe, or an XYZA milling machine. The scheme I have been trying to help with assumes that you need to change from one mode to the other in G-code without stopping the machine. -- atp "Torque wrenches are for the obedience of fools and the guidance of wise men" ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers