40
i
Chapter 5 Command
Basics
CDS-3310
Summary of Interrogation Commands
RP Report Command Position
RL Report
Latch
∧
R
∧
V
Firmware Revision Information
SC Stop
Code
TB Tell
Status
TC
Tell Error Code
TD
Tell Dual Encoder
TE Tell
Error
TH
Tell Handle Information
TI Tell
Input
TP Tell
Position
TR Trace
TS Tell
Switches
TT Tell
Torque
TV Tell
Velocity
TH
Tell Ethernet Handle status
TZ
Tell I/O Status
For example, the following example illustrates how to display the current position of the X axis:
TP A <return>
Tell position A
0000000000 Controllers
Response
TP AB <return>
Tell position A and B
0000000000,0000000000
Controllers Response
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 ?,?,?,?
Request A,B,C,D values
PR ,?
Request B value only
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:
MG ‘operand’
where ‘operand’ is a valid DMC 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
The Command Reference denotes all commands which have an equivalent operand as "Used as an
Operand". Also, see description of operands in Chapter 7.
Summary of Contents for CDS-3310
Page 26: ...18 i Chapter 2 Getting Started CDS 3310 THIS PAGE LEFT PLANK INTENTIONALLY...
Page 32: ...24 i Chapter 3 Connecting I O CDS 3310 THIS PAGE LEFT PLANK INTENTIONALLY...
Page 124: ...CDS 3310 Chapter 8 Hardware Software Protection i 63 THIS PAGE LEFT PLANK INTENTIONALLY...
Page 138: ...CDS 3310 Chapter 10 Theory of Operation i 77 THIS PAGE LEFT BLANK INTENTIONALLY...