Spindle Direction control for VFD