o<orientspindle> sub
; Orient the spindle with platter
(PRINT, o<orientspindle>)

M5 M9 ; stop all spindle motion and coolant
M19 R0 Q4 ; orient spindle
M5 ; turn off spindle lock

o<orientspindle> endsub [1]

M2
