How to set current position TCP

Set the current position of the robot to the TCP origin, and the current position [0,0,0,0,0,0] reported by the robot. I also can set the origin of the current TCP feedback, and customize the XYZ axis direction.