Mks dlc 32 spindle control on ozo depaneller

I need to have the spindle output giving me 0 to 1000hz to control my spindle by gcode
I’ve mounted a laser on my ozo routerxyz+spindle and tool change. The laser works well. I would like to get the laser AND Mille working togheter (the mill to depanellize and the laser to engrave)
Other question, I’ve on each axis a flag (for autozero & limit ) and index (to get real precise positionning).
Is the mks able to manage index? (I have also A/B resolver…) .