154 @OUT[n] DMC-1400 Series Comma nd Reference
@OUT[n]
FUNCTION: Read digital output
DESCRIPTION:
Returns the value of the given digital output (either 0 or 1)
ARGUMENTS: @IN[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 Read analog input
@IN 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