DMC-40x0 Command Reference @OUT[n] • 181
@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:
@AN[n] Read analog input
@IN[n] Read digital input
SB Set digital output bit
CB Clear digital output bit
OF Set analog output offset
EXAMPLES:
MG @OUT[1] ;'print digital output 1
:1.0000
x = @OUT[1] ;'assign digital output 1 to a variable