2013/7/11 Jon Elson <[email protected]> > A potential LinuxCNC project is to build a CNC bender. > The only thing I don't know how to do is the bend angle. > What would be desirable is to set the bend angle in the > G-code, and have it passed to a HAL module such as > comp.comp, to decide when to turn the bend motor off. > The bending is done by a motor/gearbox, and you just > shut off the motor when the right angle is reached. So, > it can't be dealt with like a typical axis. I'm pretty sure there > is a way to do this, but I can't remember how. >
Could you, please, explain, why can't it be treated like a typical axis? How about this kind of modification: 1) use A or whatever other axis word to set the bend angle; 2) use axis.n.motor-pos-cmd pin to read the requested value and link that to your HAL component. I understand that HAL component is the place to compare actual bend angle with requested to turn the motor off, once requested value is reached. Just like John, I am interested in how do you intend to track actual bend angle? -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
