NOTE:
The AI command actually halts execution of the program until the input occurs. If you do not
want to halt the program sequences, you can use the Input Interrupt function (II) or use a conditional
jump on an input, such as JP #GO,@IN[1] =1.
Instruction Interpretation
#INPUT Program
Label
AI-1
Wait for input 1 low
PR 10000
Position command
BGA Begin
motion
EN End
program
Example - Set Output when At Speed
Instruction Interpretation
#ATSPEED Program
Label
JG 50000
Specify jog speed
AC 10000
Acceleration rate
BGA Begin
motion
ASA
Wait for at slew speed 50000
SB1
Set output 1
EN
End program
Example - Change Speed along Vector Path
The following program changes the or vector speed at the specified distance along the vector. The
vector distance is measured from the start of the move or from the last AV command.
Instruction Interpretation
#VECTOR Label
VMAB;VS 5000
Coordinated path
VP 10000,20000
Vector position
VP 20000,30000
Vector position
VE End
vector
BGS Begin
sequence
AV 5000
After vector distance
VS 1000
Reduce speed
EN End
DMC-2X00
Chapter 7 Application Programming
y
131
Summary of Contents for DMC-2010
Page 18: ...THIS PAGE LEFT BLANK INTENTIONALLY 8 Chapter 1 Overview DMC 2X00...
Page 48: ...THIS PAGE LEFT BLANK INTENTIONALLY 38 Chapter 2 Getting Started DMC 2X00...
Page 78: ...THIS PAGE LEFT BLANK INTENTIONALLY 68 Chapter 5 Command Basics DMC 2X00...
Page 180: ...THIS PAGE LEFT BLANK INTENTIONALLY 170 Chapter 7 Application Programming DMC 2X00...
Page 215: ...Dimensions for DMC 2x00 DMC 2X00 Appendices y 205...