Without having further details on the controller used, what is being used for a brake and the application/purpose it is hard to give a better response.. If there is use of ball screws that would require a brake when stopped, the use of a separate electro-mechanical brake on a lathe is a question. Some machines have a brake motor or electro-mechanical brake, the brake is activated when the motor shuts down or the clutch drive is disengaged. How it is used and wired up depends on the application and the, means of braking. Some servo drives with encoders also have the ability to brake electronically. Lack of information results in conjecture, please be more specific/detailed in your application.