Reference Manual

PMAC 2 Software Reference
PMAC On-Line Command Specification 287
{blank} no ladder-logic diagram support
LDs Ladder-logic diagram support
{Clock multiplier}:
CLK Xn where n is the multiplication of crystal frequency to CPU frequency
Example
TYPE
PMAC1, ISA/VME, BATTERY, PID, CLK X1
TYPE
PMAC2, ISA, FLASH, ESA, CLK X3
TYPE
PMACUL, VME, FLASH, PID, LDs, CLK X2
See Also
On-line commands VERSION, DATE
UNDEFINE
Function
Erase Coordinate System Definition
Scope
Coordinate-system specific
Syntax
UNDEFINE
UNDEF
Remarks
This command causes 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............. ; PMAC responds
#2->.................. ; Ask for axis definition of Motor 2
10000Y............. ; 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
Remarks
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 PMAC’s coordinate system
definitions.
Example
&1#1->............. ; Request axis definition of Motor 1 in C.S. 1
1000X ............... ; PMAC responds
&2#5->............. ; Request axis definition of Motor 5 in C.S. 2