After some calming words from my therapist I'm coming to grips with the idea that I can't get access to pins directly from embedded python. (maybe through emccanon? Ah, leave it behind.)
However I seem to have made progress by using the mappings of M62-M65 to the dout-00 through 03 pins. M66 apparently waits on din-00 through din-03. So I'm moving the spindle to the right place on the rack toolchanger now, and releasing the power drawbar, etc. However, calls to interpreter (boost:python mapping of C++ Interp class) are asynchronous - I fly through my code presumably putting all the g-code and m-codes onto a queue. That's not ideal because I'd like to pause for a bit to make sure the spindle has stopped, start the cleaning air blow and pause for a second, and so on. Does anybody know if there's a way, perhaps an argument to execute() or something, that will make the interpreter execute synchronously? Or a call where I can pause until the command queue (sorry if that's bad terminology) is empty, so I know I've completed a move? ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users