Ti - test input, Command, Details – Applied Motion RS-232 User Manual

Page 209: Parameter details, Examples

Advertising
background image

209

920-0002 Rev. I

2/2013

Host Command Reference

TI - Test Input

Compatibility: Q drives only
Affects:

Condition Code

See also:

QJ, TR commands

Tests a digital or analog input against the given input state. If the input is in the state the condition code is set to
“T” (true). If not the condition code is set to “F” (false). The condition code is found in read-only register ‘h’ and is
most commonly used in conditional jump (QJ) commands. The input is tested, and the jump is performed only if
that input is in a specific state.

Command

Details:

Structure

TI(Parameter #1)

Type

BUFFERED

Usage

WRITE ONLY

Non-Volatile

NO

Register Access

None

Parameter Details:

(See Appendix F: Working With Inputs and Outputs)

Examples:

Command

Drive sends

Notes

TI4L

-

Test input 4 for a low state

QJT15

-

Jump to line 15 if the previously tested input is “True”

Advertising
This manual is related to the following products: