Galil DMC-1800 Interrogating Current Commanded Values, Operands, Command Summary, V=_Tpx

Models: DMC-1800 DMC-1700

1 253
Download 253 pages 18.39 Kb
Page 92
Image 92
Interrogating Current Commanded Values.

For example, the following example illustrates how to display the current position of the X axis:

TP X <enter>

Tell position X

0000000000

Controllers Response

TP XY <enter>

Tell position X and Y

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 X,Y,Z,W values

PR ,?

Request Y value only

The controller can also be interrogated with operands.

Operands

Most DMC-1700/1800 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 X axis can be assigned to the variable ‘V’ with the command:

V=_TPX

The Command Reference denotes all commands which have an equivalent operand as “Used as an Operand”. Also, see description of operands in Chapter 7.

Command Summary

For a complete command summary, see the Command Reference manual.

84 • Chapter 5 Command Basics

DMC-1700/1800

Page 92
Image 92
Galil DMC-1800, DMC-1700 user manual Interrogating Current Commanded Values, Operands, Command Summary, V=_Tpx