A method for commanding the brakes (F1, F2, F3) of the motors (M1, M2, M3) of a multi-axis robot (R1; R2), the robot comprising: - a robot arm (B) comprising at least two degrees of freedom each associated with: • an electric motor (M1, M2, M3), • a sensor (C1, C2, C3) measuring movement information of the degree of freedom, • a brake (F1, F2, F3) able to lock the degree of freedom, - an interfacing unit of the brakes (F1-F3) able to control the supply of electricity to the brakes (F1-F3), - a central processing unit able to: • execute a program for commanding the robot arm (B), • determine and send position instructions, - variable drives (V1, V2, V3) able to generate, based on the position instructions and movement information, phase power currents of the motors (M1-M3), and having a torque off function of the motors (M1-M3), - a security system able to analyze the movement information, command the brakes (F1-F3) and command the torque off function of the motors (M1-M3), the method comprising a step 6a) consisting in selecting a motor (M1-M3) and being characterized in that it further comprises the following successive steps consisting in: - 6b) activating an electric braking function using the selected motor (M1-M3), the electric braking function owing to the back electromotive force that the movement of the robot arm (B) generates in the windings of the short-circuited phases of the motor, - 6c) opening the brake (F1-F3) associated with the selected motor (M1-M3), - 6d) comparing the movement information delivered by the sensor (C1-C3) associated with the selected motor (M1-M3) when the latter is performing the electric braking function with a predetermined threshold, - 6e) closing the brake (F1-F3) associated with the selected motor (M1-M3) when the movement information exceeds the threshold, and in that it further comprises a step 2) taking place before step 6a) and consisting in activating the safe torque off function of the motors (M1-M3). - a robot arm (B) comprising at least two degrees of freedom each associated with: • an electric motor (M1, M2, M3), • a sensor (C1, C2, C3) measuring movement information of the degree of freedom, • a brake (F1, F2, F3) able to lock the degree of freedom, • an electric motor (M1, M2, M3), • a sensor (C1, C2, C3) measuring movement information of the degree of freedom, • a brake (F1, F2, F3) able to lock the degree of freedom, - an interfacing unit of the brakes (F1-F3) able to control the supply of electricity to the brakes (F1-F3), - a central processing unit able to: • execute a program for commanding the robot arm (B), • determine and send position instructions, • execute a program for commanding the robot arm (B), • determine and send position instructions, - variable drives (V1, V2, V3) able to generate, based on the position instructions and movement information, phase power currents of the motors (M1-M3), and having a torque off function of the motors (M1-M3), - a security system able to analyze the movement information, command the brakes (F1-F3) and command the torque off function of the motors (M1-M3), - 6b) activating an electric braking function using the selected motor (M1-M3), the electric braking function owing to the back electromotive force that the movement of the robot arm (B) generates in the windings of the short-circuited phases of the motor, - 6c) opening the brake (F1-F3) associated with the selected motor (M1-M3), - 6d) comparing the movement information delivered by the sensor (C1-C3) associated with the selected motor (M1-M3) when the latter is performing the electric braking function with a predetermined threshold, - 6e) closing the brake (F1-F3) associated with the selected motor (M1-M3) when the movement information exceeds the threshold, <EOS>