Many hours of reading, searching forums, studying manuals.... my Bridgeport conversion is almost there. Seems the "macropump" file is the way to go for a couple of issues I have. I have an air spindle brake that must be activated before the spindle turns on. I tried this with a brain but the spindle would start at mach3 loading. Other than that it worked but there are a few other (if this,then do this) issues that I cant seem to accomplish with the brain editor. Wonder if someone could just show me what the macropump format would look like and I can work on it from there.
Spindle M3 is pin 1 and M4 is pin 2 outputs.
Air brake is pin 5 output.
I also have a low air input on pin 11 and a spindle overload on pin 12. I need the spindle to be disabled if there is a low air signal (if I forgot to turn the compressor on or if an air line should break while the spindle is running) both before the spindle is activated and while running. I don't want an EStop, just for the spindle to be disabled. Air brake also needs to be disabled after "spindle off". (disable engages the brake)
macropump might be something like:
check for low air input and disable spindle (wont start)
if low air stop spindle and disable brake
spindle off disable brake output
same with spindle overload
Thanks in advance, RonO