Now that I figured out how to connect panel buttons to EMC and to specify what to do when they are pressed, etc. I have coolant working the way I want.
So now is the time to move on to more panel controls.
I have two buttons on my mill called (in the schematic) CYCLE START and CYCLE STOP. I want to know what they mean exactly. I can make them mean anything I want, but I want to do the right thing. This is a little bit of a reality check.
I think that CYCLE START is like a play button, and CYCLE STOP is like a pause button.
If I press CYCLE STOP, I want motion, spindle and coolant to stop. Then I could vacuum chips, measure something, etc. If I press CYCLE START, I want spindle to restart, coolant to start flowing, and motion to resume. I am a little fuzzy on this, like how can EMC remember that coolant was running before, for example. I guess that pressing cycle stop twice could mean end of program and return to manual mode.