Chapter 5 Command Basics; Introduction; Command Syntax - Ascii - Galil Motion Control DMC-14 5 Series Manual

Table of Contents

Advertisement

Chapter 5 Command Basics

Introduction

The DMC-14XX provides over 100 commands for specifying motion and machine parameters.
Commands are included to initiate action, interrogate status and configure the digital filter. These
commands can be sent in ASCII or binary.
In ASCII, the DMC-14XX 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. In binary, commands are represented by a
binary code ranging from 80 to FF.
ASCII commands can be sent "live" over the bus for immediate execution by the DMC-14XX, or an
entire group of commands can be downloaded into the DMC-14XX 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. Binary commands cannot be used in
Applications programming.
This section describes the DMC-14XX instruction set and syntax. A summary of commands as well as
a complete listing of all DMC-14XX instructions is included in the Command Reference.

Command Syntax - ASCII

DMC-14XX 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-14XX 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-14XX 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
length of the move in counts. The <enter> terminates the instruction. The space between PR and 4000
is optional.
When specifying data for the X and Y axes on the DMC-1425, commas are used to separate the axis'
parameters. If no data is specified for an axis, a comma is still needed as a place holder - see below. If
no data is specified for an axis, the previous value is maintained. The space between the data and
instruction is optional.
DMC-14x5/6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Position relative
TTChapter 5 Command Basics
49
i

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dmc-14 6 seriesDmc-1415Dmc-1416Dmc-1425

Table of Contents