Hi,
I'm getting started with Pokeys and Mach4 after many years of ESS and Mach3, it feels like you can make it do anything as long as you figure out how!

I have a gantry style machine up and running and I would like to add some bells and whistles...and safety features!
I am using the Pokeys pendant and now I would like to have one of the relay outputs activate when I hit the pendant E-stop so I can activate the main E-stop system and disengage contactors etc. It should be possible but I have no idea where I should start with this!
I would also like to activate two separate outputs when the spindle is on, one for the VFD control and one for the shop vacuum, is there a simple way of doing it?
I have been thinking of making a custom button that controls an output but I guess I also need to read the state of the spindle on command to have it activate automatically?
Thank you for a very helpful and nice forum!