Galil Motion Control DMC-21 5 Series User Manual page 40

Table of Contents

Advertisement

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
?,?,?,?
PR
,?
The controller can also be interrogated with operands.
Operands
Most DMC-21x5 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'
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 "Operand Usage". Also, see
description of operands in Chapter 7 Application Programming.
Command Summary
For a complete command summary, see Command Reference manual.
https://galil.com/download/comref/com2105/index.html
Chapter 5 Command Basics ▫ 35
Request A,B,C,D values
Request B value only
where 'operand' is a valid DMC operand
DMC-21x5 User Manual 1.0a1

Advertisement

Table of Contents
loading

Table of Contents