EasyManua.ls Logo

Galil Motion Control DMC-40x0 Series - Page 19

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

Related product manuals