[Procedure]

TP
In the user frame setting screen, select any user frame number, and configure the frame by three-point teaching so that the table plane is treated as the XY plane. In this tutorial, it is set to User Frame 1 for an illustration purpose.

TP
Record a single point on the table plane ((1) on the right figure, for example) as the frame origin. As long as it is on the plane, any point can be set as the frame origin.

TP
Record another point on the plane far from the frame origin ((2) on the right figure, for example) in the X-axis direction as the X-axis direction point.

TP
Similarly, record another point on the plane far from the frame origin and the X-axis direction point ((3) on the right figure, for example) in the Y-axis direction as the Y-axis direction point.
Against the X-axis direction, set the Y-direction point on the left side so that the Z-axis direction points up, making it easy to understand.
Set the distances between the frame origin, X-axis direction point, and Y-axis direction point as far as possible so that the setting accuracy improves.
Also, make sure that these three points are parallel to the table plane.