I am setting up a dispensing application, and would like to drive a stepgen at a rate proportional to the current vector velocity. I recall reading some discussion of this kind of application a year or two ago, but can't find it in the archives. Basically, I have a little Haydon linear stepper actuator driving the piston of a syringe. I want to start dispensing with an M code, and have the dispense rate proportional to the velocity of the nozzle tip. I will use a parameter to set the proportionality.
Does anybody have a hal configuration that does something like this? I'm using a Mesa 7i43, so have hostmot2 stepgens with velocity-fb pins. I suspect I need to create a stepgen in velocity mode for the syringe, and connect its velocity command to the product of hypot with the three velocity-fb pins and the gain parameter. I can envision the details taking a few hours to figure out though :-(. Thanks, -- Ralph ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
