Guys, thanks for all your help. It was not the motor, it was not the controller. It was a problem in between. It seems the customer had messed around with the harness and had swapped some cables internally. This is what happens when customers try to become technicians themselves and their main business is something else, in this case, vegetable grower!
Cheers!
This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.