Galil Motion Control manc 18x 6 Page 161
DMC-18x6 Command Reference
153
@OUT[n]
FUNCTION: Read digital output
DESCRIPTION:
Returns the value of the given digital output (either 0 or 1)
ARGUMENTS: @OUT[n] where
n is an unsigned integer in the range 1 to 80
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL
RELATED COMMANDS:
analog
input
Read digital input
Set digital output bit
Clear digital output bit
Set analog output offset
EXAMPLES:
:MG @OUT[1] ;'print digital output 1
1.0000
:x = @OUT[1] ;'assign digital output 1 to a variable