The X, Y, and Z directions of each axis are set in the same direction as the robot coordinate system. Refer to the following about the coordinate system origin of each axis.
Figure 62 Coordinate System Origin of Each Axis for Each Robot Configuration