Galil Motion Control manc 18x 6 Page 194
DMC-18x6 Command Reference
186
@SQR[n]
FUNCTION: Square Root
DESCRIPTION:
Takes the square root of the given number. If the number is negative, the absolute value is taken
first.
ARGUMENTS: @SQR[n] where
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:
value
EXAMPLES:
:MG @SQR[2]
1.4142
:MG @SQR[-2]
1.4142
: