In NC process , operator faces two cartesian coordinates, one is workpiece cartesian coordinate upbuild in the programming, another is machine tool cartesian coordinate. Unify the two cartesian coordinates before machining by tool setting. This paper analyses particularly postulate and oreamer rientationb technique of upbuilding workpiece cartesian coordinates by using G92 and G54~G59 code.