
10.FUNCTION FOR THREE-DIMENSIONAL PROCESSING SYSTEM B-63192EN/03
- 70 -
10.3.3 Three-dimensional Coordinate Conversion
Command method
G68 Xx Yy Zz Aa Bb Ii Jj Kk ;
Program to be converted
G69 ;
The program put in between the commands G68 and G69 is
coordinate- converted.
(1) The program to be converted is regarded as that having
programming specifying the figure to be drawn on the XY-plane
and the direction of Z axis as the nozzle direction.
(2) The G68 block specifies data for conversion.
1 Origin of coordinate-conversion by x, y, and z (using
absolute values)
2 Nozzle axis tilt angle at the origin by a and b (normal line
to the workpiece)
3 The vector of the axis corresponding to the positive
direction of the X-axis of the program to be converted, by i,
j, and k (with the incremental value from the origin of the
coordinate-conversion)
Z'
Z
X'
X
Y
Y'
i, j, k
P
Ori
in
x,
, z
(3) The coordinate-conversion is executed based on the coordinate
system described below.
The coordinate system is determined by first defining the plane,
where the axis direction given by a and b is regarded as the
normal direction of the workpiece based on the origin having the
X-, Y-, and Z-axis coordinate values. Next, the workpiece plane
is rotated at the normal axis regarded as the rotational axis, and
then the +X axis in the program to be converted is directed in the
direction given by i, j, and k.
(4) The format can be taught easily by the teaching box.
The values of x, y, z, a, and b are defined by reading the current
position after positioning of the nozzle to the origin is executed
by teaching, and adjusting the attitude of the nozzle in the
normal direction of the workpiece. Then the nozzle is moved to
the point p to define the direction of the +X axis and the current
position of x1, y1, and z1 is read. Finally, the values of i, j, and
k are defined by calculating the formulas i=x1-x, j=y1-y, and
k=z1-z.