I have a patched version of LinuxCNC that attempts to support multiple spindles.
For example M3 E3 S3 will start the 4th spindle at a speed of 3 rpm. In the current incarnation E is used to modify any spindle-related code to define the spindle to be used. Except for G76 (lathe threading) where E was "taken" and D is used. But KimK wants D for thread taper so it's not ideal in two ways. Other options are possible. Jepler found that one controller uses M90 for spindle 0, M92 for spindle 1 and M93 for spindle 2. (presumably their M91 was taken). LinuxCNC has M90 through to M99 unused, so that would be an option. M93 M3 S3 LinuxCNC does not currently use decimal M-codes. But M3.3 S3 would seem reasonable, if the option was added. G76.3 would then be threading. Rigid tapping, though, is difficult. G33.1.1? But there is another option that has some appeal, but is a marked departure. G-code does not use the $ character. But it looks a bit like an S-for-spindle. If we used that to define the spindle then there is no chance of a "collision" with any other G-code dialect (and I think that Remapping would then ve free to emulate any other G-code dialect). -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
