DMC-40x0 Command Reference
@IN[n] • 131
@IN[n]
FUNCTION:
Read digital input
DESCRIPTION:
Returns the value of the given digital input (either 0 or 1)
ARGUMENTS:
@IN[n] where
n is an unsigned integer in the range 1 to 96
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 output
Set digital output bit
Clear digital output bit
Set analog output offset
EXAMPLES:
MG @IN[1]
:1.0000
x = @IN[1]
x = ?
:1.000
print digital input 1
assign digital input 1 to a variable
query variable
Summary of Contents for DMC-40x0 Series
Page 2: ......
Page 4: ......
Page 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...