I gathered from your original post that there was more than one motor on this machine and that only this motor reversed direction. I further understand from your more recent post that the motor in question is three phase.
Assuming all the motors on this machine are powered from the same three phase source and, further, assuming that this motor is not being driven backward by the load, then you have no other reasonable conclusion but that somehow two of the phases got reversed on the motor.
Your task, as a detective, is to discover how these two phases got reversed!