Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Program Command Specification 484
...
ENDWHILE
See Also:
Program Logic (Writing and Executing Motion Programs, Writing a PLC Program)
How Turbo PMAC Executes a Motion Program (Writing and Executing Motion Programs)
Program commands AND, OR, IF, ELSE, ENDIF, ENDWHILE
X{data}
Function: X-Axis Move
Type: Motion program
Syntax: X{data}
where:
{data} is a floating point constant or expression representing the position or distance in user units
for the X-axis.
This command causes a move of the X-axis. (See {axis}{data} description, above.) If it follows a
subroutine call (explicit or with PRELUDE) on a program line, it can be used instead to pass its value to
the subroutine through use of the READ command.
Examples:
X10
X15 Y20
X(P1) Y30
X(Q10*COS(Q1)) Y(Q10*SIN(Q1))
X3.76 Z2.92 I0.075 K3.42
CALL100 X5 Y10
See Also:
Program commands {axis}{data}, A, B, C, U, V, W, Y, Z, CALL, PRELUDE, READ
Y{data}
Function: Y-Axis Move
Type: Motion program
Syntax: Y{data}
where:
{data} is a floating point constant or expression representing the position or distance in user units
for the Y-axis.
This command causes a move of the Y-axis. (See {axis}{data} description, above.) If it follows a
subroutine call (explicit or with PRELUDE) on a program line, it can be used instead to pass its value to
the subroutine through use of the READ command.
Examples:
Y50
Y(P100)
X35 Y75
Y-0.221 Z3.475
Y(ABS(P3+P4)) A(INT(P3-P4))
G73 Y20
See Also:
Program commands {axis}{data}, A, B, C, U, V, W, X, Z, CALL, PRELUDE, READ