Ti (tell inputs) – Yaskawa SMC–4000 User Manual
Page 230

220
SMC–4000 User Manual
TI (Tell Inputs)
[I/O]
DESCRIPTION:
This command returns the state of all 8 of the general digital inputs. Response is a decimal number which
when converted to binary represents the status of all 8 digital inputs.
ARGUMENTS: TI None
USAGE:
OPERAND USAGE:
_TI contains the status byte of the input block. This can be masked to return only specified bit information.
EXAMPLES:
BIT
TI
PIN
Bit 7
Input 8
20
Bit 6
Input 7
7
Bit 5
Input 6
32
Bit 4
Input 5
19
Bit 3
Input 4
6
Bit 2
Input 3
31
Bit 1
Input 2
18
Bit 0
Input 1
5
While Moving
Yes
Default Value
---
In a Program
Yes
Default Format
3.0
Command Line
Yes
Can be Interrogated
Yes
Used as an Operand
Yes
TI
08
Input 4 is high, others low (0000 1000)
TI
00
All inputs low (0000 0000)
Input =_TI
Sets the variable, Input, with the TI value
TI
255
All inputs high (1111 1111)
SAC=”TI”
Send TI command to controller on handle C
VAR=_SAC
Store the returned value to a variable