Thanks a lot for all the help.
I finally set up the drives and the controller with mach3.
I have good motion in all the three axes but the problem is the stepper motors make a high pitch whining noise when they are switched on.
I used the auto set steps per unit to calibrate the axes.
I tried different acceleration and velocity settings but the sound persists.
Is it because of the power supply that i am getting this noise since the power supply has a high voltage than what is required.
Is there anything that i am missing out?