Greets - Is there a boolean method of determining if LCNC (and likely with AXIS) is currently performing either a feed-rate related move (G1,2,3+) or a rapid move (G0 only, optionally including any M-end-related sequences)? To date, I've been piping the current combined-axes velocity (ie actual feed rate) into a window comparator, and making the choice if it were "greater than " a certain limit, then assuming it was a rapid. This of course is good enough for most instances, but has shown a couple faults, particularly if there were multiple G0's stacked in a row (rare but possible - it would of course decel in the corners as intended, then the vel fall below the threshold....)
The implementation is for a non-contact tool (similar to a paint sprayer), so there is leniency in the timing of selection (a bit). There are attempts to modify the cam post to just add M1xx to the top and tail of each rapid, but there are a lot of legacy items that would also need editing. The g code will also likely come from Slic3er (not my usual SprutCam, which would have been much easier!), and to modify the output on Slic3r actually entails rewriting the program itself. I know the EMCTOP item will indicate "the current g-codes", however I don't know how it gets that information, or how one would try and translate the [string] of values. I can understand writing a comp and parsing that string, but getting that info eludes me, and I'm hoping there as an easier path (as the EMCTOP string seems un-necessarily complicated). Mucho thanks, Ted ------------------------------------------------------------------------------ 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=58040911&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users