What type of motor is on the spindle 3 phase motor across the line? or AC motor and drive? or DC and drive?.
If straight AC motor then reverse any two phases to the motor.
You can use M4 instead of M3 in the meantime.
If it has a drive, then it is a bit more invloved.