Galil COMMAND REFRENNCE DMC-1400 사용자 설명서
10 ● + - * /
DMC-1400 Series Command Reference
+ - * /
FUNCTION: Math Operators
DESCRIPTION:
The addition, subtraction, multiplication, and division operators are binary operators (they
take two arguments and return one value) used to perform mathematical operations on
variables, constants, and operands.
variables, constants, and operands.
ARGUMENTS: (n + m) or (n – m) or (n * m) or (n / m) where
n and m are signed numbers 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:
Parenthesis
EXAMPLES:
x = ((1 + (2 * 3)) / 7) - 2
;’assign -1 to x