232
●
TI
DMC-40x0 Command Reference
TI
FUNCTION:
Tell Inputs
DESCRIPTION:
This command returns the state of the inputs including the extended I/O configured as inputs. The
value returned by this command is decimal and represents an 8 bit value (decimal value
ranges from 0 to 255). Each bit represents one input where the LSB is the lowest input
number and the MSB is the highest input bit.
ARGUMENTS:
TIn where
n = 0
Return Input Status for Inputs 1 through 8
n = 1
Return Input Status for Inputs 9 through 16
see note 1
n = 2 through 5
see note 2
where n represents the extended inputs ranging from (8*n)+1 through (8*(n+1))
n = 10 Return Input Status for Inputs 81 through 88 (auxiliary encoder inputs)
n = 11 Return Input Status for Inputs 89 through 96 (auxiliary encoder inputs)
no argument will return the Input Status for Inputs 1 through 8
n = ? returns the Input Status for Inputs 1 through 8
note 1
Applies only to controllers with more than 4 axes
note 2
These arguments only apply when using extended I/O configured as inputs
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
3.0
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_TIn contains the status byte of the input block specified by ‘n’. Note that the operand can be
masked to return only specified bit information - see section on Bit-wise operations in
Chapter 7 of the user manual.
EXAMPLES:
TI
:08
Input 4 is high, others low
TI
:00
All inputs low
Input =_TI
Sets the variable, Input, with the TI value
TI
:255
All inputs high
Содержание DMC-40x0 Series
Страница 2: ......
Страница 4: ......
Страница 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...