Interrogating The Controller; Interrogation Commands; Additional Interrogation Methods - Galil Motion Control DMC-1000 User Manual

Table of Contents

Advertisement

?TC1 <enter>
1 Unrecognized command
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
list of all error codes can be found with the description of the TC command in the Command
Reference, Chapter 11.

Interrogating the Controller

The DMC-1000 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 and the Command
Reference.
Summary of Interrogation Commands
RP
RL
R
V
SC
TB
TC
TD
TE
TI
TP
TR
TS
TT
TV
For example, the following example illustrates how to display the current position of the X axis:
TP X <enter>
0000000000
TP XY <enter>
0000000000,0000000000
Most commands can be interrogated by using a question mark (?) as the axis specifier. Type the
command followed by a ? for each axis requested.
DMC-1000
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Tell Code command
Returned response

Interrogation Commands

Report Command Position
Report Latch
Firmware Revision Information
Stop Code
Tell Status
Tell Error Code
Tell Dual Encoder
Tell Error
Tell Input
Tell Position
Trace
Tell Switches
Tell Torque
Tell Velocity
Tell position X
Controllers Response
Tell position X and Y
Controllers Response

Additional Interrogation Methods.

Chapter 5 Command Basics • 43

Advertisement

Table of Contents
loading

Table of Contents