![Galil Motion Control DMC-40x0 Series Command Reference Manual Download Page 19](http://html1.mh-extra.com/html/galil-motion-control/dmc-40x0-series/dmc-40x0-series_command-reference-manual_558773019.webp)
DMC-40x0 Command Reference
( ) • 9
( )
FUNCTION:
Parentheses (order of operations)
DESCRIPTION:
The parentheses denote the order of math and logical operations. Note that the controller DOES
NOT OBEY STANDARD OPERATOR PRECEDENCE. For example, multiplication is
NOT evaluated before addition. Instead, the controller follows left-to-right precedence.
Therefore, it is recommended to use parenthesis as much as possible.
ARGUMENTS:
(n) where
n is a math (+ - * /) or logical (& |) expression
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL
RELATED COMMANDS:
Math Operators
Logical Operators
EXAMPLES:
:MG 1 + 2 * 3
9.0000
:MG 1 + (2 * 3)
7.0000
:
Summary of Contents for DMC-40x0 Series
Page 2: ......
Page 4: ......
Page 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...