|
Defining Machine Axes
In GPP2, a rotation axis is defined with a direction (I,J,K) vector. For instance, rotation around the machine X axis is defined by the (1,0,0) vector. In order to simplify programming, GPP2 has many predefined axes that can be used without having to deal with these direction vectors.
Note that axis X (1,0,0) is not the same as axis -X (-1,0,0). The difference is in the direction of rotation. The direction vector also defines a unique direction of positive and negative rotations, as illustrated in the following figures.
The same applies to any GPP2 rotation axis. When looking into the arrow head, positive rotation is always counterclockwise.
GPP2 supports the following predefined constants to be used when defining 4/5X machine axes:
AX5_NONE AX5_PX AX5_MX AX5_PY AX5_MY AX5_PZ AX5_MZ AX5_PXPY AX5_PXMY AX5_MXPY AX5_MXMY |
Null (4X machines) +X direction -X direction +Y direction -Y direction +Z direction -Z direction +X +Y (45 degrees) +X -Y (45 degrees) -X +Y (45 degrees) -X -Y (45 degrees) |
AX5_PXPZ AX5_PXMZ AX5_MXPZ AX5_MXMZ AX5_PYPZ AX5_PYMZ AX5_MYPZ AX5_MYMZ AX5_MANUAL_A AX5_MANUAL_B |
+X +Z (45 degrees) +X -Z (45 degrees) -X +Z (45 degrees) -X -Z (45 degrees) +Y +Z (45 degrees) +Y -Z (45 degrees) -Y +Z (45 degrees) -Y -Z (45 degrees) Axis A - other direction Axis B - other direction |
|