Maybe you could use M3 for one spindle and M4 or M5 for the other
If this only for a 3D printer
You will probably have to manually update your Gcode for that.
Or any Mcode can do if you
This thread is for a dual spindle router
http://www.machsupport.com/forum/index.php/topic,16327.0.htmlSearch for others dual spindle threads
Jeff