Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Program Command Specification 478
See Also:
Linear and Circular Blended Moves (Writing and Executing Motion Programs)
I-variables Isx13, Ixx17, Ixx21, Isx87, Isx88
Program commands TA, TM, F, LINEAR, CIRCLE
TSELECT{constant}
Function: Select active transformation matrix for X, Y, and Z axes
Type: Motion program (PROG and ROT)
Syntax: TSELECT{constant}
TSEL{constant}
where:
{constant} is an integer representing the number of the matrix to be used
This command selects the specified matrix for use as the active transformation matrix for the X, Y, and Z
axes of the coordinate system running the motion program. This matrix can then be modified using the
TINIT, ADIS, AROT, IDIS, and IROT commands to perform translations, rotations, and scaling of the
three axes. This matrix will be used until another one is selected.
This matrix must already have been created with the on-line DEFINE TBUF command. That command
specifies the number of matrices to create and it must have specified a number at least as high as the
number used in TSEL (a matrix that has not been created cannot be selected).
TSEL0 deselects all transformation matrices, saving calculation time.
Examples:
DEFINE TBUF 5 ; Create 5 transformation matrices
OPEN PROG 10 CLEAR
...
TSEL 3 ; Select transformation matrix 3 (of 5)
TINIT ; Make matrix 3 the identity matrix
See Also:
Axis Matrix Transformations (Writing and Executing Motion Programs)
On-line command DEFINE TBUF
Program commands AROT, IROT, ADIS, IDIS, TINIT
TX{data}
Function: Set 3D-comp tool-orientation vector X-component
Type: Motion program (PROG and ROT)
Syntax: TX{data}
where:
{data} is a signed floating-point constant or expression representing the X-component of the tool-
orientation vector
This statement specifies the X-component of the tool-orientation vector used for three-dimensional cutter-
radius compensation. This value is used along with the Y and Z-components specified by the TY{data}
and TZ{data} statements, respectively, to compute the orientation of the vector.
The total magnitude of the tool-orientation vector specified with these three components does not matter,
although typically a unit-magnitude vector is specified. The relative magnitudes (including signs) of the
three components are what determine the orientation of the vector. The direction sense of the vector does
not matter base to tip, or tip to base. Generally, all three components are declared together on one line;
if only one or two components are declared, the others are left at their old values, possibly leading to
unpredictable results.