Yeah, you're right I didn't read it correctly. Ignore my comments about the SSR.

This is my circuit diagram:

https://www.mycncuk.com/attachment.p...2&d=1704021402

Makerbase MKS DLC32 MAX CNC Router Board:
https://a.aliexpress.com/_EusgSEY

You wouldn't even need to write any code to get this working.