EasyManuals Logo

Galil Motion Control DMC-40x0 Series User Manual

Default Icon
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #91 background imageLoading...
Page #91 background image
DMC-40x0 Command Reference DM • 81
DM
FUNCTION: Dimension
DESCRIPTION:
The DM command defines a single dimensional array with a name and the number of elements in
the array. The first element of the defined array starts with element number 0 and the last
element is at n-1.
ARGUMENTS: DM c[n] where
c is a name of up to eight characters, starting with an alphabetic character. n specifies the size of
the array (number of array elements).
n = ? Returns the number of array elements available.
USAGE: DEFAULTS:
While Moving Yes Default Value ---
In a Program Yes Default Format ---
Command Line Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_DM contains the available array space. For example, before any arrays have been defined, the
operand _DM will return 16000. If an array of 100 elements is defined, the operand _DM
will return 15900.
RELATED COMMANDS:
DA Deallocate Array
EXAMPLES:
DM Pets[5],Dogs[2],Cats[3] Define dimension of arrays, pets with 5 elements;
Dogs with 2 elements; Cats with 3 elements
DM Tests[1600] Define dimension of array Tests with 1600
elements

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Galil Motion Control DMC-40x0 Series and is the answer not in the manual?

Galil Motion Control DMC-40x0 Series Specifications

General IconGeneral
BrandGalil Motion Control
ModelDMC-40x0 Series
CategoryController
LanguageEnglish

Related product manuals