Galil DMC-1700 Controller Response to DATA, Interrogating the Controller, Interrogation Commands

Models: DMC-1800 DMC-1700

1 253
Download 253 pages 18.39 Kb
Page 91
Image 91
Controller Response to DATA

PR

a7

AT

d2

reserved

fd

JG

a8

WT

d3

reserved

fe

MO

a9

WC

d4

reserved

ff

SH

aa

reserved

d5

 

 

 

 

 

 

 

 

Controller Response to DATA

The DMC-1700/1800 returns a : for valid commands. The DMC-1700/1800 returns a ? for invalid commands.

For example, if the command BG is sent in lower case, the DMC-1700/1800 will return a ?.

:bg <enter>

invalid command, lower case

?

DMC-1700/1800 returns a ?

When the controller receives an invalid command the user can request the error code. The error code will specify the reason for the invalid command response. To request the error code type the command: TC1 For example:

?TC1 <enter>

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-1700/1800 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

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

TI

Tell Input

 

 

TP

Tell Position

 

 

TR

Trace

 

 

TS

Tell Switches

 

 

TT

Tell Torque

 

 

TV

Tell Velocity

 

 

 

 

DMC-1700/1800

Chapter 5 Command Basics • 83

Page 91
Image 91
Galil DMC-1700, DMC-1800 user manual Controller Response to DATA, Interrogating the Controller, Interrogation Commands