
?TC1
Tell Code command
1 Unrecognized command
Returned response
There are many reasons for receiving an invalid command response. The most common reasons are: unrecognized
command (such as typographical entry or lower case), command given at improper time (such as during motion),
or a command out of range (such as exceeding maximum speed). A complete listing of all codes is listed in the TC
command in the Command Reference section.
Interrogating the Controller
Interrogation Commands
The DMC-42x0 has a set of commands that directly interrogate the controller. When the command is entered, the
requested data is returned in decimal format on the next line followed by a carriage return and line feed. The
format of the returned data can be changed using the Position Format (PF), Variable Format (VF) and Leading Zeros
(LZ) command. See Chapter 7 Application Programming and the Command Reference.
Summary of Interrogation Commands
RP
Report Command Position
RL
Report Latch
^R^V
Firmware Revision Information
SC
Stop Code
TA
Tell Amplifier Error
TB
Tell Status
TC
Tell Error Code
TD
Tell Dual Encoder
TE
Tell Error
TI
Tell Input
TP
Tell Position
TR
Trace
TS
Tell Switches
TT
Tell Torque
TV
Tell Velocity
For example, the following example illustrates how to display the current position of the X axis:
TP A
Tell position A
0
Controllers Response
TP AB
Tell position A and B
0,0
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.
Chapter 5 Command Basics ▫ 53
DMC-42x0 User Manual
Summary of Contents for DMC-42 0 Series
Page 195: ...ICM 2900 PCB Layout Appendices 191 DMC 42x0 User Manual...
Page 205: ...CB 50 100 Drawings Appendices 201 DMC 42x0 User Manual...
Page 206: ...Appendices 202 DMC 42x0 User Manual...
Page 207: ...Appendices 203 DMC 42x0 User Manual...
Page 208: ...Appendices 204 DMC 42x0 User Manual...
Page 209: ...Appendices 205 DMC 42x0 User Manual...
Page 210: ...Appendices 206 DMC 42x0 User Manual...
Page 211: ...Appendices 207 DMC 42x0 User Manual...
Page 214: ...CB 50 80 Drawing Appendices 210 DMC 42x0 User Manual...