Image guided surgery using medical robots is becoming popular these days. For image guided surgery, a tracking system is required to provide 6DOF information of patient coordinate, surgical instruments and medical robots used in surgery. To provide 6DOF information, a marker has to be attached to the target. However, it is hard to use many markers all together because the markers will take too much space in the surgical area. The tracking system proposed in this study utilizes down sized markers compared to traditional markers by using micro-engraved datacoded pattern with a lens instead of using geometrically specified marker spheres as a tracking target. A tracking system is developed that has a measurement area of 1m to 2.5m from the tracking system. Experiment has been done for surgical navigation using the proposed tracking system and a medical robot.