Chapter 5 Command Basics; Introduction; Command Syntax - Galil Motion Control DMC-1000 User Manual

Table of Contents

Advertisement

Chapter 5 Command Basics

Introduction

The DMC-1000 provides over 100 commands for specifying motion and machine parameters.
Commands are included to initiate action, interrogate status and configure the digital filter.
The DMC-1000 instruction set is BASIC-like and easy to use. Instructions consist of two uppercase
letters that correspond phonetically with the appropriate function. For example, the instruction BG
begins motion, and ST stops the motion.
Commands can be sent "live" over the bus for immediate execution by the DMC-1000, or an entire
group of commands can be downloaded into the DMC-1000 memory for execution at a later time.
Combining commands into groups for later execution is referred to as Applications Programming and
is discussed in the following chapter.
This section describes the DMC-1000 instruction set and syntax. A summary of commands as well as
a complete listing of all DMC-1000 instructions is included in the Command Reference chapter.

Command Syntax

DMC-1000 instructions are represented by two ASCII upper case characters followed by applicable
arguments. A space may be inserted between the instruction and arguments. A semicolon or <enter>
is used to terminate the instruction for processing by the DMC-1000 command interpreter. Note: If
you are using a Galil terminal program, commands will not be processed until an <enter> command is
given. This allows the user to separate many commands on a single line and not begin execution until
the user gives the <enter> command.
IMPORTANT: All DMC-1000 commands are sent in upper case.
For example, the command
PR 4000 <enter>
PR is the two character instruction for position relative. 4000 is the argument which represents the
required position value in counts. The <enter> terminates the instruction. The space between PR and
4000 is optional.
For specifying data for the X,Y,Z and W axes, commas are used to separate the axes. If no data is
specified for an axis, a comma is still needed as shown in the examples below. If no data is specified
for an axis, the previous value is maintained. The space between the data and instruction is optional.
For controllers with 5 or more axes, the axes are referred to as A,B,C,D,E,F,G,H where X,Y,Z,W and
A,B,C,D may be used interchangeably.
The DMC-1000 provides an alternative method for specifying data. Here data is specified individually
using a single axis specifier such as X,Y,Z or W (or A,B,C,D,E,F,G or H for the DMC-1080). An
equals sign is used to assign data to that axis. For example:
DMC-1000
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Position relative
Chapter 5 Command Basics • 41

Advertisement

Table of Contents
loading

Table of Contents