Reference Manual

PMAC 2 Software Reference
PMAC Program Command Specification 355
TSELECT{constant}
Function
Select active transformation matrix for X, Y, and Z axes
Type
Motion program (PROG and ROT)
Syntax
TSELECT{constant}
where:
{constant} is an integer representing the number of the matrix to be used.
Remarks
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 (you cannot select a matrix that has
not been created).
TSEL0 deselects all transformation matrices, saving calculation time.
Example
DEFINE TBUF 5 ; Create five 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 a Motion Program)
On-line command DEFINE TBUF
Program commands AROT, IROT, ADIS, IDIS, TINIT
U{data}
Function
U-Axis Move
Type
Motion program
Syntax
U{data}
where:
{data} is a floating point constant or expression representing the position or
distance in user units for the U-axis.
Remarks
This command causes a move of the U-axis. (See {axis}{data} description, above.)
Example
U10
U(P17+2.345)
X20 U20
U(COS(Q10)) V(SIN(Q10))
See Also
Program commands {axis}{data}, A, B, C, V, W, X, Y, Z, CALL, READ