The robotic mechanism may include a programmable computer which is connected with a drive member by a motor. In addition to the motor, a force measurement assembly may be connected with the drive member and computer. The force measurement assembly has an output to the computer indicating the magnitude of resistance encountered. The force measurement device may be a piezoelectric cell or a spring assembly which controls energization of the electric motor. A position sensor is connected with drive member and the computer. The position sensor has an output which is indicative of the position. The output from the position sensor may indicate the depth or distance. Ultrasonic vibratory energy may be transmitted to the force transmitting member from a source or generator of ultrasonic vibratory energy. The force transmitting member may function as a horn and apply the ultrasonic vibratory energy.