Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 267
Example:
#1J+ ; Command Motor 1 to jog positive
J- ; Command Motor 1 to jog negative
#2J+ ; Command Motor 2 to jog positive
J/ ; Command Motor 2 to stop jogging
See Also:
Control-Panel Port Inputs (Connecting Turbo PMAC to the Machine)
Addressing commands (Talking to Turbo PMAC)
Program commands COMMAND, ADDRESS
On-line commands #, &, &{constant}, @{constant}
#{constant}->
Function: Report the specified motor's coordinate system axis definition.
Scope: Coordinate-system specific
Syntax: #{constant}->
where:
{constant} is an integer from 1 to 32 representing the number of the motor whose axis definition
is requested
Note:
No spaces are allowed in this command.
This command causes Turbo PMAC to report the current axis definition of the specified motor in the
currently addressed coordinate system. If the motor has not been defined to an axis in the currently
addressed system, Turbo PMAC will return a 0 (even if the motor has been assigned to an axis in another
coordinate system). A motor can have an axis definition in only one coordinate system at a time.
Example:
&1 ; Address Coordinate System 1
#1-> ; Request Motor 1 axis definition in C.S. 1
10000X ; Turbo PMAC responds with axis definition
&2 ; Address Coordinate System 2
#1-> ; Request Motor 1 axis definition in C.S. 2
0 ; Turbo PMAC shows no definition in this C.S.
See Also:
Axes, Coordinate Systems (Setting Up a Coordinate System)
On-line commands #{constant}->0, #{constant}->{axis definition}, UNDEFINE,
UNDEFINE ALL.
#{constant}->0
Function: Clear axis definition for specified motor.
Scope: Coordinate-system specific
Syntax: #{constant}->0
where:
{constant} is an integer from 1 to 32 representing the number of the motor whose axis definition
is to be cleared
Note:
No spaces are allowed in this command.
This command clears the axis definition for the specified motor if the motor has been defined to an axis in
the currently addressed coordinate system. If the motor is defined to an axis in another coordinate