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 #24 background imageLoading...
Page #24 background image
14 = DMC-40x0 Command Reference
=
FUNCTION: Equals (Assignment Operator)
DESCRIPTION:
The assignment operator is used for three reasons:
(1) to define and initialize a variable (x = 0) before it is used
(2) to assign a new value to a variable (x = 5)
(3) to print a variable or array element (x= which is equivalent to MG x). MG is the preferred
method of printing.
ARGUMENTS: mmmmmmmm = n where
mmmmmmmm is a variable name and n is a signed number in the range -2147483648 to
2147483647
USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format -
Command Line Yes
Controller Usage
ALL
RELATED COMMANDS:
MG Print Message
EXAMPLES:
:x=5
:x=
5.0000
:MG x
5.0000
:
;'define and initialize x to 5
;'print x two different ways

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