Good morning. I am new to this site. I have built a 1515 lead machine with a Black Box 32 controller. i want to know if i can program the two relays for other purposes than the tool enable and direction as discussed in the documentation? I would like to configure the Relay 1 and Relay 2 for the purpose of "job initiated" and "job complete".
Relay 1 is quite close already, its on for M3/4 and off for M5 - and most gcode jobs starts the spindle at the start and turns it off when the job is done so that might work for you without needed custom firmware development. Otherwise you'd have to write a plugin for grblHAL to use the relays in other ways