As far as I know the VFD FOR terminal or the G540 Output 5 has a relay because now when I ask Mach3 with M3S10000 it starts the spindle.
Regarding what I said in my last post I was wrong because the VFD starts the spindle when Mach3 and G540 are OFF.
Do you know why the VFD will start the spindle without any external command?