Thanks,
sounds like I'll have to do some learning to customize mach before giving it spindle control. My m3, m4, and m5's are discrete momentary inputs. Actually all my m codes except for quill lock are momentary outputs. I don't know where m codes are defined yet but maybe i can just de-define them and write a brain that activates the appropriate output for the appropriate time when an m code is called so I can do them all in one place?