Are you using a laser post-processor or are you using a carving post-processor to output your toolpath file? When using a laser post-processor the file generates signals that turn the laser on and off as needed but when using a carving post-processor it turns the spindle on before starting to cut and turns it off when the toolpath is finished.
I think that is the problem you are having.
I think that is the problem you are having.