You could use the “Coolant Enable” (A3) or “Mist Enable” (A4) output to drive a relay or transistor (would have to be careful of current draw if using a relay - you can tap +5v from inside the X-controller if necessary).
I connected Superpid RUN to MIST output from xcontroller - with no job running output was zero volts as expected.
Problem: Superpid RUN starts router with a zero volt signal, will need to invert the signal thru a small break out cct.
break out cct will need to be powered by Superpid because it would be too dangerous to power from xcontroller as input to Superpid RUN would then go low with power loss hence turning on the router…
if power is lost to the Superpid then the router will not operate.
I wonder if Superpid has option to invert the signal, it is after all a microcontroller reading an input signal.
will email Superpid for a response on that one.
I agree doing the G-Codes in the reverse order to control the motor. But I am concerned about loss of power at the xController - going to zero volts will turn the router motor on as a side effect of losing power.
I will try out the pull up resistor idea on the Superpid side to ensure that loss of power on xcontroller has no effect.
Do you think you could run 120v output to IOTrelay then plug router into IOTrelay. Then I could just use standard PWM from xcontroller to turn on IOTrelay. Not sure how Super pid controls speed of router and if the throughput of the IOTrelay would block signal