![Galil Motion Control DMC-40x0 Series Скачать руководство пользователя страница 24](http://html1.mh-extra.com/html/galil-motion-control/dmc-40x0-series/dmc-40x0-series_command-reference-manual_558773024.webp)
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:
Message
EXAMPLES:
:x=5
:x=
5.0000
:MG x
5.0000
:
;'define and initialize x to 5
;'print x two different ways
Содержание DMC-40x0 Series
Страница 2: ......
Страница 4: ......
Страница 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...