DMC-1500
Chapter 7 Application Programming
•
79
Chapter 7 Application
Programming
Overview
The DMC-1500 provides a powerful programming language that allows users to customize the
controller for their particular application. Programs can be downloaded into the DMC-1500 memory
freeing the host computer for other tasks. However, the host computer can send commands to the
controller at any time, even while a program is being executed.
In addition to standard motion commands, the DMC-1500 provides commands that allow the DMC-
1500 to make its own decisions. These commands include conditional jumps, event triggers and
subroutines. For example, the command JP#LOOP, n<10 causes a jump to the label #LOOP if the
variable n is less than 10.
For greater programming flexibility, the DMC-1500 provides user-defined variables, arrays and
arithmetic functions. For example, with a cut-to-length operation, the length can be specified as a
variable in a program which the operator can change as necessary.
The following sections in this chapter discuss all aspects of creating applications programs.
Using the DMC-1500 Editor to Enter Programs
Application programs for the DMC-1500 may be created and edited either locally using the DMC-
1500 editor or remotely using another editor and then downloading the program into the controller.
(Galil's Terminal and SDK software provides an editor and UPLOAD and DOWNLOAD utilities).
The DMC-1500 provides a line Editor for entering and modifying programs. The Edit mode is entered
with the ED instruction. The ED command can only be given when the controller is not running a
program.
In the Edit Mode, each program line is automatically numbered sequentially starting with 000. If no
parameter follows the ED command, the editor prompter will default to the last line of the program in
memory. If desired, the user can edit a specific line number or label by specifying a line number or
label following ED.
Instruction Interpretation
ED
Puts Editor at end of last program
ED 5
Puts Editor at line 5
ED #BEGIN
Puts Editor at label #BEGIN
The program memory space for the DMC-1500 is 1000 lines x 80 characters per line
Содержание DMC-1510
Страница 6: ......
Страница 18: ...6 Chapter 1 Overview DMC 1500 THIS PAGE LEFT BLANK INTENTIONALLY...
Страница 88: ...76 Chapter 6 Programming Motion DMC 1500 Figure 6 7 Motion intervals in the Home sequence...
Страница 90: ...78 Chapter 6 Programming Motion DMC 1500 THIS PAGE LEFT BLANK INTENTIONALLY...
Страница 137: ...DMC 1500 Chapter 7 Application Programming 125 THIS PAGE LEFT BLANK INTENTIONALLY...
Страница 157: ...DMC 1500 Chapter 10 Theory of Operation 145 THIS PAGE LEFT BLANK INTENTIONALLY...
Страница 160: ...148 Appendices DMC 1500 Card Level Layout...
Страница 178: ...166 Appendices DMC 1500 ICM 1100 Drawing 1 3 4 0 0 4 4 0 2 4 0 7 0 0 4 5 3 7 0 5 7 0 2 8 5 1 0 0 1 0 1 0 7 0 1 0 0...
Страница 180: ...168 Appendices DMC 1500...
Страница 198: ...186 Appendices DMC 1500 THIS PAGE LEFT BLANK INTENTIONALLY...