DMC-18x6 Command Reference
3
Interrogation
Most commands accept a question mark (?) as an argument. This argument causes the controller to return
parameter information listed in the command description. Type the command followed by a ? for each axis
requested. The syntax format is the same as the parameter arguments described above except '?' replaces
the values.
PR ?
The controller will return the PR value for the A axis
PR ,,,?
The controller will return the PR value for the D axis
PR ?,?,?,?
The controller will return the PR value for the A,B,C and D axes
PR ,,,,,,,?
The controller will return the PR value for the H axis
PR*=?
The controller will return the PR value for all axes
Operand Usage
Most commands have a corresponding operand that can be used for interrogation. The Operand Usage
description provides proper syntax and the value returned by the operand. Operands must be used inside of
valid DMC expressions. For example, to display the value of an operand, the user could use the command:
MG
`operand'
All of the command operands begin with the underscore character (_). For example, the value of the
current position on the A axis can be assigned to the variable `V' with the command:
V=_TPA
Usage Description
The Usage description specifies the restrictions on proper command usage. The following provides an
explanation of the command information provided:
"While Moving":
Describes whether the command is valid while the controller is performing a motion.
"In a program":
Describes whether the command may be used as part of a user-defined program.
"Command Line":
Describes whether the command may be used as a direct command.
"Controller Usage":
Identifies the controller models that can accept the command.
Default Description
In the command description, the DEFAULT section provides the default values for controller setup
parameters. These parameters can be changed and the new values can be saved in the controller's non-
volatile memory by using the command, BN. If the setup parameters are not saved in non-volatile
memory, the default values will automatically reset when the system is reset. A reset occurs when the
power is turned off and on, when the reset button is pushed, or the command, RS, is given.