Spindel Control? using mach 3 signal on power supply

Hello people !!! Sorry maybe the topic has already been.
In general, I have such a power supply unit and a spindle of 500 watts. On the unit itself there is a signal mach3.
Please tell me how can I use this to control the spindle


Somewhere I remember there was a topic using D9 output

What control board are you using? Are you using Ryan’s firmware version of Marlin?

This topic might help you a bit.

Ramps 1.4+ mega .Marlin Dual End Stops Firm.

I should just turn the spindle on and off