
BA Intellidrive User’s Manual
Communication and Commands
Version 1.4
Aerotech, Inc.
3-29
EXAMPLE:
IN 25000 F10000
IN RG55 F RG45
3.5.15. IT Command
Command Syntax:
IT I
2
I
1
I
0
Wait for input to change to state I
2
I
1
I
0.
This command, when used in a program, halts
execution of the program until the inputs match the state given by “I
2
I
1
I
0
”, where
I=0,1,X (don’t care). For example, assume the following program is executing.
EXAMPLE:
IN 10000 F10000
IT X01
;Wait for Bit2 = don’t care, Bit1
= ;0, Bit0 =1
IN –100000
;index at last feedrate
After executing the first command, the BAI waits until the input is 01. Since the first
digit is a don’t care (X), only two of the three inputs must match to continue program
execution.
3.5.16. Label – Define a Label
Command Syntax:
LB label
This command defines labels in programs for branching. Branches are required for
goto (GT), gosub (GS). Conditional goto (CT) and conditional gosub (CS); only
numbers can be used as labels.
EXAMPLE:
GT 10
:
:
LB 10
IN 2000 F2000
3.5.17. Load Position Register
Command Syntax:
LD x
This command allows the user to load the position feedback with a register with an
arbitrary value (x).
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com