Summary of Interrogation Commands
RP
RL
∧
SC
TB
TC
TD
TE
TH
TI
TP
TR
TS
TT
TV
TH
TZ
For example, the following example illustrates how to display the current position of the X axis:
TP A <return>
0000000000
TP AB <return>
0000000000,0000000000
Interrogating Current Commanded Values
Most commands can be interrogated by using a question mark (?) as the axis specifier. Type the
command followed by a ? for each axis requested.
PR ?,?,?,?
PR ,?
The controller can also be interrogated with operands.
Operands
Most CDS-3310 commands have corresponding operands that can be used for interrogation. Operands
must be used inside of valid DMC expressions. For example, to display the value of an operand, the
user could use the command:
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:
The Command Reference denotes all commands which have an equivalent operand as "Used as an
Operand". Also, see description of operands in Chapter 7.
i
40
Chapter 5 Command Basics
∧
R
V
MG 'operand'
where 'operand' is a valid DMC operand
V=_TPA
Report Command Position
Report Latch
Firmware Revision Information
Stop Code
Tell Status
Tell Error Code
Tell Dual Encoder
Tell Error
Tell Handle Information
Tell Input
Tell Position
Trace
Tell Switches
Tell Torque
Tell Velocity
Tell Ethernet Handle status
Tell I/O Status
Tell position A
Controllers Response
Tell position A and B
Controllers Response
Request A,B,C,D values
Request B value only
CDS-3310