EasyManua.ls Logo

Galil Motion Control DMC-40x0 Series

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
Loading...
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

Related product manuals