For joint repair/replacement surgery, a surgical robot works in conjunction with the surgeon. The surgeon, thanks to CT scans and/or MRI imaging, has preprogrammed the safe parameters for the planned procedure (knee, hip, shoulder, etc.). The device allows the surgeon to remove damaged tissue and bone up until the programmed points, avoiding damage to surrounding tendons and tissue, effectively assisting the surgeon in making a more accurate foundation for replacement joints or partial joints. The device also verifies the accuracy in the positioning of the replacement implants.