Hi, I need to add G84 canned cycle for tapping with floating holder. I found Michaels work here http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/g84-dev And was able to add interp/g84,g74: floating tap cycle and canon: add optional wait_for_atspeed . Later is for overriding spindle_at_speed waiting after changing spindle rotation direction before pulling Z back from bottom of thread. But I have few questions:
1. In interp_cycles.cc there was plane_name(plane) used and it is now obsolete? What to use instead? ie. ERS("G%c4 for plane %s not implemented", op, plane_name(plane)); 2. There has been changes in taskintf.cc emcSpindleSpeed function. It seems to call emcSpindleOn function nowadays instead of directly using emcmotCommand. And now this call: int emcSpindleSpeed(double speed, double css_factor, double offset) { if (emcmotStatus.spindle.speed == 0) return 0; //spindle stopped, not updating speed return emcSpindleOn(speed, css_factor, offset, 1); <== } Gives me error: Too few arguments passed to emcSpindleOn function. I added that 1 so emcSpindleSpeed always turns on wait_for_spindle_at_speed. But is there a better way? 3. How can I run diff of my local source agains current master? Tero ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers