|
Axis Angle Reversal
Some 5X machine axes treat positive and negative angles contrary to the GPP2 conventions. For instance, in GPP2, a counter-clockwise rotation (when viewed from the axis top point) is a positive change in the angle. In some machines, a positive change may result in clockwise rotation.
In some cases, such angle reversal can also be handled by defining a negative axis direction (For example, -X instead of X). In other cases, where the axis in question has a Z component (same as the tool itself), such an approach will not succeed. For instance, it is not possible to use -Z instead of Z in a table-table machine.
In order to handle such situations, GPP2 allows the reversal of each axis angle. By setting M5_A_REVERSED (for the alpha axis) or M5_B_REVERSED (for the beta axis) to TRUE_, all output angles for the corresponding axis will simply be negated.
Internally, GPP2 uses its standard axis and angle definition. The reversal is done just prior to setting the values in A_CURPOS and B_CURPOS, and invoking the relevant EX2 block.
|