Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 400
TYPE
TURBOU, X5
See Also:
On-line commands VERSION, DATE
UNDEFINE
Function: Erase Coordinate System Definition
Scope: Coordinate-system specific
Syntax: UNDEFINE
UNDEF
This command causes Turbo PMAC to erase all of the axis definition statements in the addressed
coordinate system. It does not affect the axis definition statements in any other coordinate systems. It
can be useful to use before making new axis definitions.
To erase the axis definition statement of a single motor only, use the #{constant}->0 command; to
erase all the axis definition statements in every coordinate system, use the UNDEFINE ALL command.
Example:
&1 ; Address C.S.1
#1-> ; Ask for axis definition of Motor 1
10000X ; Turbo PMAC responds
#2-> ; Ask for axis definition of Motor 2
10000Y ; Turbo PMAC responds
UNDEFINE ; Erase axis definitions
&2 ; Address C.S.2
#1->10000X ; Redefine Motor 1 as X-axis in C.S.2
#2->10000Y ; Redefine Motor 2 as Y-axis in C.S.2
See Also:
Axes, Coordinate Systems (Setting Up a Coordinate System)
On-line commands #{constant}->, #{constant}->0, UNDEFINE ALL
UNDEFINE ALL
Function: Erase coordinate definitions in all coordinate systems
Scope: Global
Syntax: UNDEFINE ALL
UNDEF ALL
This command causes all of the axis definition statements in all coordinate systems to be cleared. It is a
useful way of starting over on a reload of Turbo PMAC's coordinate system definitions.
Example:
&1#1-> ; Request axis definition of Motor 1 in C.S. 1
1000X ; Turbo PMAC responds
&2#5-> ; Request axis definition of Motor 5 in C.S. 2
1000X ; Turbo PMAC responds
UNDEFINE ALL ; Erase all axis definitions
&1#1-> ; Request axis definition of Motor 1 in C.S. 1
0 ; Turbo PMAC responds that there is no definition
&2#5-> ; Request axis definition of Motor 5 in C.S. 2
0 ; Turbo PMAC responds that there is no definition
See Also:
Axes, Coordinate Systems (Setting Up a Coordinate System)